Use host icc profile for flatpak builds

This matches what
https://github.com/flathub/org.gimp.GIMP/blob/master/org.gimp.GIMP.json
does.
This commit is contained in:
Kalev Lember 2019-11-06 12:28:47 +01:00
parent deebada78a
commit 9b1db04b62

View File

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