diff mbox series

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

Message ID 20171212171114.15534-1-limon.anibal@gmail.com
State Superseded
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

Ross Burton Jan. 5, 2018, 11:39 a.m. UTC | #1
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

On 12 December 2017 at 17:11, 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

>

> [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] = "5139949d20274fdd702492438eeab2

> c9e55aa82f60aca17db27ebd3faf08489e"

> +

> +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

>
<div dir="ltr">If api-documentation is enabled:<div><br></div><div><div>| make[3]: Entering directory &#39;/data/poky-tmp/master/build/work/corei7-64-poky-linux/gst-validate/1.12.4-r0/build/docs/plugins&#39;</div><div>|   DOC   Preparing build</div><div>|   DOC   Preparing build</div><div>|   DOC   Scanning header files</div><div>|   DOC   Scanning header files</div><div>|   DOC   Introspecting gobjects</div><div>|   DOC   Introspecting gobjects</div><div>| ../../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</div><div>| Scan failed:</div><div>| Makefile:802: recipe for target &#39;scan-build.stamp&#39; failed</div></div><div><br></div><div>Ross</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 12 December 2017 at 17:11, Aníbal Limón <span dir="ltr">&lt;<a href="mailto:limon.anibal@gmail.com" target="_blank">limon.anibal@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">From: Aníbal Limón &lt;<a href="mailto:anibal.limon@linaro.org">anibal.limon@linaro.org</a>&gt;<br>
<br>
The gst-validate is a tool to run integration tests of Gstreamer<br>
components [1].<br>
<br>
This tool can be used along with gst-integration-testsuites (scenarios<br>
and media) [2] to test Gstreamer components on the target device.<br>
<br>
An example of test using gst-integration-testsuites:<br>
<br>
$ gst-validate-launcher --sync # get [2] uses git and git-annex<br>
$ gst-validate-launcher<br>
<br>
or<br>
<br>
$ gst-validate-launcher -nd # needs xserver-xorg-xvfb to run wo DISPLAY<br>
<br>
[1]<br>
<a href="https://blogs.gnome.org/tsaunier/2014/04/21/gst-validate-a-suite-of-tools-to-run-integration-tests-for-gstreamer-2/" rel="noreferrer" target="_blank">https://blogs.gnome.org/<wbr>tsaunier/2014/04/21/gst-<wbr>validate-a-suite-of-tools-to-<wbr>run-integration-tests-for-<wbr>gstreamer-2/</a><br>
[2] <a href="https://cgit.freedesktop.org/gstreamer/gst-integration-testsuites" rel="noreferrer" target="_blank">https://cgit.freedesktop.org/<wbr>gstreamer/gst-integration-<wbr>testsuites</a><br>
<br>
Signed-off-by: Aníbal Limón &lt;<a href="mailto:anibal.limon@linaro.org">anibal.limon@linaro.org</a>&gt;<br>

---<br>
 .../gstreamer/<a href="http://gst-validate_1.12.3.bb" rel="noreferrer" target="_blank">gst-validate_1.<wbr>12.3.bb</a>                   | 18 ++++++++++++++++++<br>
 1 file changed, 18 insertions(+)<br>
 create mode 100644 meta/recipes-multimedia/<wbr>gstreamer/<a href="http://gst-validate_1.12.3.bb" rel="noreferrer" target="_blank">gst-validate_1.12.3.<wbr>bb</a><br>
<br>
diff --git a/meta/recipes-multimedia/<wbr>gstreamer/<a href="http://gst-validate_1.12.3.bb" rel="noreferrer" target="_blank">gst-validate_1.12.3.<wbr>bb</a> b/meta/recipes-multimedia/<wbr>gstreamer/<a href="http://gst-validate_1.12.3.bb" rel="noreferrer" target="_blank">gst-validate_1.12.3.<wbr>bb</a><br>
new file mode 100644<br>
index 0000000000..8f5437641f<br>
--- /dev/null<br>
+++ b/meta/recipes-multimedia/<wbr>gstreamer/<a href="http://gst-validate_1.12.3.bb" rel="noreferrer" target="_blank">gst-validate_1.12.3.<wbr>bb</a><br>
@@ -0,0 +1,18 @@<br>
+SUMMARY = &quot;Gstreamer validation tool&quot;<br>
+DESCRIPTION = &quot;A Tool to test GStreamer components&quot;<br>
+HOMEPAGE = &quot;<a href="https://gstreamer.freedesktop.org/releases/gst-validate/1.12.3.html" rel="noreferrer" target="_blank">https://gstreamer.<wbr>freedesktop.org/releases/gst-<wbr>validate/1.12.3.html</a>&quot;<br>
+SECTION = &quot;multimedia&quot;<br>
+<br>
+LICENSE = &quot;LGPLv2.1&quot;<br>
+LIC_FILES_CHKSUM = &quot;file://COPYING;md5=<wbr>a6f89e2100d9b6cdffcea4f398e373<wbr>43&quot;<br>
+<br>
+SRC_URI = &quot;<a href="https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz" rel="noreferrer" target="_blank">https://gstreamer.<wbr>freedesktop.org/src/${BPN}/${<wbr>BP}.tar.xz</a>&quot;<br>
+SRC_URI[md5sum] = &quot;<wbr>623edc479a1e5c1e76bd7e1cf83932<wbr>53&quot;<br>
+SRC_URI[sha256sum] = &quot;<wbr>5139949d20274fdd702492438eeab2<wbr>c9e55aa82f60aca17db27ebd3faf08<wbr>489e&quot;<br>
+<br>
+DEPENDS = &quot;json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base&quot;<br>
+RRECOMMENDS_${PN} = &quot;git&quot;<br>
+<br>
+FILES_${PN} += &quot;${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-<wbr>launcher/* ${libdir}/gstreamer-1.0/*&quot;<br>
+<br>
+inherit pkgconfig gettext autotools gobject-introspection gtk-doc<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.11.0<br>
<br>
--<br>
______________________________<wbr>_________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org">Openembedded-core@lists.<wbr>openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/<wbr>mailman/listinfo/openembedded-<wbr>core</a><br>
</font></span></blockquote></div><br></div>
-- 
_______________________________________________
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