aboutsummaryrefslogtreecommitdiff
path: root/multimedia/gstreamer1-plugins-svt-av1
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-05-12 06:36:01 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-05-12 06:36:01 +0000
commitd4c68d5eb2d15c13173917ff0aae0775cee3f64d (patch)
tree227156f0c08383a24ac15fa9d635e6b29d32b6d0 /multimedia/gstreamer1-plugins-svt-av1
parentccad449cddc7a5b1a98c4e36118e0e15dcce062d (diff)
downloadports-d4c68d5eb2d15c13173917ff0aae0775cee3f64d.tar.gz
ports-d4c68d5eb2d15c13173917ff0aae0775cee3f64d.zip
multimedia/svt-*: hook GStreamer plugins
Notes
Notes: svn path=/head/; revision=501363
Diffstat (limited to 'multimedia/gstreamer1-plugins-svt-av1')
-rw-r--r--multimedia/gstreamer1-plugins-svt-av1/Makefile32
-rw-r--r--multimedia/gstreamer1-plugins-svt-av1/distinfo5
-rw-r--r--multimedia/gstreamer1-plugins-svt-av1/pkg-descr4
3 files changed, 41 insertions, 0 deletions
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