]> git.pld-linux.org Git - packages/ImageMagick.git/commitdiff
The jxl codec needs libjxl 0.7.0, so disabled bcond
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 6 Feb 2023 14:17:06 +0000 (16:17 +0200)
committerElan Ruusamäe <glen@pld-linux.org>
Mon, 6 Feb 2023 14:17:06 +0000 (16:17 +0200)
ImageMagick.spec

index b4c88ef6dab0425e4b3ceb46629a0cafa99a76bb..9d0138ec6b67964172013f246868160c909bbd7a 100644 (file)
@@ -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)
This page took 0.41208 seconds and 4 git commands to generate.