From 93e5c616edf3f18fee3536041c47797079b271d4 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Mon, 10 Jun 2019 10:08:16 +0200 Subject: [PATCH] Pass -Dflatpak_build=true to meson when building for flatpak --- devhelp.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/devhelp.spec b/devhelp.spec index 361a58d..f4f3155 100644 --- a/devhelp.spec +++ b/devhelp.spec @@ -49,7 +49,12 @@ for embedding devhelp into other applications such as IDEs. %setup -q %build -%meson -Dgtk_doc=true +%meson \ +%if 0%{?flatpak} + -Dflatpak_build=true +%endif + -Dgtk_doc=true + %meson_build %install