Skip to contentSkip to conversation

gst1-plugins-bad: Add OpenAL dependency

PATCH New André Hentschel 2 participants 2 messages Dec 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gst1-plugins-bad: Add OpenAL dependency

---
 package/gstreamer1/gst1-plugins-bad/Config.in           | 10 ++++++++++
 package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk |  8 +++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)
package/gstreamer1/gst1-plugins-bad/Config.in +10 -0
index f771401..134e1aa 100644
@@ -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
package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk +7 -1
index a707df9..64760a8 100644
@@ -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
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 gst1-plugins-bad: Add OpenAL dependency

Dear Andr? Hentschel,

Quoted 5 lines · Andr? Hentschel
---
 package/gstreamer1/gst1-plugins-bad/Config.in           | 10 ++++++++++
 package/gstreamer1/gst1-plugins-bad/gst1-plugins-bad.mk |  8 +++++++-
 2 files changed, 17 insertions(+), 1 deletion(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com