rebuilt by autoport with build requirements: libsvt-av1-devel>=2.0.0-1mamba [release 1.17.6-2mamba;Fri May 03 2024]
This commit is contained in:
parent
851ce16b49
commit
6383e6602b
22
libheif-1.17.6-svt-av1-2.0.0.patch
Normal file
22
libheif-1.17.6-svt-av1-2.0.0.patch
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
From a911b26a902c5f89fee2dc20ac4dfaafcb8144ec Mon Sep 17 00:00:00 2001
|
||||||
|
From: Andrey Semashev <Lastique@users.noreply.github.com>
|
||||||
|
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<EbColorPrimaries>(nclx->color_primaries);
|
||||||
|
svt_config.transfer_characteristics = static_cast<EbTransferCharacteristics>(nclx->transfer_characteristics);
|
||||||
|
svt_config.matrix_coefficients = static_cast<EbMatrixCoefficients>(nclx->matrix_coefficients);
|
@ -1,6 +1,6 @@
|
|||||||
Name: libheif
|
Name: libheif
|
||||||
Version: 1.17.6
|
Version: 1.17.6
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: An HEIF and AVIF file format decoder and encoder
|
Summary: An HEIF and AVIF file format decoder and encoder
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -8,6 +8,7 @@ Distribution: openmamba
|
|||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: https://github.com/strukturag/libheif
|
URL: https://github.com/strukturag/libheif
|
||||||
Source: https://github.com/strukturag/libheif.git/v%{version}/libheif-%{version}.tar.bz2
|
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
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
@ -26,7 +27,9 @@ BuildRequires: libwebp-devel
|
|||||||
BuildRequires: libx265-devel
|
BuildRequires: libx265-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: libsvt-av1-devel >= 2.0.0-1mamba
|
||||||
BuildRequires: librav1e-devel
|
BuildRequires: librav1e-devel
|
||||||
|
BuildRequires: libx265-devel >= 3.6
|
||||||
BuildRequires: cmake
|
BuildRequires: cmake
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,6 +56,7 @@ This package contains utility applications for %{name}.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch 0 -p1 -b .svt-av1-2.0.0
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake -d build \
|
%cmake -d build \
|
||||||
@ -103,6 +107,9 @@ This package contains utility applications for %{name}.
|
|||||||
%{_mandir}/man1/heif-*.1*
|
%{_mandir}/man1/heif-*.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 03 2024 Automatic Build System <autodist@mambasoft.it> 1.17.6-2mamba
|
||||||
|
- rebuilt by autoport with build requirements: libsvt-av1-devel>=2.0.0-1mamba
|
||||||
|
|
||||||
* Wed Dec 20 2023 Automatic Build System <autodist@mambasoft.it> 1.17.6-1mamba
|
* Wed Dec 20 2023 Automatic Build System <autodist@mambasoft.it> 1.17.6-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user