Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 11:34:51 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0f3f19c00cbd - main - multimedia/svt-av1: update to 2.0.0
Message-ID:  <202403141134.42EBYpvs028570@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0f3f19c00cbdd960ff4fd1edcde61151cc7a9573

commit 0f3f19c00cbdd960ff4fd1edcde61151cc7a9573
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2024-03-14 04:19:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2024-03-14 11:34:39 +0000

    multimedia/svt-av1: update to 2.0.0
    
    Changes:        https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v2.0.0
    Reported by:    Repology, /r/AV1
---
 graphics/libavif/Makefile                          |  1 +
 graphics/libheif/Makefile                          |  2 +-
 .../files/patch-libheif_plugins_encoder__svt.cc    | 24 ++++++++++++++++++++++
 multimedia/ffmpeg/Makefile                         |  2 +-
 multimedia/ffmpeg4/Makefile                        |  2 +-
 multimedia/gstreamer1-plugins-svt-av1/Makefile     |  2 +-
 multimedia/gstreamer1-plugins-svt-av1/distinfo     |  6 +++---
 multimedia/svt-av1/Makefile                        |  2 +-
 multimedia/svt-av1/distinfo                        |  6 +++---
 multimedia/svt-av1/pkg-plist                       |  4 ++--
 10 files changed, 38 insertions(+), 13 deletions(-)

diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index 977209386f27..571e02dee398 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	libavif
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.0.4
+PORTREVISION=	1
 CATEGORIES=	graphics
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/graphics/libheif/Makefile b/graphics/libheif/Makefile
index 67554516e146..d38a297862cf 100644
--- a/graphics/libheif/Makefile
+++ b/graphics/libheif/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	libheif
 DISTVERSION=	1.17.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	graphics
 MASTER_SITES=	https://github.com/strukturag/${PORTNAME}/releases/download/v${DISTVERSION}/
 
diff --git a/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc b/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc
new file mode 100644
index 000000000000..a91ed507cccd
--- /dev/null
+++ b/graphics/libheif/files/patch-libheif_plugins_encoder__svt.cc
@@ -0,0 +1,24 @@
+libheif/plugins/encoder_svt.cc:654:34: error: assigning to 'EbColorPrimaries' from incompatible type 'uint8_t' (aka 'unsigned char')
+    svt_config.color_primaries = static_cast<uint8_t>(nclx->color_primaries);
+                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+libheif/plugins/encoder_svt.cc:655:43: error: assigning to 'EbTransferCharacteristics' from incompatible type 'uint8_t' (aka 'unsigned char')
+    svt_config.transfer_characteristics = static_cast<uint8_t>(nclx->transfer_characteristics);
+                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+libheif/plugins/encoder_svt.cc:656:38: error: assigning to 'EbMatrixCoefficients' from incompatible type 'uint8_t' (aka 'unsigned char')
+    svt_config.matrix_coefficients = static_cast<uint8_t>(nclx->matrix_coefficients);
+                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+libheif/plugins/encoder_svt.cc:657:30: error: assigning to 'EbColorRange' from incompatible type 'int'
+    svt_config.color_range = nclx->full_range_flag ? 1 : 0;
+                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+--- libheif/plugins/encoder_svt.cc.orig	2023-12-20 10:31:30 UTC
++++ libheif/plugins/encoder_svt.cc
+@@ -645,7 +645,7 @@ struct heif_error svt_encode_image(void* encoder_raw, 
+ 
+   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);
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 6a903c9b83d4..9473620aaca2 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ffmpeg
 PORTVERSION=	6.1.1
-PORTREVISION=	4
+PORTREVISION=	5
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio net
 MASTER_SITES=	https://ffmpeg.org/releases/
diff --git a/multimedia/ffmpeg4/Makefile b/multimedia/ffmpeg4/Makefile
index 711be1c69a06..f6dda8d1dbd3 100644
--- a/multimedia/ffmpeg4/Makefile
+++ b/multimedia/ffmpeg4/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	ffmpeg
 PORTVERSION=	4.4.4
-PORTREVISION=	11
+PORTREVISION=	12
 CATEGORIES=	multimedia audio net
 MASTER_SITES=	https://ffmpeg.org/releases/
 PKGNAMESUFFIX=	4
diff --git a/multimedia/gstreamer1-plugins-svt-av1/Makefile b/multimedia/gstreamer1-plugins-svt-av1/Makefile
index 9344ba4a31fd..646eb94053ff 100644
--- a/multimedia/gstreamer1-plugins-svt-av1/Makefile
+++ b/multimedia/gstreamer1-plugins-svt-av1/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	svt-av1
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.0
+DISTVERSION=	2.0.0
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	gstreamer1-plugins-
 
diff --git a/multimedia/gstreamer1-plugins-svt-av1/distinfo b/multimedia/gstreamer1-plugins-svt-av1/distinfo
index c4ee7a7094b6..63b0f031da0a 100644
--- a/multimedia/gstreamer1-plugins-svt-av1/distinfo
+++ b/multimedia/gstreamer1-plugins-svt-av1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702557183
-SHA256 (SVT-AV1-v1.8.0.tar.bz2) = 41c7183be99a2c72656b15fba4005e46c998cd346418503ed296c5abe6482e47
-SIZE (SVT-AV1-v1.8.0.tar.bz2) = 9585789
+TIMESTAMP = 1710389988
+SHA256 (SVT-AV1-v2.0.0.tar.bz2) = f9c076c377e504be15e195db8dd36d91233bc37cb8e82530382f38bc1926df02
+SIZE (SVT-AV1-v2.0.0.tar.bz2) = 9565222
diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile
index 90197bb816f8..e730798cc3a5 100644
--- a/multimedia/svt-av1/Makefile
+++ b/multimedia/svt-av1/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	svt-av1
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.8.0
+DISTVERSION=	2.0.0
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/multimedia/svt-av1/distinfo b/multimedia/svt-av1/distinfo
index c4ee7a7094b6..63b0f031da0a 100644
--- a/multimedia/svt-av1/distinfo
+++ b/multimedia/svt-av1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1702557183
-SHA256 (SVT-AV1-v1.8.0.tar.bz2) = 41c7183be99a2c72656b15fba4005e46c998cd346418503ed296c5abe6482e47
-SIZE (SVT-AV1-v1.8.0.tar.bz2) = 9585789
+TIMESTAMP = 1710389988
+SHA256 (SVT-AV1-v2.0.0.tar.bz2) = f9c076c377e504be15e195db8dd36d91233bc37cb8e82530382f38bc1926df02
+SIZE (SVT-AV1-v2.0.0.tar.bz2) = 9565222
diff --git a/multimedia/svt-av1/pkg-plist b/multimedia/svt-av1/pkg-plist
index 390216345d6f..9a3cbdc08712 100644
--- a/multimedia/svt-av1/pkg-plist
+++ b/multimedia/svt-av1/pkg-plist
@@ -12,7 +12,7 @@ lib/libSvtAv1Dec.so
 lib/libSvtAv1Dec.so.0
 lib/libSvtAv1Dec.so.0.8.7
 lib/libSvtAv1Enc.so
-lib/libSvtAv1Enc.so.1
-lib/libSvtAv1Enc.so.1.8.0
+lib/libSvtAv1Enc.so.2
+lib/libSvtAv1Enc.so.2.0.0
 libdata/pkgconfig/SvtAv1Dec.pc
 libdata/pkgconfig/SvtAv1Enc.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403141134.42EBYpvs028570>