From 69b4a7b01d69d750fa60bf7e97d5db21e674a8fd0a1ab1ca8d60d6310a35748f Mon Sep 17 00:00:00 2001 From: Petr Gajdos Date: Mon, 29 Mar 2021 06:23:10 +0000 Subject: [PATCH] Accepting request 881525 from home:gladiac:branches:graphics - Enable AVIF support OBS-URL: https://build.opensuse.org/request/show/881525 OBS-URL: https://build.opensuse.org/package/show/graphics/gd?expand=0&rev=66 --- gd.changes | 5 +++++ gd.spec | 6 ++++++ 2 files changed, 11 insertions(+) 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