aboutsummaryrefslogtreecommitdiff
path: root/package/gstreamer1/gst1-devtools
diff options
context:
space:
mode:
Diffstat (limited to 'package/gstreamer1/gst1-devtools')
-rw-r--r--package/gstreamer1/gst1-devtools/Config.in18
-rw-r--r--package/gstreamer1/gst1-devtools/gst1-devtools.hash3
-rw-r--r--package/gstreamer1/gst1-devtools/gst1-devtools.mk37
3 files changed, 58 insertions, 0 deletions
diff --git a/package/gstreamer1/gst1-devtools/Config.in b/package/gstreamer1/gst1-devtools/Config.in
new file mode 100644
index 0000000000..55cf25d53e
--- /dev/null
+++ b/package/gstreamer1/gst1-devtools/Config.in
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_GST1_DEVTOOLS
+ bool "gst1-devtools"
+ depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+ select BR2_PACKAGE_GSTREAMER1_CHECK
+ select BR2_PACKAGE_GST1_PLUGINS_BASE
+ select BR2_PACKAGE_JSON_GLIB
+ 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
+ GStreamer development tools (gst-validate).
+
+ https://gstreamer.freedesktop.org
+
+comment "gst1-devtools depends on python"
+ depends on !BR2_PACKAGE_PYTHON
+ depends on !BR2_PACKAGE_PYTHON3
diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.hash b/package/gstreamer1/gst1-devtools/gst1-devtools.hash
new file mode 100644
index 0000000000..bfed3570f7
--- /dev/null
+++ b/package/gstreamer1/gst1-devtools/gst1-devtools.hash
@@ -0,0 +1,3 @@
+# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.18.3.tar.xz.sha256sum
+sha256 3025fee3607caf5069154c099533785675916e044ee92c936bbeacdda3750f26 gst-devtools-1.18.3.tar.xz
+sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 validate/COPYING
diff --git a/package/gstreamer1/gst1-devtools/gst1-devtools.mk b/package/gstreamer1/gst1-devtools/gst1-devtools.mk
new file mode 100644
index 0000000000..5e1f0110ee
--- /dev/null
+++ b/package/gstreamer1/gst1-devtools/gst1-devtools.mk
@@ -0,0 +1,37 @@
+################################################################################
+#
+# gst1-devtools
+#
+################################################################################
+
+GST1_DEVTOOLS_VERSION = 1.18.3
+GST1_DEVTOOLS_SOURCE = gst-devtools-$(GST1_DEVTOOLS_VERSION).tar.xz
+GST1_DEVTOOLS_SITE = https://gstreamer.freedesktop.org/src/gst-devtools
+GST1_DEVTOOLS_LICENSE = LGPL-2.1+
+GST1_DEVTOOLS_LICENSE_FILES = validate/COPYING
+GST1_DEVTOOLS_INSTALL_STAGING = YES
+
+GST1_DEVTOOLS_DEPENDENCIES = \
+ gstreamer1 \
+ gst1-plugins-base \
+ json-glib \
+ $(if $(BR2_PACKAGE_CAIRO),cairo)
+
+ifeq ($(BR2_PACKAGE_PYTHON3),y)
+GST1_DEVTOOLS_DEPENDENCIES += host-python3 python3
+else
+GST1_DEVTOOLS_DEPENDENCIES += host-python python
+endif
+
+ifeq ($(BR2_PACKAGE_GST1_RTSP_SERVER),y)
+GST1_DEVTOOLS_DEPENDENCIES += gst1-rtsp-server
+endif
+
+GST1_DEVTOOLS_CONF_OPTS = \
+ -Dvalidate=enabled \
+ -Ddebug_viewer=disabled \
+ -Dintrospection=disabled \
+ -Dtests=disabled \
+ -Ddoc=disabled
+
+$(eval $(meson-package))