diff --git a/multimedia/gstreamer1-plugins-bad/files/patch-ext_svthevcenc_meson.build b/multimedia/gstreamer1-plugins-bad/files/patch-ext_svthevcenc_meson.build new file mode 100644 index 000000000000..d353fa24ec5b --- /dev/null +++ b/multimedia/gstreamer1-plugins-bad/files/patch-ext_svthevcenc_meson.build @@ -0,0 +1,11 @@ +--- ext/svthevcenc/meson.build.orig 2025-12-25 14:44:26 UTC ++++ ext/svthevcenc/meson.build +@@ -22,7 +22,7 @@ if svthevcenc_dep.found() + svthevcenc_sources, + c_args : gst_plugins_bad_args + ['-DGST_USE_UNSTABLE_API'], + include_directories : [configinc], +- dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, gstcodecparsers_dep, svthevcenc_dep], ++ dependencies : [gstbase_dep, gstpbutils_dep, gstvideo_dep, dependency('gstreamer-codecparsers-1.0'), svthevcenc_dep], + install : true, + install_dir : plugins_install_dir, + ) diff --git a/multimedia/gstreamer1-plugins-svt-hevc/Makefile b/multimedia/gstreamer1-plugins-svt-hevc/Makefile index 20c5b7e5b076..b0ad81db05a7 100644 --- a/multimedia/gstreamer1-plugins-svt-hevc/Makefile +++ b/multimedia/gstreamer1-plugins-svt-hevc/Makefile @@ -1,27 +1,15 @@ -PORTNAME= svt-hevc -DISTVERSIONPREFIX= v -DISTVERSION= 1.5.1 +PORTREVISION= 0 CATEGORIES= multimedia -PKGNAMEPREFIX= gstreamer1-plugins- -MAINTAINER= jbeich@FreeBSD.org COMMENT= GStreamer (svt-hevc) plugin -WWW= https://01.org/svt - -LICENSE= LGPL21+ # based on SPDX header -LICENSE_FILE= ${_LICENSE_STORE}/LGPL21 LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc -USES= gnome gstreamer meson pkgconfig -USE_GITHUB= yes -USE_GNOME= glib20 -GH_ACCOUNT= OpenVisualCloud -GH_PROJECT= SVT-HEVC -WRKSRC_SUBDIR= gstreamer-plugin -PLIST_FILES= lib/gstreamer-1.0/libgstsvthevcenc.so +MASTERDIR= ${.CURDIR:H:H}/multimedia/gstreamer1-plugins + +PLIST= ${.CURDIR}/pkg-plist -post-patch: - @${REINPLACE_CMD} '/-O2/d' ${WRKSRC}/meson.build +DIST= bad +GST_PLUGIN= svthevcenc -.include +.include "${MASTERDIR}/Makefile" diff --git a/multimedia/gstreamer1-plugins-svt-hevc/distinfo b/multimedia/gstreamer1-plugins-svt-hevc/distinfo deleted file mode 100644 index 0fb078882b50..000000000000 --- a/multimedia/gstreamer1-plugins-svt-hevc/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1622658479 -SHA256 (OpenVisualCloud-SVT-HEVC-v1.5.1_GH0.tar.gz) = fcadf3a326e012bdc7d7357b55573b45dfd37bf4a4186c93ed1c4b98fe3f1f6d -SIZE (OpenVisualCloud-SVT-HEVC-v1.5.1_GH0.tar.gz) = 1220295 diff --git a/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr b/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr deleted file mode 100644 index 47c99e116ab8..000000000000 --- a/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr +++ /dev/null @@ -1,2 +0,0 @@ -This plugin provides svtav1enc element to GStreamer in order to use -the Scalable Video Technology for HEVC Encoder. diff --git a/multimedia/gstreamer1-plugins-svt-hevc/pkg-plist b/multimedia/gstreamer1-plugins-svt-hevc/pkg-plist new file mode 100644 index 000000000000..919b20a1af76 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-hevc/pkg-plist @@ -0,0 +1 @@ +lib/gstreamer-%%VERSION%%/libgstsvthevcenc.so