summaryrefslogtreecommitdiffstats
path: root/gd.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-03-08 11:24:40 +0100
committerRemi Collet <remi@remirepo.net>2021-03-08 11:24:40 +0100
commit30b9130ae67b7c64023ddb39ae7b4aad8023c1fa (patch)
tree4f2cc5a5b04e8faa82b66e5d54bb8bd30154ef7d /gd.spec
parent53685ad6d70e52e30671d553c97555c46f4406ad (diff)
update to 2.3.2
open https://github.com/libgd/libgd/issues/677 avif test failure open https://github.com/libgd/libgd/issues/678 heif segfault
Diffstat (limited to 'gd.spec')
-rw-r--r--gd.spec37
1 files changed, 33 insertions, 4 deletions
diff --git a/gd.spec b/gd.spec
index 1c754f6..e354dec 100644
--- a/gd.spec
+++ b/gd.spec
@@ -15,6 +15,17 @@
%bcond_without webp
%bcond_without raqm
+%if 0%{?fedora} >= 33
+# See https://github.com/libgd/libgd/issues/677 - avif test failure
+%bcond_with avif
+%else
+%bcond_with avif
+%endif
+
+# Disabled as only in rpmfusion
+# Also see https://github.com/libgd/libgd/issues/678 - heif segfault
+%bcond_with heif
+
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
%bcond_without liq
%else
@@ -32,7 +43,7 @@ Name: gd
%else
Name: gd-last
%endif
-Version: 2.3.1
+Version: 2.3.2
Release: 1%{?prever}%{?short}%{?dist}
License: MIT
URL: http://libgd.github.io/
@@ -65,6 +76,12 @@ BuildRequires: libimagequant-devel
%if %{with raqm}
BuildRequires: libraqm-devel
%endif
+%if %{with avif}
+BuildRequires: libavif-devel
+%endif
+%if %{with heif}
+BuildRequires: libheif-devel
+%endif
BuildRequires: libX11-devel
BuildRequires: libXpm-devel
BuildRequires: zlib-devel
@@ -75,9 +92,6 @@ BuildRequires: perl-generators
BuildRequires: perl(FindBin)
# for fontconfig/basic test
BuildRequires: liberation-sans-fonts
-%if 0%{?fedora} >= 29
-BuildRequires: libimagequant-devel
-%endif
%if "%{name}" != "gd-last"
Obsoletes: gd-last <= %{version}
@@ -179,6 +193,16 @@ export CFLAGS="$CFLAGS -ffp-contract=off"
%configure \
--with-tiff=%{_prefix} \
+%if %{with avif}
+ --with-avif \
+%else
+ --without-avif \
+%endif
+%if %{with heif}
+ --with-heif \
+%else
+ --without-heif \
+%endif
--disable-rpath
make %{?_smp_mflags}
@@ -229,6 +253,11 @@ grep %{version} $RPM_BUILD_ROOT%{_libdir}/pkgconfig/gdlib.pc
%changelog
+* Mon Mar 8 2021 Remi Collet <remi@remirepo.net> - 2.3.2-1
+- update to 2.3.2
+- open https://github.com/libgd/libgd/issues/677 avif test failure
+- open https://github.com/libgd/libgd/issues/678 heif segfault
+
* Thu Feb 4 2021 Remi Collet <remi@remirepo.net> - 2.3.1-1
- update to 2.3.1 in sync with Fedora