From 9b1db04b62018da92e235f0c590e4bc977b90ea2 Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Wed, 6 Nov 2019 12:28:47 +0100 Subject: [PATCH] Use host icc profile for flatpak builds This matches what https://github.com/flathub/org.gimp.GIMP/blob/master/org.gimp.GIMP.json does. --- gimp.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gimp.spec b/gimp.spec index ec53ab9..9249ec4 100644 --- a/gimp.spec +++ b/gimp.spec @@ -374,6 +374,9 @@ export RHEL_ALLOW_PYTHON2_FOR_BUILD=1 --enable-default-binary=no \ %endif --with-libmng --with-libxpm --with-alsa --with-cairo-pdf \ +%if 0%{?flatpak} + --with-icc-directory=/run/host/usr/share/color/icc/ \ +%endif --without-appdata-test make %{?_smp_mflags}