diff options
| author | Remi Collet <remi@remirepo.net> | 2026-03-18 14:20:04 +0100 |
|---|---|---|
| committer | Remi Collet <remi@php.net> | 2026-03-18 14:20:04 +0100 |
| commit | 531c7388817a5f4d61038bc70554aec5897803c0 (patch) | |
| tree | 2f2b5d177ee9cc78b024669f6ce8494fa36adc62 /vips.spec | |
| parent | 149717a4339a60c8d68cc490459981bd3ed7f8e9 (diff) | |
enable UHDR support on Fedora 43+
Diffstat (limited to 'vips.spec')
| -rw-r--r-- | vips.spec | 24 |
1 files changed, 19 insertions, 5 deletions
@@ -8,7 +8,7 @@ # Please preserve changelog entries # %global vips_version_base 8.18 -%global vips_version %{vips_version_base}.0 +%global vips_version %{vips_version_base}.1 %global vips_soname_major 42 #global vips_prever rc3 %global vips_tagver %{vips_version}%{?vips_prever:-%{vips_prever}} @@ -36,6 +36,12 @@ %bcond_without openjpeg2 %bcond_without libraw +%if 0%{?fedora} >= 43 +%bcond_without libuhdr +%else +%bcond_with libuhdr +%endif + %if 0%{?fedora} || 0%{?rhel} >= 9 %bcond_without imath %else @@ -65,15 +71,13 @@ Name: vips Version: %{vips_version}%{?vips_prever:~%{vips_prever}} -Release: 2%{?dist} +Release: 1%{?dist} Summary: C/C++ library for processing large images License: LGPL-2.1-or-later URL: https://www.libvips.org/ Source0: https://github.com/libvips/libvips/releases/download/v%{vips_tagver}/vips-%{vips_tagver}.tar.xz -Patch0: build.patch - BuildRequires: gcc BuildRequires: gcc-c++ # see https://github.com/libvips/libvips/issues/4558 @@ -129,6 +133,9 @@ BuildRequires: pkgconfig(cgif) %if %{with libraw} BuildRequires: pkgconfig(libraw) >= 0.14 %endif +%if %{with libuhdr} +BuildRequires: pkgconfig(libuhdr) +%endif %if %{with tests} # bc command used in test suite BuildRequires: bc @@ -318,7 +325,6 @@ exit 1 %endif %setup -q -n vips-%{vips_version} -%patch -P0 -p1 cat << 'EOF' | tee DOC_README @@ -413,7 +419,11 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" %else -Draw=disabled \ %endif +%if %{with libuhdr} + -Duhdr=enabled \ +%else -Duhdr=disabled \ +%endif -Dpdfium=disabled \ %{nil} @@ -495,6 +505,10 @@ export CXXFLAGS="%{optflags} -ftree-vectorize" %changelog +* Wed Mar 18 2026 Remi Collet <remi@remirepo.net> - 8.18.1-1 +- update to 8.18.1 +- enable UHDR support on Fedora 43+ + * Fri Feb 13 2026 Remi Collet <remi@remirepo.net> - 8.18.0-2 - add upstream patch fixing build with GCC 16 |
