From 2d33292c84fb189ce2901505fa739b352c811c09 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Thu, 4 Jun 2020 13:16:38 +0200 Subject: [PATCH] Fix flatpak build --- evince.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/evince.spec b/evince.spec index a17abdd..17e3aa4 100644 --- a/evince.spec +++ b/evince.spec @@ -127,7 +127,11 @@ It adds an additional tab called "Document" to the file properties dialog. %if 0%{?fedora} || 0%{?rhel} > 7 -Dcomics=enabled \ %endif +%if 0%{?flatpak} + -Ddvi=disabled \ +%else -Ddvi=enabled \ +%endif %if 0%{?fedora} -Ddjvu=enabled \ %endif @@ -135,7 +139,7 @@ It adds an additional tab called "Document" to the file properties dialog. -Dt1lib=disabled \ %if 0%{?flatpak} -Dsystemduserunitdir=no \ - -Dnautilus=disabled \ + -Dnautilus=false \ %endif -Dps=enabled %meson_build