git: 4ea811b4ac38 - 2022Q2 - multimedia/svt-av1: update to 1.0.0.r2

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Fri, 22 Apr 2022 23:12:44 UTC
The branch 2022Q2 has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4ea811b4ac38377df15874c9ae224d4b1c0b1579

commit 4ea811b4ac38377df15874c9ae224d4b1c0b1579
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-03-30 14:27:30 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-04-22 23:12:14 +0000

    multimedia/svt-av1: update to 1.0.0.r2
    
    Changes:        https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.0.0-rc1
    Changes:        https://gitlab.com/AOMediaCodec/SVT-AV1/-/releases/v1.0.0-rc2
    Reported by:    Repology
    
    (cherry picked from commit 152bbb33232bb1b74338ea96f6a4732469f0ed0c)
---
 graphics/libavif/Makefile                      |  2 +-
 multimedia/ab-av1/Makefile                     |  1 +
 multimedia/ffmpeg/Makefile                     |  1 +
 multimedia/gstreamer1-plugins-svt-av1/Makefile |  4 ++--
 multimedia/gstreamer1-plugins-svt-av1/distinfo |  6 +++---
 multimedia/svt-av1/Makefile                    |  8 ++-----
 multimedia/svt-av1/distinfo                    |  8 +++----
 multimedia/svt-av1/files/patch-i386            | 29 --------------------------
 multimedia/svt-av1/pkg-plist                   |  4 ++--
 9 files changed, 15 insertions(+), 48 deletions(-)

diff --git a/graphics/libavif/Makefile b/graphics/libavif/Makefile
index b71f203fc334..96e2a7128d6e 100644
--- a/graphics/libavif/Makefile
+++ b/graphics/libavif/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	libavif
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	graphics
 
 PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
diff --git a/multimedia/ab-av1/Makefile b/multimedia/ab-av1/Makefile
index 1bac9b0e2103..cfda3a970fa2 100644
--- a/multimedia/ab-av1/Makefile
+++ b/multimedia/ab-av1/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	ab-av1
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.3.1
+PORTREVISION=	1
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 765ec58b8f61..b570f016d5c4 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	ffmpeg
 PORTVERSION=	4.4.2
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio net
 MASTER_SITES=	https://ffmpeg.org/releases/
diff --git a/multimedia/gstreamer1-plugins-svt-av1/Makefile b/multimedia/gstreamer1-plugins-svt-av1/Makefile
index 954f726baedd..d7d2d1397357 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=	0.9.1
+DISTVERSION=	1.0.0-rc2
 CATEGORIES=	multimedia
 PKGNAMEPREFIX=	gstreamer1-plugins-
 
@@ -18,7 +18,7 @@ USE_GNOME=	glib20
 USE_GSTREAMER1=	yes
 GL_ACCOUNT=	AOMediaCodec
 GL_PROJECT=	SVT-AV1
-GL_COMMIT=	9e32f42e90f174d4a4263037d5db8800c8813862
+GL_COMMIT=	a508cd5386ecf6de8cf2c47a27a3168bcce52907
 WRKSRC_SUBDIR=	gstreamer-plugin
 PLIST_FILES=	lib/gstreamer-1.0/libgstsvtav1enc.so
 
diff --git a/multimedia/gstreamer1-plugins-svt-av1/distinfo b/multimedia/gstreamer1-plugins-svt-av1/distinfo
index 189febabd4e5..5824594a8c28 100644
--- a/multimedia/gstreamer1-plugins-svt-av1/distinfo
+++ b/multimedia/gstreamer1-plugins-svt-av1/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1645669053
-SHA256 (AOMediaCodec-SVT-AV1-9e32f42e90f174d4a4263037d5db8800c8813862_GL0.tar.gz) = 6061d4ec1e28e5be5a172f4953a8e05e5c8de2fbe220caa22f23795de7f3a2ce
-SIZE (AOMediaCodec-SVT-AV1-9e32f42e90f174d4a4263037d5db8800c8813862_GL0.tar.gz) = 9724301
+TIMESTAMP = 1649871846
+SHA256 (AOMediaCodec-SVT-AV1-a508cd5386ecf6de8cf2c47a27a3168bcce52907_GL0.tar.gz) = 69bd3dbe4ba99925bcc128e53dc49716e215c1891ecbac1ffba6943fd7607980
+SIZE (AOMediaCodec-SVT-AV1-a508cd5386ecf6de8cf2c47a27a3168bcce52907_GL0.tar.gz) = 9846607
diff --git a/multimedia/svt-av1/Makefile b/multimedia/svt-av1/Makefile
index 0647c9a75b76..f1da7def4b3e 100644
--- a/multimedia/svt-av1/Makefile
+++ b/multimedia/svt-av1/Makefile
@@ -1,12 +1,8 @@
 PORTNAME=	svt-av1
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.9.1
-PORTREVISION=	1
+DISTVERSION=	1.0.0-rc2
 CATEGORIES=	multimedia
 
-PATCH_SITES=	${GL_SITE}/${GL_ACCOUNT}/${GL_PROJECT}/-/commit/
-PATCHFILES+=	af222120c8cf.patch:-p1 # https://gitlab.com/AOMediaCodec/SVT-AV1/-/merge_requests/1843
-
 MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Scalable AV1 encoder
 
@@ -24,7 +20,7 @@ USE_GITLAB=	yes
 USE_LDCONFIG=	yes
 GL_ACCOUNT=	AOMediaCodec
 GL_PROJECT=	SVT-AV1
-GL_COMMIT=	9e32f42e90f174d4a4263037d5db8800c8813862
+GL_COMMIT=	a508cd5386ecf6de8cf2c47a27a3168bcce52907
 CMAKE_ON=	ENABLE_NASM
 CMAKE_OFF=	NATIVE
 
diff --git a/multimedia/svt-av1/distinfo b/multimedia/svt-av1/distinfo
index 66e5a1210b2c..5824594a8c28 100644
--- a/multimedia/svt-av1/distinfo
+++ b/multimedia/svt-av1/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1645669053
-SHA256 (AOMediaCodec-SVT-AV1-9e32f42e90f174d4a4263037d5db8800c8813862_GL0.tar.gz) = 6061d4ec1e28e5be5a172f4953a8e05e5c8de2fbe220caa22f23795de7f3a2ce
-SIZE (AOMediaCodec-SVT-AV1-9e32f42e90f174d4a4263037d5db8800c8813862_GL0.tar.gz) = 9724301
-SHA256 (af222120c8cf.patch) = 7f656d27e979dd7136f9db134385679f1474007bff9734970381875c25eaa578
-SIZE (af222120c8cf.patch) = 1295
+TIMESTAMP = 1649871846
+SHA256 (AOMediaCodec-SVT-AV1-a508cd5386ecf6de8cf2c47a27a3168bcce52907_GL0.tar.gz) = 69bd3dbe4ba99925bcc128e53dc49716e215c1891ecbac1ffba6943fd7607980
+SIZE (AOMediaCodec-SVT-AV1-a508cd5386ecf6de8cf2c47a27a3168bcce52907_GL0.tar.gz) = 9846607
diff --git a/multimedia/svt-av1/files/patch-i386 b/multimedia/svt-av1/files/patch-i386
deleted file mode 100644
index b4dac76bd4ab..000000000000
--- a/multimedia/svt-av1/files/patch-i386
+++ /dev/null
@@ -1,29 +0,0 @@
-https://gitlab.com/AOMediaCodec/SVT-AV1/-/issues/1231
-
-Source/Lib/Encoder/ASM_SSE2/highbd_variance_impl_sse2.asm:41: error: impossible combination of address sizes
-Source/Lib/Common/ASM_SSSE3/aom_subpixel_8t_ssse3.asm:377: error: impossible combination of address sizes
-Source/Lib/Encoder/ASM_SSE4_1/pickrst_sse4.c:511:14: warning: implicit declaration of function '_mm_insert_epi64' is invalid in C99 [-Wimplicit-function-declaration]
-    dst[0] = _mm_insert_epi64(dst[0], *(int64_t *)src, 1);
-             ^
-Source/Lib/Encoder/ASM_SSE4_1/pickrst_sse4.c:511:12: error: assigning to '__m128i' (vector of 2 'long long' values) from incompatible type 'int'
-    dst[0] = _mm_insert_epi64(dst[0], *(int64_t *)src, 1);
-           ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-In file included from Source/Lib/Encoder/ASM_AVX2/pickrst_avx2.c:20:
-Source/Lib/Encoder/ASM_AVX2/pickrst_avx2.h:393:12: warning: implicit declaration of function '_mm256_insert_epi64' is invalid in C99 [-Wimplicit-function-declaration]
-    *dst = _mm256_insert_epi64(*dst, *(int64_t *)src, 1);
-           ^
-Source/Lib/Encoder/ASM_AVX2/pickrst_avx2.h:393:10: error: assigning to '__m256i' (vector of 4 'long long' values) from incompatible type 'int'
-    *dst = _mm256_insert_epi64(*dst, *(int64_t *)src, 1);
-         ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
---- CMakeLists.txt.orig	2021-05-08 09:05:00 UTC
-+++ CMakeLists.txt
-@@ -42,7 +42,7 @@ check_c_source_compiles("
- include(CheckCSourceCompiles)
- 
- check_c_source_compiles("
--#if defined(_M_IX86) || defined(_M_X64) || defined(__i386__) || defined(__x86_64__)
-+#if defined(_M_X64) || defined(__x86_64__)
- #else
- #error \"Non-x86\"
- #endif
diff --git a/multimedia/svt-av1/pkg-plist b/multimedia/svt-av1/pkg-plist
index c8946df60eaa..b506ede645cc 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.0
-lib/libSvtAv1Enc.so.0.9.1
+lib/libSvtAv1Enc.so.1
+lib/libSvtAv1Enc.so.1.0.0-rc2
 libdata/pkgconfig/SvtAv1Dec.pc
 libdata/pkgconfig/SvtAv1Enc.pc