From 45206021b26457f9d2d1471a91304681cdf678cc Mon Sep 17 00:00:00 2001 From: Kalev Lember Date: Oct 22 2020 09:08:07 +0000 Subject: Disable avif support for flatpak builds F33 doesn't have all the packages in the build root to rebuild rust-rav1e for flatpak. This should hopefully get fixed for F34 with https://fedoraproject.org/wiki/Changes/Rust_Crate_Packages_For_Release_Branches --- diff --git a/darktable.spec b/darktable.spec index 9b42a4c..43c4978 100644 --- a/darktable.spec +++ b/darktable.spec @@ -64,7 +64,7 @@ BuildRequires: lcms2-devel BuildRequires: lensfun-devel BuildRequires: libappstream-glib # libavif is not available in EPEL 8 -%if ((0%{?el} > 8) || (0%{?fedora} >= 33)) +%if ((0%{?el} > 8) || (0%{?fedora} >= 33)) && !0%{?flatpak} BuildRequires: cmake(libavif) %endif BuildRequires: libcurl-devel >= 7.18.0