[packages/ImageMagick/dev-7.1.0] The jxl codec needs libjxl 0.7.0, so disabled bcond
glen
glen at pld-linux.org
Mon Feb 6 15:17:31 CET 2023
commit cf6338c2e9a7520ac6cf0196881676374aa47483
Author: Elan Ruusamäe <glen at pld-linux.org>
Date: Mon Feb 6 16:17:06 2023 +0200
The jxl codec needs libjxl 0.7.0, so disabled bcond
ImageMagick.spec | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/ImageMagick.spec b/ImageMagick.spec
index b4c88ef..9d0138e 100644
--- a/ImageMagick.spec
+++ b/ImageMagick.spec
@@ -16,7 +16,7 @@
%bcond_without fpx # FlashPIX module (which uses fpx library)
%bcond_without flif # FLIF (Free Lossless Image Format) module (which uses flif library)
%bcond_without graphviz # dot module (which uses GraphViz libraries)
-%bcond_without libjxl # JPEG-XL module (not ready for 0.6)
+%bcond_with libjxl # JPEG-XL module (not ready for 0.6)
%bcond_without openjpeg # JPEG2000 module (which uses openjpeg 2 library)
%bcond_without wmf # WMF module (which uses libwmf library)
# - module features:
@@ -73,7 +73,7 @@ BuildRequires: lcms2-devel >= 2.0
%{?with_openmp:BuildRequires: libgomp-devel}
BuildRequires: libheif-devel
BuildRequires: libjpeg-devel >= 6b
-%{?with_libjxl:BuildRequires: libjxl-devel >= 0.6.1}
+%{?with_libjxl:BuildRequires: libjxl-devel >= 0.7.0}
BuildRequires: liblqr-devel >= 0.1.0
BuildRequires: libltdl-devel
BuildRequires: libpng-devel >= %{libpng_ver}
@@ -1191,7 +1191,6 @@ rm -rf $RPM_BUILD_ROOT
%{modulesdir}/coders/jp2.la
%endif
-%if 0
%if %{with libjxl}
%files coder-jxl
%defattr(644,root,root,755)
@@ -1199,7 +1198,6 @@ rm -rf $RPM_BUILD_ROOT
%attr(755,root,root) %{modulesdir}/coders/jxl.so
%{modulesdir}/coders/jxl.la
%endif
-%endif
%files coder-miff
%defattr(644,root,root,755)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ImageMagick.git/commitdiff/cf6338c2e9a7520ac6cf0196881676374aa47483
More information about the pld-cvs-commit
mailing list