Fix flatpak build

This commit is contained in:
Kalev Lember 2020-06-04 13:16:38 +02:00
parent f94452f884
commit 2d33292c84

View File

@ -127,7 +127,11 @@ It adds an additional tab called "Document" to the file properties dialog.
%if 0%{?fedora} || 0%{?rhel} > 7 %if 0%{?fedora} || 0%{?rhel} > 7
-Dcomics=enabled \ -Dcomics=enabled \
%endif %endif
%if 0%{?flatpak}
-Ddvi=disabled \
%else
-Ddvi=enabled \ -Ddvi=enabled \
%endif
%if 0%{?fedora} %if 0%{?fedora}
-Ddjvu=enabled \ -Ddjvu=enabled \
%endif %endif
@ -135,7 +139,7 @@ It adds an additional tab called "Document" to the file properties dialog.
-Dt1lib=disabled \ -Dt1lib=disabled \
%if 0%{?flatpak} %if 0%{?flatpak}
-Dsystemduserunitdir=no \ -Dsystemduserunitdir=no \
-Dnautilus=disabled \ -Dnautilus=false \
%endif %endif
-Dps=enabled -Dps=enabled
%meson_build %meson_build