git: d6cd2faae3e0 - main - www/gstreamer1-plugins-srt: New SRT plugin for gstreamer

From: Thomas Zander <riggs_at_FreeBSD.org>
Date: Sun, 25 Dec 2022 17:25:25 UTC
The branch main has been updated by riggs:

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

commit d6cd2faae3e063772aa01e6a8356513d1fe1ab4d
Author:     Thomas Zander <riggs@FreeBSD.org>
AuthorDate: 2022-12-25 17:18:14 +0000
Commit:     Thomas Zander <riggs@FreeBSD.org>
CommitDate: 2022-12-25 17:25:23 +0000

    www/gstreamer1-plugins-srt: New SRT plugin for gstreamer
    
    gstreamer now supports the "Secure Reliable Transport (SRT) Protocol"
    via www/srt. This port adds the corresponding plugin, via
    multimedia/gstreamer1-plugins-bad.
    PR:             268545
    Reported by:    p5B2EA84B3@t-online.de
---
 multimedia/gstreamer1-plugins/Makefile.common |  1 +
 www/Makefile                                  |  1 +
 www/gstreamer1-plugins-srt/Makefile           | 15 +++++++++++++++
 www/gstreamer1-plugins-srt/pkg-plist          |  1 +
 4 files changed, 18 insertions(+)

diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index 0cbe56a9623b..e6ce9cb4e82f 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -177,6 +177,7 @@ BAD_GST_ALL_PLUGINS+= \
 		soundtouch \
 		spandsp \
 		speed \
+		srt \
 		srtp \
 		subenc \
 		svthevcenc \
diff --git a/www/Makefile b/www/Makefile
index 889cd03e9aaf..eb030ff47aa2 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -205,6 +205,7 @@
     SUBDIR += groupoffice
     SUBDIR += grr
     SUBDIR += gstreamer1-plugins-neon
+    SUBDIR += gstreamer1-plugins-srt
     SUBDIR += gtkhtml4
     SUBDIR += guacamole-client
     SUBDIR += guile-www
diff --git a/www/gstreamer1-plugins-srt/Makefile b/www/gstreamer1-plugins-srt/Makefile
new file mode 100644
index 000000000000..9b5606ab535c
--- /dev/null
+++ b/www/gstreamer1-plugins-srt/Makefile
@@ -0,0 +1,15 @@
+PORTREVISION=	0
+CATEGORIES=	www
+
+COMMENT=	GStreamer Secure Reliable Transport (SRT) plugin
+
+GST_PLUGIN=	srt
+DIST=		bad
+
+MASTERDIR=	${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+PLIST=  ${.CURDIR}/pkg-plist
+
+LIB_DEPENDS+=  libsrt.so:www/srt
+
+.include "${MASTERDIR}/Makefile"
diff --git a/www/gstreamer1-plugins-srt/pkg-plist b/www/gstreamer1-plugins-srt/pkg-plist
new file mode 100644
index 000000000000..1b3509b4ee7b
--- /dev/null
+++ b/www/gstreamer1-plugins-srt/pkg-plist
@@ -0,0 +1 @@
+lib/gstreamer-%%VERSION%%/libgstsrt.so