summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndré Hentschel <nerv@dawncrow.de>2015-12-20 17:36:24 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-20 22:52:44 +0100
commit9412dfe6c1e6ae3f4cd88c4adfdd6760873531c5 (patch)
tree9fb87b827c9daa2be8254cd6b10fa108eeba7de3
parentb5a33aac98ea47c76f758567fe4a91ea26c92c12 (diff)
downloadbuildroot-9412dfe6c1e6ae3f4cd88c4adfdd6760873531c5.tar.gz
buildroot-9412dfe6c1e6ae3f4cd88c4adfdd6760873531c5.zip
gst1-plugins-bad: Add OpenAL dependency
Signed-off-by: André Hentschel <nerv@dawncrow.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gstreamer1/gst1-plugins-bad/Config.in10
-rw-r--r--package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk8
2 files changed, 17 insertions, 1 deletions
diff --git a/package/gstreamer1/gst1-plugins-bad/Config.in b/package/gstreamer1/gst1-plugins-bad/Config.in
index f7714016bc..134e1aac7e 100644
--- a/package/gstreamer1/gst1-plugins-bad/Config.in
+++ b/package/gstreamer1/gst1-plugins-bad/Config.in
@@ -562,6 +562,16 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
help
lib neon http client src
+config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL
+ bool "openal"
+ depends on BR2_INSTALL_LIBSTDCPP
+ depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
+ select BR2_PACKAGE_OPENAL
+
+comment "openal plugin needs a toolchain w/ NPTL, C++"
+ depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL \
+ || !BR2_INSTALL_LIBSTDCPP
+
config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
bool "opencv"
depends on BR2_PACKAGE_OPENCV
diff --git a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
index a707df96f6..64760a8c45 100644
--- a/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
+++ b/package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk
@@ -57,7 +57,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
--disable-mplex \
--disable-nas \
--disable-ofa \
- --disable-openal \
--disable-openexr \
--disable-openjpeg \
--disable-openni2 \
@@ -702,6 +701,13 @@ else
GST1_PLUGINS_BAD_CONF_OPTS += --disable-neon
endif
+ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENAL),y)
+GST1_PLUGINS_BAD_CONF_OPTS += --enable-openal
+GST1_PLUGINS_BAD_DEPENDENCIES += openal
+else
+GST1_PLUGINS_BAD_CONF_OPTS += --disable-openal
+endif
+
ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV),y)
GST1_PLUGINS_BAD_CONF_OPTS += --enable-opencv
GST1_PLUGINS_BAD_DEPENDENCIES += opencv
OpenPOWER on IntegriCloud