summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2018-12-25 19:43:19 +0000
committerKoop Mast <kwm@FreeBSD.org>2018-12-25 19:43:19 +0000
commit0e8c2fb42a13577be1316b01877f62f5cc6b8955 (patch)
tree1054ded0a119a36a1ef7a3f860390e930cf6ebf0
parentUpdate orc to 0.4.28. (diff)
* Add the gstreamer1 lv2 plugin.
This plugins is a wrapper that exposes lv2 plugins to gstreamer applications. * Correct the handling of webrtcdsp in bsd.gstreamer.mk so it can be used in the USE_GSTREAMER1 macro. multimedia/gstreamer1-plugins/Makefile.common: * Remove configure disable switches for sunadio and wgl, these plugins where removed in 1.14. * Move gtk3 from the "bad" plugins to the "good" plugins. This removes a warning from the configure stage of "bad" plugins about unknown configure arguments.
Notes
Notes: svn path=/head/; revision=488337
-rw-r--r--Mk/bsd.gstreamer.mk13
-rw-r--r--audio/Makefile1
-rw-r--r--audio/gstreamer1-plugins-lv2/Makefile13
-rw-r--r--multimedia/gstreamer1-plugins/Makefile.common11
4 files changed, 31 insertions, 7 deletions
diff --git a/Mk/bsd.gstreamer.mk b/Mk/bsd.gstreamer.mk
index 5599634f11f4..158ef3eba475 100644
--- a/Mk/bsd.gstreamer.mk
+++ b/Mk/bsd.gstreamer.mk
@@ -161,6 +161,7 @@ _GSTREAMER_PLUGINS+= \
kms \
libav \
libde265 \
+ lv2 \
modplug \
mpg123 \
mplex \
@@ -178,11 +179,12 @@ _GSTREAMER_PLUGINS+= \
vpx \
vulkan \
webp \
+ webrtcdsp \
x \
x265 \
ximagesrc \
zbar
-# vaapi webrtcdsp
+# vaapi
.endif # USE_GSTREAMER1
# other plugins
@@ -261,6 +263,9 @@ ladspa_IMPL= bad
lame_DEPENDS= audio/gstreamer-plugins-lame
lame_IMPL= ugly
+lv2_DEPENDS= audio/gstreamer-plugins-lv2
+lv2_IMPL= bad
+
mad_DEPENDS= audio/gstreamer-plugins-mad
mad_IMPL= ugly
@@ -324,6 +329,9 @@ vorbis_IMPL= #
wavpack_DEPENDS= audio/gstreamer-plugins-wavpack
wavpack_IMPL= good
+webrtcdsp_DEPENDS= audio/gstreamer-plugins-webrtcdsp
+webrtcdsp_IMPL= bad
+
#-- comms plugin section --------------------------------------------------#
spandsp_DEPENDS= comms/gstreamer-plugins-spandsp
@@ -545,9 +553,6 @@ ugly_IMPL= #
vdpau_DEPENDS= multimedia/gstreamer-plugins-vdpau
vdpau_IMPL= bad
-webrtcdsp_DEPENDS= multimedia/gstreamer-plugins-webrtcdsp
-webrtcdsp_IMPL= bad
-
x264_DEPENDS= multimedia/gstreamer-plugins-x264
x264_IMPL= ugly
diff --git a/audio/Makefile b/audio/Makefile
index 603e210ae00c..dff915739982 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -264,6 +264,7 @@
SUBDIR += gstreamer-plugins-jack
SUBDIR += gstreamer-plugins-ladspa
SUBDIR += gstreamer-plugins-lame
+ SUBDIR += gstreamer-plugins-lv2
SUBDIR += gstreamer-plugins-mad
SUBDIR += gstreamer-plugins-mp3
SUBDIR += gstreamer-plugins-musepack
diff --git a/audio/gstreamer1-plugins-lv2/Makefile b/audio/gstreamer1-plugins-lv2/Makefile
new file mode 100644
index 000000000000..6a830242dcdb
--- /dev/null
+++ b/audio/gstreamer1-plugins-lv2/Makefile
@@ -0,0 +1,13 @@
+# $FreeBSD$
+
+PORTREVISION= 0
+CATEGORIES= audio
+
+COMMENT= Gstreamer lv2 wrapper plugin
+
+GST_PLUGIN= lv2
+DIST= bad
+
+MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer1-plugins
+
+.include "${MASTERDIR}/Makefile"
diff --git a/multimedia/gstreamer1-plugins/Makefile.common b/multimedia/gstreamer1-plugins/Makefile.common
index e082b0954ac7..0a0c9564dfbf 100644
--- a/multimedia/gstreamer1-plugins/Makefile.common
+++ b/multimedia/gstreamer1-plugins/Makefile.common
@@ -34,13 +34,13 @@ BAD_GST_ALL_PLUGINS+= \
flite \
gme \
gsm \
- gtk3 \
hls \
kate \
kms \
ladspa \
libde265 \
libmms \
+ lv2 \
modplug \
mpeg2enc \
mplex \
@@ -91,7 +91,6 @@ BAD_GST_NON_PLUGINS= \
--disable-uvch264 \
--disable-vcd \
--disable-wasapi \
- --disable-wgl \
--disable-winks \
--disable-winscreencap
@@ -101,6 +100,7 @@ GOOD_GST_ALL_PLUGINS+= \
flac \
gdk_pixbuf \
gst_v4l2 \
+ gtk3 \
jack \
jpeg \
lame \
@@ -123,7 +123,6 @@ GOOD_GST_NON_PLUGINS= \
--disable-directsound \
--disable-osx_audio \
--disable-osx_video \
- --disable-sunaudio \
--disable-waveform \
--enable-bz2 \
--enable-oss \
@@ -331,6 +330,12 @@ gst_libmms_PLIST_FILES= ${GST_LIB_DIR}/libgstmms.so
# librfb
gst_librfb_USE_XORG= x11
+# liblv2
+gst_lv2_LIB_DEPENDS= libsord-0.so:devel/sord \
+ libserd-0.so:devel/serd \
+ libsratom-0.so:audio/sratom \
+ liblilv-0.so:audio/lilv
+
# png
gst_libpng_LIB_DEPENDS= libpng.so:graphics/png
gst_libpng_PLIST_FILES= ${GST_LIB_DIR}/libgstpng.so