Pass -Dflatpak_build=true to meson when building for flatpak

This commit is contained in:
Kalev Lember 2019-06-10 10:08:16 +02:00
parent bf2baf67e5
commit 93e5c616ed

View File

@ -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