summaryrefslogtreecommitdiffstats
path: root/package/gstreamer1
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-08-23 15:18:05 -0500
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-08-24 23:23:45 +0200
commit688bfafec31c4b10aae9b2edebb77d95ac0cc9cd (patch)
tree3d9b134666f6d8b3ecf73f5ae55243afc0c95b06 /package/gstreamer1
parent8dfbceb4360bd0169cda84d61fe848ccee7454c4 (diff)
downloadbuildroot-688bfafec31c4b10aae9b2edebb77d95ac0cc9cd.tar.gz
buildroot-688bfafec31c4b10aae9b2edebb77d95ac0cc9cd.zip
gst1-plugins-good: add optional dependency on jack2
Jack2 audio server is part of buildroot, but the jack gst plugins are disabled completely in gst1-plugins-good, whether or not jack2 is selected. This changes the logic so that if the build system determines that the jack2 audio server is selected, then the jack plugins are enabled. If the plugins are enabled, then jack2 is also added as a dependency to gst1-plugins-good. Signed-off-by: Brad Love <brad@nextdimension.cc> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/gstreamer1')
-rw-r--r--package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk
index c1ed039bc7..21a7668c65 100644
--- a/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk
+++ b/package/gstreamer1/gst1-plugins-good/gst1-plugins-good.mk
@@ -25,13 +25,19 @@ GST1_PLUGINS_GOOD_CONF_OPTS = \
# Options which require currently unpackaged libraries
GST1_PLUGINS_GOOD_CONF_OPTS += \
- --disable-jack \
--disable-libdv \
--disable-dv1394 \
--disable-shout2
GST1_PLUGINS_GOOD_DEPENDENCIES = gstreamer1 gst1-plugins-base
+ifeq ($(BR2_PACKAGE_JACK2),y)
+GST1_PLUGINS_GOOD_CONF_OPTS += --enable-jack
+GST1_PLUGINS_GOOD_DEPENDENCIES += jack2
+else
+GST1_PLUGINS_GOOD_CONF_OPTS += --disable-jack
+endif
+
ifeq ($(BR2_PACKAGE_LIBV4L),y)
GST1_PLUGINS_GOOD_CONF_OPTS += --with-libv4l2
GST1_PLUGINS_GOOD_DEPENDENCIES += libv4l
OpenPOWER on IntegriCloud