diff options
Diffstat (limited to 'ImageMagick7.spec')
| -rw-r--r-- | ImageMagick7.spec | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/ImageMagick7.spec b/ImageMagick7.spec index e7664a3..017f682 100644 --- a/ImageMagick7.spec +++ b/ImageMagick7.spec @@ -33,6 +33,12 @@ %global with_jxl 0 %endif +%if 0%{?fedora} >= 43 +%global with_uhdr 1 +%else +%global with_uhdr 0 +%endif + %if 0%{?fedora} >= 36 || 0%{?rhel} >= 9 || 0%{?_with_rpmfusion:1} # from distribution or from rpmfusion, when enabled in mock config %global with_libheif 1 @@ -52,7 +58,7 @@ Name: %{libname}7 %endif Epoch: 1 Version: %{VER}.%{Patchlevel} -Release: 1%{?dist} +Release: 2%{?dist} Summary: An X application for displaying and manipulating images License: ImageMagick Url: https://imagemagick.org/ @@ -114,6 +120,9 @@ BuildRequires: pkgconfig(raqm) %if %{with_jxl} BuildRequires: pkgconfig(libjxl) >= 0.7 %endif +%if %{with_uhdr} +BuildRequires: pkgconfig(libuhdr) >= 1.3.0 +%endif %if %{with_lqr} BuildRequires: liblqr-1-devel %endif @@ -408,6 +417,11 @@ export CFLAGS="%{optflags} -DIMPNG_SETJMP_IS_THREAD_SAFE" %else --without-jxl \ %endif +%if %{with_uhdr} + --with-uhdr \ +%else + --without-uhdr \ +%endif %if %{with_jp2} --with-openjp2 \ %else @@ -606,6 +620,9 @@ fi %changelog +* Mon Feb 2 2026 Remi Collet <remi@remirepo.net> - 7.1.2-13-2 +- F43: Enable uhdr (Ultra HDR) support + * Mon Jan 19 2026 Remi Collet <remi@remirepo.net> - 7.1.2-13-1 - update to version 7.1.2 patch level 13 |
