Re: git: ac6d0ae53dc2 - main - multimedia/vvdec: Update 1.6.0 → 1.6.1

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Wed, 25 Jan 2023 08:54:39 UTC
Yuri Victorovich <yuri@FreeBSD.org> writes:

> The branch main has been updated by yuri:
>
> URL: https://cgit.FreeBSD.org/ports/commit/?id=ac6d0ae53dc29351a80b56807179c94948e3f984
>
> commit ac6d0ae53dc29351a80b56807179c94948e3f984
> Author:     Yuri Victorovich <yuri@FreeBSD.org>
> AuthorDate: 2023-01-25 06:14:53 +0000
> Commit:     Yuri Victorovich <yuri@FreeBSD.org>
> CommitDate: 2023-01-25 06:36:57 +0000
>
>     multimedia/vvdec: Update 1.6.0 → 1.6.1
>     
>     Reported by:    portscout

Do you plan to add encoder from the same upstream? I'm not interested
in VVC myself but here's an example:

diff --git a/multimedia/Makefile b/multimedia/Makefile
index 2a4827dac75d..d33173e8974c 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -420,6 +420,7 @@
     SUBDIR += vmaf
     SUBDIR += vtkmpeg2encode
     SUBDIR += vvdec
+    SUBDIR += vvenc
     SUBDIR += w_scan2
     SUBDIR += webcamd
     SUBDIR += webcamoid
diff --git a/multimedia/vvenc/Makefile b/multimedia/vvenc/Makefile
new file mode 100644
index 000000000000..68c75d6bd9d7
--- /dev/null
+++ b/multimedia/vvenc/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	vvenc
+DISTVERSIONPREFIX=	v
+DISTVERSION=	1.7.0
+CATEGORIES=	multimedia
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Versatile Video Coding (VVC) encoder
+WWW=		https://www.hhi.fraunhofer.de/en/departments/vca/technologies-and-solutions/h266-vvc.html
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+USES=		cmake:testing
+USE_GITHUB=	yes
+USE_LDCONFIG=	yes
+GH_ACCOUNT=	fraunhoferhhi
+CMAKE_ON=	BUILD_SHARED_LIBS
+
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == i386
+CMAKE_OFF+=	VVENC_ENABLE_X86_SIMD
+.endif
+
+.if ${ARCH} == powerpc64 || ${ARCH} == riscv64
+CMAKE_OFF+=	VVENC_ENABLE_LINK_TIME_OPT
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/vvenc/distinfo b/multimedia/vvenc/distinfo
new file mode 100644
index 000000000000..2cf134ef6f5b
--- /dev/null
+++ b/multimedia/vvenc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1670954092
+SHA256 (fraunhoferhhi-vvenc-v1.7.0_GH0.tar.gz) = cb73d0ebe1d86f2365f47db4f0982d1239748786c18580e2995361559eb5453c
+SIZE (fraunhoferhhi-vvenc-v1.7.0_GH0.tar.gz) = 2086639
diff --git a/multimedia/vvenc/pkg-descr b/multimedia/vvenc/pkg-descr
new file mode 100644
index 000000000000..5e5e39c43fae
--- /dev/null
+++ b/multimedia/vvenc/pkg-descr
@@ -0,0 +1,12 @@
+The Fraunhofer Versatile Video Encoder (VVenC) is a fast and efficient
+H.266/VVC encoder implementation with the following main features:
+- Easy to use encoder implementation with five predefined
+  quality/speed presets;
+- Perceptual optimization to improve subjective video quality, based
+  on the XPSNR visual model;
+- Extensive frame-level and task-based parallelization with very good
+  scaling;
+- Frame-level single-pass and two-pass rate control supporting
+  variable bit-rate (VBR) encoding;
+- Expert mode encoder interface available, allowing fine-grained
+  control of the encoding process.
diff --git a/multimedia/vvenc/pkg-plist b/multimedia/vvenc/pkg-plist
new file mode 100644
index 000000000000..170db5f86f10
--- /dev/null
+++ b/multimedia/vvenc/pkg-plist
@@ -0,0 +1,12 @@
+bin/vvencFFapp
+bin/vvencapp
+include/vvenc/version.h
+include/vvenc/vvenc.h
+include/vvenc/vvencCfg.h
+include/vvenc/vvencDecl.h
+lib/cmake/vvenc/vvencConfig.cmake
+lib/cmake/vvenc/vvencConfigVersion.cmake
+lib/cmake/vvenc/vvencTargets-shared-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/vvenc/vvencTargets-shared.cmake
+lib/libvvenc.so
+libdata/pkgconfig/libvvenc.pc