Browse Source

gst1-plugins-bad: Add OpenAL dependency

Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
André Hentschel 9 years ago
parent
commit
9412dfe6c1

+ 10 - 0
package/gstreamer1/gst1-plugins-bad/Config.in

@@ -562,6 +562,16 @@ config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_NEON
 	help
 	help
 	  lib neon http client src
 	  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
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV
 	bool "opencv"
 	bool "opencv"
 	depends on BR2_PACKAGE_OPENCV
 	depends on BR2_PACKAGE_OPENCV

+ 7 - 1
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk

@@ -57,7 +57,6 @@ GST1_PLUGINS_BAD_CONF_OPTS += \
 	--disable-mplex \
 	--disable-mplex \
 	--disable-nas \
 	--disable-nas \
 	--disable-ofa \
 	--disable-ofa \
-	--disable-openal \
 	--disable-openexr \
 	--disable-openexr \
 	--disable-openjpeg \
 	--disable-openjpeg \
 	--disable-openni2 \
 	--disable-openni2 \
@@ -702,6 +701,13 @@ else
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-neon
 GST1_PLUGINS_BAD_CONF_OPTS += --disable-neon
 endif
 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)
 ifeq ($(BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_OPENCV),y)
 GST1_PLUGINS_BAD_CONF_OPTS += --enable-opencv
 GST1_PLUGINS_BAD_CONF_OPTS += --enable-opencv
 GST1_PLUGINS_BAD_DEPENDENCIES += opencv
 GST1_PLUGINS_BAD_DEPENDENCIES += opencv