diff options
author | jbeich <jbeich@FreeBSD.org> | 2019-05-12 14:36:01 +0800 |
---|---|---|
committer | jbeich <jbeich@FreeBSD.org> | 2019-05-12 14:36:01 +0800 |
commit | 0e049121a275db0f7a83d766d7cdd2ab6d08eccd (patch) | |
tree | 227156f0c08383a24ac15fa9d635e6b29d32b6d0 /multimedia | |
parent | fe3a195ca881b1ad032c6b8e455a040b3b414dcf (diff) | |
download | freebsd-ports-gnome-0e049121a275db0f7a83d766d7cdd2ab6d08eccd.tar.gz freebsd-ports-gnome-0e049121a275db0f7a83d766d7cdd2ab6d08eccd.tar.zst freebsd-ports-gnome-0e049121a275db0f7a83d766d7cdd2ab6d08eccd.zip |
multimedia/svt-*: hook GStreamer plugins
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 3 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-av1/Makefile | 32 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-av1/distinfo | 5 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-av1/pkg-descr | 4 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-hevc/Makefile | 30 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-hevc/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-hevc/files/patch-gstsvthevcenc.c | 19 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-hevc/pkg-descr | 4 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-vp9/Makefile | 29 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-vp9/distinfo | 3 | ||||
-rw-r--r-- | multimedia/gstreamer1-plugins-svt-vp9/pkg-descr | 4 |
11 files changed, 136 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index cfd979629b02..422818aa53ee 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -145,6 +145,9 @@ SUBDIR += gstreamer1-plugins-resindvd SUBDIR += gstreamer1-plugins-rtmp SUBDIR += gstreamer1-plugins-smoothstreaming + SUBDIR += gstreamer1-plugins-svt-av1 + SUBDIR += gstreamer1-plugins-svt-hevc + SUBDIR += gstreamer1-plugins-svt-vp9 SUBDIR += gstreamer1-plugins-theora SUBDIR += gstreamer1-plugins-ttml SUBDIR += gstreamer1-plugins-ugly diff --git a/multimedia/gstreamer1-plugins-svt-av1/Makefile b/multimedia/gstreamer1-plugins-svt-av1/Makefile new file mode 100644 index 000000000000..a3d1c011e91e --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-av1/Makefile @@ -0,0 +1,32 @@ +# $FreeBSD$ + +PORTNAME= svt-av1 +PORTVERSION= s20180509 +CATEGORIES= multimedia +PKGNAMEPREFIX= gstreamer1-plugins- + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= c77dc3f81301.patch:-p2 + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= GStreamer (svt-av1) plugin + +LICENSE= LGPL21+ # based on SPDX header +LICENSE_FILE= ${_LICENSE_STORE}/LGPL21 + +LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 + +USES= meson pkgconfig +USE_GITHUB= yes +USE_GNOME= glib20 +USE_GSTREAMER1= yes +GH_ACCOUNT= OpenVisualCloud +GH_PROJECT= SVT-AV1 +GH_TAGNAME= ad4522fb +WRKSRC_SUBDIR= gstreamer-plugin +PLIST_FILES= lib/gstreamer-1.0/libgstsvtav1enc.so + +post-patch: + @${REINPLACE_CMD} '/-O2/d' ${WRKSRC}/meson.build + +.include <bsd.port.mk> diff --git a/multimedia/gstreamer1-plugins-svt-av1/distinfo b/multimedia/gstreamer1-plugins-svt-av1/distinfo new file mode 100644 index 000000000000..7fb43b6e7d5c --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-av1/distinfo @@ -0,0 +1,5 @@ +TIMESTAMP = 1557368472 +SHA256 (OpenVisualCloud-SVT-AV1-s20180509-ad4522fb_GH0.tar.gz) = c2d12fe52ab328c9e59f27f23acda448703188340fb17d44d270820d276f3ae4 +SIZE (OpenVisualCloud-SVT-AV1-s20180509-ad4522fb_GH0.tar.gz) = 2226530 +SHA256 (c77dc3f81301.patch) = d94814e6fea033c04c6c10b195e28139639e53c298e488c077fb60fa0cbcbf6d +SIZE (c77dc3f81301.patch) = 848 diff --git a/multimedia/gstreamer1-plugins-svt-av1/pkg-descr b/multimedia/gstreamer1-plugins-svt-av1/pkg-descr new file mode 100644 index 000000000000..e9a6bfef0746 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-av1/pkg-descr @@ -0,0 +1,4 @@ +This plugin provides svtav1enc element to GStreamer in order to use +the Scalable Video Technology for AV1 Encoder. + +WWW: https://01.org/svt diff --git a/multimedia/gstreamer1-plugins-svt-hevc/Makefile b/multimedia/gstreamer1-plugins-svt-hevc/Makefile new file mode 100644 index 000000000000..70c154d18d75 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-hevc/Makefile @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= svt-hevc +DISTVERSIONPREFIX= v +DISTVERSION= 1.3.0-32 +DISTVERSIONSUFFIX= -ga0dcd77 +CATEGORIES= multimedia +PKGNAMEPREFIX= gstreamer1-plugins- + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= GStreamer (svt-hevc) plugin + +LICENSE= LGPL21+ # based on SPDX header +LICENSE_FILE= ${_LICENSE_STORE}/LGPL21 + +LIB_DEPENDS= libSvtHevcEnc.so:multimedia/svt-hevc + +USES= meson pkgconfig +USE_GITHUB= yes +USE_GNOME= glib20 +USE_GSTREAMER1= yes +GH_ACCOUNT= OpenVisualCloud +GH_PROJECT= SVT-HEVC +WRKSRC_SUBDIR= gstreamer-plugin +PLIST_FILES= lib/gstreamer-1.0/libgstsvthevcenc.so + +post-patch: + @${REINPLACE_CMD} '/-O2/d' ${WRKSRC}/meson.build + +.include <bsd.port.mk> diff --git a/multimedia/gstreamer1-plugins-svt-hevc/distinfo b/multimedia/gstreamer1-plugins-svt-hevc/distinfo new file mode 100644 index 000000000000..f78a1e5bf2ab --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-hevc/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1557301098 +SHA256 (OpenVisualCloud-SVT-HEVC-v1.3.0-32-ga0dcd77_GH0.tar.gz) = cfff9280afd366bea73d093bdfa0a82b700345f09ce486ef7edc0399ab1fab13 +SIZE (OpenVisualCloud-SVT-HEVC-v1.3.0-32-ga0dcd77_GH0.tar.gz) = 1165629 diff --git a/multimedia/gstreamer1-plugins-svt-hevc/files/patch-gstsvthevcenc.c b/multimedia/gstreamer1-plugins-svt-hevc/files/patch-gstsvthevcenc.c new file mode 100644 index 000000000000..746dad76afd3 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-hevc/files/patch-gstsvthevcenc.c @@ -0,0 +1,19 @@ +encoderColorFormat was added after 1.3.0, so omit it for now. + +../gstsvthevcenc.c:732:15: error: no member named 'encoderColorFormat' in 'struct EB_H265_ENC_CONFIGURATION' + svt_config->encoderColorFormat = EB_YUV420; + ~~~~~~~~~~ ^ +../gstsvthevcenc.c:732:36: error: use of undeclared identifier 'EB_YUV420' + svt_config->encoderColorFormat = EB_YUV420; + ^ + +--- gstsvthevcenc.c.orig 2019-03-27 13:22:12 UTC ++++ gstsvthevcenc.c +@@ -729,7 +729,6 @@ set_default_svt_configuration (EB_H265_ENC_CONFIGURATI + svt_config->recoveryPointSeiFlag = FALSE; + svt_config->enableTemporalId = 1; + svt_config->encoderBitDepth = 8; +- svt_config->encoderColorFormat = EB_YUV420; + svt_config->compressedTenBitFormat = FALSE; + svt_config->profile = 1; + svt_config->tier = 0; diff --git a/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr b/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr new file mode 100644 index 000000000000..958e23d14859 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-hevc/pkg-descr @@ -0,0 +1,4 @@ +This plugin provides svtav1enc element to GStreamer in order to use +the Scalable Video Technology for HEVC Encoder. + +WWW: https://01.org/svt diff --git a/multimedia/gstreamer1-plugins-svt-vp9/Makefile b/multimedia/gstreamer1-plugins-svt-vp9/Makefile new file mode 100644 index 000000000000..c76cdf120a4b --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-vp9/Makefile @@ -0,0 +1,29 @@ +# $FreeBSD$ + +PORTNAME= svt-vp9 +PORTVERSION= s20180426 +CATEGORIES= multimedia +PKGNAMEPREFIX= gstreamer1-plugins- + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= GStreamer (svt-vp9) plugin + +LICENSE= LGPL21+ # based on SPDX header +LICENSE_FILE= ${_LICENSE_STORE}/LGPL21 + +LIB_DEPENDS= libSvtVp9Enc.so:multimedia/svt-vp9 + +USES= meson pkgconfig +USE_GITHUB= yes +USE_GNOME= glib20 +USE_GSTREAMER1= yes +GH_ACCOUNT= OpenVisualCloud +GH_PROJECT= SVT-VP9 +GH_TAGNAME= ce24589 +WRKSRC_SUBDIR= gstreamer-plugin +PLIST_FILES= lib/gstreamer-1.0/libgstsvtvp9enc.so + +post-patch: + @${REINPLACE_CMD} '/-O2/d' ${WRKSRC}/meson.build + +.include <bsd.port.mk> diff --git a/multimedia/gstreamer1-plugins-svt-vp9/distinfo b/multimedia/gstreamer1-plugins-svt-vp9/distinfo new file mode 100644 index 000000000000..fdfed609aa1f --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-vp9/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1556317138 +SHA256 (OpenVisualCloud-SVT-VP9-s20180426-ce24589_GH0.tar.gz) = 2e9d91450a00e6be2b20b922fbd6d1d9037be9d9e96ac3879dfde51326cc40b0 +SIZE (OpenVisualCloud-SVT-VP9-s20180426-ce24589_GH0.tar.gz) = 981773 diff --git a/multimedia/gstreamer1-plugins-svt-vp9/pkg-descr b/multimedia/gstreamer1-plugins-svt-vp9/pkg-descr new file mode 100644 index 000000000000..ae97ae1a8f91 --- /dev/null +++ b/multimedia/gstreamer1-plugins-svt-vp9/pkg-descr @@ -0,0 +1,4 @@ +This plugin provides svtav1enc element to GStreamer in order to use +the Scalable Video Technology for VP9 Encoder. + +WWW: https://01.org/svt |