Skip to contentSkip to conversation

gst1-validate: needs python

PATCH Superseded Peter Seiderer 1 participant 1 message Nov 12, 2014

v2 of 4 Superseded Latest is v4 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 gst1-validate: needs python

Fixes:
http://autobuild.buildroot.net/results/e8c/e8c27db2a0935c2daef173d5650f6a2b3a219493/

---
Changes v1 -> v2:
- changed from python/python3 to python only (python3 is not usable because gst-validate-launcher script is python2 only, see [1] from Vicente Olivert Riera)

[1] http://lists.busybox.net/pipermail/buildroot/2014-November/111907.html

---
 package/gstreamer1/gst1-validate/Config.in        | 6 +++++-
 package/gstreamer1/gst1-validate/gst1-validate.mk | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
package/gstreamer1/gst1-validate/Config.in +5 -1
index ffcdd27..bab418a 100644
@@ -1,5 +1,6 @@
-menuconfig BR2_PACKAGE_GST1_VALIDATE
+config BR2_PACKAGE_GST1_VALIDATE
 	bool "gst1-validate"
+	depends on BR2_PACKAGE_PYTHON
 	select BR2_PACKAGE_GST1_PLUGINS_BASE
 	help
 	  GstValidate is a tool that allows GStreamer developers to
@@ -7,3 +8,6 @@ menuconfig BR2_PACKAGE_GST1_VALIDATE
 	  are supposed to.
 
 	  http://gstreamer.freedesktop.org/
+
+comment "gst1-validate depends on python"
+	depends on !BR2_PACKAGE_PYTHON
package/gstreamer1/gst1-validate/gst1-validate.mk +1 -1
index 4972cac..9a9e796 100644
@@ -12,6 +12,6 @@ GST1_VALIDATE_LICENSE_FILES = COPYING
 
 GST1_VALIDATE_CONF_OPTS = --disable-sphinx-doc
 
-GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base
+GST1_VALIDATE_DEPENDENCIES = gstreamer1 gst1-plugins-base host-python python
 
 $(eval $(autotools-package))
Signature · 1 line
1.8.1.4