config BR2_PACKAGE_GST1_VALIDATE
bool "gst1-validate"
- depends on BR2_PACKAGE_PYTHON
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_GST1_PLUGINS_BASE
select BR2_PACKAGE_JSON_GLIB
- select BR2_PACKAGE_PYTHON_PYEXPAT
+ select BR2_PACKAGE_PYTHON_PYEXPAT if BR2_PACKAGE_PYTHON
+ select BR2_PACKAGE_PYTHON3_PYEXPAT if BR2_PACKAGE_PYTHON3
# cairo is autodetected but needs PNG support
select BR2_PACKAGE_CAIRO_PNG if BR2_PACKAGE_CAIRO
help
comment "gst1-validate depends on python"
depends on !BR2_PACKAGE_PYTHON
+ depends on !BR2_PACKAGE_PYTHON3
gstreamer1 \
gst1-plugins-base \
json-glib \
- host-python \
- python \
$(if $(BR2_PACKAGE_CAIRO),cairo)
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+GST1_VALIDATE_DEPENDENCIES += host-python3 python3
+else
+GST1_VALIDATE_DEPENDENCIES += host-python python
+endif
+
GST1_VALIDATE_CONF_OPTS += --disable-sphinx-doc
$(eval $(autotools-package))