From fa3b84d61261867b40c3a9094b5ad51439be1746 Mon Sep 17 00:00:00 2001 From: Octavian Alexandru Butiu Date: Wed, 19 Mar 2025 22:14:24 +0200 Subject: [PATCH] port: Fix build error when building in a flatpak If you create a project with gnome builder and port it blueprint and try to build it in flatpak you will get a compiler error that /org/gnome/Example/window.ui. Setting the source_dir variable in meson fixes this. --- blueprintcompiler/interactive_port.py | 1 + 1 file changed, 1 insertion(+) diff --git a/blueprintcompiler/interactive_port.py b/blueprintcompiler/interactive_port.py index 0c37885..26d8e2a 100644 --- a/blueprintcompiler/interactive_port.py +++ b/blueprintcompiler/interactive_port.py @@ -266,6 +266,7 @@ blueprints = custom_target('blueprints', arguments in {Colors.UNDERLINE}{meson_file}{Colors.NO_UNDERLINE}:{Colors.CLEAR} dependencies: blueprints, +source_dir: meson.current_build_dir(), """ ) enter()