diff --git a/libheif-1.17.6-svt-av1-2.0.0.patch b/libheif-1.17.6-svt-av1-2.0.0.patch deleted file mode 100644 index e3f3374..0000000 --- a/libheif-1.17.6-svt-av1-2.0.0.patch +++ /dev/null @@ -1,22 +0,0 @@ -From a911b26a902c5f89fee2dc20ac4dfaafcb8144ec Mon Sep 17 00:00:00 2001 -From: Andrey Semashev -Date: Fri, 15 Mar 2024 17:46:48 +0300 -Subject: [PATCH] Fix compilation with libsvtav1 2.0.0. - ---- - libheif/plugins/encoder_svt.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/libheif/plugins/encoder_svt.cc b/libheif/plugins/encoder_svt.cc -index 4597d7b8fc..1ff3bce2d5 100644 ---- a/libheif/plugins/encoder_svt.cc -+++ b/libheif/plugins/encoder_svt.cc -@@ -646,7 +646,7 @@ struct heif_error svt_encode_image(void* encoder_raw, const struct heif_image* i - - if (nclx) { - svt_config.color_description_present_flag = true; --#if SVT_AV1_VERSION_MAJOR == 1 -+#if SVT_AV1_VERSION_MAJOR >= 1 - svt_config.color_primaries = static_cast(nclx->color_primaries); - svt_config.transfer_characteristics = static_cast(nclx->transfer_characteristics); - svt_config.matrix_coefficients = static_cast(nclx->matrix_coefficients); diff --git a/libheif.spec b/libheif.spec index 2eec3d1..dcc45ea 100644 --- a/libheif.spec +++ b/libheif.spec @@ -1,6 +1,6 @@ Name: libheif -Version: 1.17.6 -Release: 2mamba +Version: 1.18.1 +Release: 1mamba Summary: An HEIF and AVIF file format decoder and encoder Group: System/Libraries Vendor: openmamba @@ -8,7 +8,6 @@ Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/strukturag/libheif Source: https://github.com/strukturag/libheif.git/v%{version}/libheif-%{version}.tar.bz2 -Patch0: libheif-1.17.6-svt-av1-2.0.0.patch License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -23,6 +22,7 @@ BuildRequires: libpng-devel BuildRequires: librav1e-devel BuildRequires: libstdc++6-devel BuildRequires: libsvt-av1-devel +BuildRequires: libtiff-devel BuildRequires: libwebp-devel BuildRequires: libx265-devel BuildRequires: libz-devel @@ -56,7 +56,6 @@ This package contains utility applications for %{name}. %prep %setup -q -%patch 0 -p1 -b .svt-av1-2.0.0 %build %cmake -d build \ @@ -97,16 +96,17 @@ This package contains utility applications for %{name}. %files tools %defattr(-,root,root) -%{_bindir}/heif-convert +%{_bindir}/heif-dec %{_bindir}/heif-enc %{_bindir}/heif-info %{_bindir}/heif-thumbnailer -#%{_datadir}/mime/packages/avif.xml -#%{_datadir}/mime/packages/heif.xml %{_datadir}/thumbnailers/heif.thumbnailer %{_mandir}/man1/heif-*.1* %changelog +* Tue Jul 23 2024 Automatic Build System 1.18.1-1mamba +- automatic version update by autodist + * Fri May 03 2024 Automatic Build System 1.17.6-2mamba - rebuilt by autoport with build requirements: libsvt-av1-devel>=2.0.0-1mamba