Pass -Dpolkit=disabled and avoid passing helper path for Flatpak

This commit is contained in:
Felipe Borges 2019-05-16 14:33:22 +02:00
parent 5769f062bd
commit ef14f5ab9a

View File

@ -123,7 +123,11 @@ gpgv2 --quiet --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0}
%{mjpegflag} \
%{celt051flag} \
%{pulseflag} \
%if 0%{?flatpak}
-Dpolkit=disabled
%else
-Dusb-acl-helper-dir=%{_libexecdir}/spice-gtk-%{_arch}/
%endif
%meson_build