package/gst1-devtools: new package (was gst1-validate)
authorPeter Seiderer <ps.report@gmx.net>
Wed, 16 Sep 2020 19:49:28 +0000 (21:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 23 Sep 2020 20:24:25 +0000 (22:24 +0200)
Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Config.in.legacy
package/gstreamer1/Config.in
package/gstreamer1/gst1-devtools/Config.in [new file with mode: 0644]
package/gstreamer1/gst1-devtools/gst1-devtools.hash [new file with mode: 0644]
package/gstreamer1/gst1-devtools/gst1-devtools.mk [new file with mode: 0644]
package/gstreamer1/gst1-validate/Config.in [deleted file]
package/gstreamer1/gst1-validate/gst1-validate.hash [deleted file]
package/gstreamer1/gst1-validate/gst1-validate.mk [deleted file]

index fddabfe223c377f310812948ec861aa2f586363c..c1b3e18186919ec01df84eb8b1d563624b448255 100644 (file)
@@ -146,6 +146,13 @@ endif
 
 comment "Legacy options removed in 2020.11"
 
+connfig BR2_PACKAGE_GST1_VALIDATE
+       bool "gst1-validate was moved to gst1-devtools"
+       select BR2_PACKAGE_GST1_DEVTOOLS
+       select BR2_LEGACY
+       help
+         This package has been removed, use gst1-devtools instead.
+
 config BR2_PACKAGE_GST1_PLUGINS_BAD_PLUGIN_YADIF
        bool "gst1-plugins-bad yadif plugin was removed"
        select BR2_LEGACY
index 0e47d78e68a127677f9b23278252b06c07cea138..4a8111333e9524ef3677b30f6a5fdd2d0d7884a2 100644 (file)
@@ -8,13 +8,13 @@ source "package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in"
 source "package/gstreamer1/gst1-plugins-good/Config.in"
 source "package/gstreamer1/gst1-plugins-bad/Config.in"
 source "package/gstreamer1/gst1-plugins-ugly/Config.in"
+source "package/gstreamer1/gst1-devtools/Config.in"
 source "package/gstreamer1/gst1-imx/Config.in"
 source "package/gstreamer1/gst1-interpipe/Config.in"
 source "package/gstreamer1/gst1-libav/Config.in"
 source "package/gstreamer1/gst1-python/Config.in"
 source "package/gstreamer1/gst1-rtsp-server/Config.in"
 source "package/gstreamer1/gst1-shark/Config.in"
-source "package/gstreamer1/gst1-validate/Config.in"
 source "package/gstreamer1/gst1-vaapi/Config.in"
 source "package/gstreamer1/gst-omx/Config.in"
 source "package/gstreamer1/gstreamer1-editing-services/Config.in"
diff --git a/package/gstreamer1/gst1-devtools/Config.in b/package/gstreamer1/gst1-devtools/Config.in
new file mode 100644 (file)
index 0000000..1ca8ab8
--- /dev/null
@@ -0,0 +1,17 @@
+config BR2_PACKAGE_GST1_DEVTOOLS
+       bool "gst1-devtools"
+       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
+       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 (file)
index 0000000..8d26e20
--- /dev/null
@@ -0,0 +1,3 @@
+# From https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-1.18.0.tar.xz.sha256sum
+sha256  82337141b5654f11c440f783892ba9d9498b3b6b98c2286b000f96dce6945f16  gst-devtools-1.18.0.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 (file)
index 0000000..23b4d5a
--- /dev/null
@@ -0,0 +1,32 @@
+################################################################################
+#
+# gst1-devtools
+#
+################################################################################
+
+GST1_DEVTOOLS_VERSION = 1.18.0
+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_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
+
+GST1_DEVTOOLS_CONF_OPTS = \
+       -Dvalidate=enabled \
+       -Ddebug_viewer=disabled \
+       -Dintrospection=disabled \
+       -Dtests=disabled \
+       -Ddoc=disabled
+
+$(eval $(meson-package))
diff --git a/package/gstreamer1/gst1-validate/Config.in b/package/gstreamer1/gst1-validate/Config.in
deleted file mode 100644 (file)
index 63bce61..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-config BR2_PACKAGE_GST1_VALIDATE
-       bool "gst1-validate"
-       depends on BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
-       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
-         GstValidate is a tool that allows GStreamer developers to
-         check that the GstElements they write behave the way they
-         are supposed to.
-
-         http://gstreamer.freedesktop.org/
-
-comment "gst1-validate depends on python"
-       depends on !BR2_PACKAGE_PYTHON
-       depends on !BR2_PACKAGE_PYTHON3
diff --git a/package/gstreamer1/gst1-validate/gst1-validate.hash b/package/gstreamer1/gst1-validate/gst1-validate.hash
deleted file mode 100644 (file)
index 9a0fbf6..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-# From https://gstreamer.freedesktop.org/src/gst-validate/gst-validate-1.16.2.tar.xz.sha256sum
-sha256 4861ccb9326200e74d98007e316b387d48dd49f072e0b78cb9d3303fdecfeeca gst-validate-1.16.2.tar.xz
-sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 COPYING
diff --git a/package/gstreamer1/gst1-validate/gst1-validate.mk b/package/gstreamer1/gst1-validate/gst1-validate.mk
deleted file mode 100644 (file)
index 38b50b6..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-################################################################################
-#
-# gst1-validate
-#
-################################################################################
-
-GST1_VALIDATE_VERSION = 1.16.2
-GST1_VALIDATE_SOURCE = gst-validate-$(GST1_VALIDATE_VERSION).tar.xz
-GST1_VALIDATE_SITE = https://gstreamer.freedesktop.org/src/gst-validate
-GST1_VALIDATE_LICENSE = LGPL-2.1+
-GST1_VALIDATE_LICENSE_FILES = COPYING
-
-GST1_VALIDATE_DEPENDENCIES = \
-       gstreamer1 \
-       gst1-plugins-base \
-       json-glib \
-       $(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-introspection \
-       --disable-sphinx-doc
-
-$(eval $(autotools-package))