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
This commit is contained in:
Petr Gajdos 2021-03-29 06:23:10 +00:00 committed by Git OBS Bridge
parent b26db5a24a
commit 69b4a7b01d
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 26 14:17:24 UTC 2021 - Andreas Schneider <asn@cryptomilk.org>
- Enable AVIF support
-------------------------------------------------------------------
Mon Mar 8 19:59:24 UTC 2021 - Matthias Eliasson <elimat@opensuse.org>

View File

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