diff mbox series

[PATCHv3] recipes-multimedia/gstreamer: Add gst-validate recipe

Message ID 20171212171155.15603-1-limon.anibal@gmail.com
State New
Headers show
Series [PATCHv3] recipes-multimedia/gstreamer: Add gst-validate recipe | expand

Commit Message

Aníbal Limón Dec. 12, 2017, 5:11 p.m. UTC
From: Aníbal Limón <anibal.limon@linaro.org>

The gst-validate is a tool to run integration tests of Gstreamer
components [1].

This tool can be used along with gst-integration-testsuites (scenarios
and media) [2] to test Gstreamer components on the target device.

An example of test using gst-integration-testsuites:

$ gst-validate-launcher --sync # get [2] uses git and git-annex
$ gst-validate-launcher

or

$ gst-validate-launcher -nd # needs xserver-xorg-xvfb to run wo DISPLAY

[1]
https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/
[2] https://cgit.freedesktop.org/gstreamer/gst-integration-testsuites

Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
---
 .../gstreamer/gst-validate_1.12.3.bb                   | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb

Comments

Khem Raj Dec. 12, 2017, 9:27 p.m. UTC | #1
On Tue, Dec 12, 2017 at 9:11 AM, Aníbal Limón <limon.anibal@gmail.com> wrote:
> From: Aníbal Limón <anibal.limon@linaro.org>
>
> The gst-validate is a tool to run integration tests of Gstreamer
> components [1].
>
> This tool can be used along with gst-integration-testsuites (scenarios
> and media) [2] to test Gstreamer components on the target device.
>
> An example of test using gst-integration-testsuites:
>
> $ gst-validate-launcher --sync # get [2] uses git and git-annex
> $ gst-validate-launcher
>
> or
>
> $ gst-validate-launcher -nd # needs xserver-xorg-xvfb to run wo DISPLAY
>

perhaps it should following the same recipe naming convention as gstreamer 1.0

> [1]
> https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/
> [2] https://cgit.freedesktop.org/gstreamer/gst-integration-testsuites
>
> Signed-off-by: Aníbal Limón <anibal.limon@linaro.org>
> ---
>  .../gstreamer/gst-validate_1.12.3.bb                   | 18 ++++++++++++++++++
>  1 file changed, 18 insertions(+)
>  create mode 100644 meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
>
> diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
> new file mode 100644
> index 0000000000..8f5437641f
> --- /dev/null
> +++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
> @@ -0,0 +1,18 @@
> +SUMMARY = "Gstreamer validation tool"
> +DESCRIPTION = "A Tool to test GStreamer components"
> +HOMEPAGE = "https://gstreamer.freedesktop.org/releases/gst-validate/1.12.3.html"
> +SECTION = "multimedia"
> +
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
> +
> +SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz"
> +SRC_URI[md5sum] = "623edc479a1e5c1e76bd7e1cf8393253"
> +SRC_URI[sha256sum] = "5139949d20274fdd702492438eeab2c9e55aa82f60aca17db27ebd3faf08489e"
> +
> +DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
> +RRECOMMENDS_${PN} = "git"
> +
> +FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
> +
> +inherit pkgconfig gettext autotools gobject-introspection gtk-doc
> --
> 2.11.0
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox series

Patch

diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
new file mode 100644
index 0000000000..8f5437641f
--- /dev/null
+++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb
@@ -0,0 +1,18 @@ 
+SUMMARY = "Gstreamer validation tool"
+DESCRIPTION = "A Tool to test GStreamer components"
+HOMEPAGE = "https://gstreamer.freedesktop.org/releases/gst-validate/1.12.3.html"
+SECTION = "multimedia"
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+
+SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz"
+SRC_URI[md5sum] = "623edc479a1e5c1e76bd7e1cf8393253"
+SRC_URI[sha256sum] = "5139949d20274fdd702492438eeab2c9e55aa82f60aca17db27ebd3faf08489e"
+
+DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
+RRECOMMENDS_${PN} = "git"
+
+FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*"
+
+inherit pkgconfig gettext autotools gobject-introspection gtk-doc