Skip to contentSkip to conversation

recipes-multimedia/gstreamer: Add gst-validate recipe

PATCH Superseded Aníbal Limón 2 participants 2 messages Dec 12, 2017 – Jan 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 recipes-multimedia/gstreamer: Add gst-validate recipe

From: Aníbal Limón <[email protected]>

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

---
 .../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
meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb new file +18 -0
new file mode 100644
index 0000000000..8f5437641f
@@ -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
Signature · 1 line
2.11.0
#1 lore raw

If api-documentation is enabled:

| make[3]: Entering directory '/data/poky-tmp/master/build/work/corei7-64-poky-linux/gst-validate/1.12.4-r0/build/docs/plugins'

|   DOC   Preparing build
|   DOC   Preparing build
|   DOC   Scanning header files
|   DOC   Scanning header files
|   DOC   Introspecting gobjects
|   DOC   Introspecting gobjects
| ../../x86_64-poky-linux-libtool: line 11727:

/data/poky-tmp/master/build/work/corei7-64-poky-linux/gst-validate/1.12.4-r0/build/docs/plugins/gst-validate-plugins-scan:
No such file or directory
| Scan failed:
| Makefile:802: recipe for target 'scan-build.stamp' failed

Ross

Quoted 67 lines · Aníbal Limón

From: Aníbal Limón <[email protected]>

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

---
 .../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

meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb new file +3 -0
new file mode 100644
index 0000000000..8f5437641f
@@ -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"

meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb new file +8 -0
+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] = "5139949d20274fdd702492438eeab2

c9e55aa82f60aca17db27ebd3faf08489e"

meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb new file +5 -0
+
+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/*"

meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb new file +2 -1
+
+inherit pkgconfig gettext autotools gobject-introspection gtk-doc
--

2.11.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core