diff --git a/gd.changes b/gd.changes index 5e253b7..f1b455a 100644 --- a/gd.changes +++ b/gd.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Mar 26 14:17:24 UTC 2021 - Andreas Schneider + +- Enable AVIF support + ------------------------------------------------------------------- Mon Mar 8 19:59:24 UTC 2021 - Matthias Eliasson diff --git a/gd.spec b/gd.spec index 2edac8d..aad2878 100644 --- a/gd.spec +++ b/gd.spec @@ -39,6 +39,9 @@ BuildRequires: libpng-devel BuildRequires: pkgconfig BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 +BuildRequires: pkgconfig(libavif) +%endif BuildRequires: pkgconfig(libtiff-4) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(xpm) @@ -104,6 +107,9 @@ export CFLAGS="%{optflags} -ffp-contract=off" --with-png \ --with-xpm \ --with-webp \ +%if 0%{?suse_version} >= 1550 || 0%{?sle_version} > 150300 + --with-avif \ +%endif --with-zlib \ --disable-static %make_build