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:
6
gd.spec
6
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
|
||||
|
Reference in New Issue
Block a user