Message ID | 20171206220037.32335-1-limon.anibal@gmail.com |
---|---|
State | Superseded |
Headers | show |
Series | [PATCHv2] recipes-multimedia/gstreamer: Add gst-validate recipe | expand |
On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote: > +# to use non display mode in gst-validate-launcher > +RDEPENDS_${PN} = "xserver-xorg-xvfb" > Don't enforce behaviour. This forces the xvfb server into images which have a proper server, and gst-validate refuses to build if the X11 distro feature is disabled. Ross <div dir="ltr">On 6 December 2017 at 22:00, Aníbal Limón <span dir="ltr"><<a href="mailto:limon.anibal@gmail.com" target="_blank">limon.anibal@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+# to use non display mode in gst-validate-launcher<br> +RDEPENDS_${PN} = "xserver-xorg-xvfb"<br></blockquote><div><br></div><div>Don't enforce behaviour. This forces the xvfb server into images which have a proper server, and gst-validate refuses to build if the X11 distro feature is disabled.</div><div><br></div><div>Ross</div></div></div></div> -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote: > +SRC_URI = "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz > " > ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL: ' https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'. Unable to fetch URL from any source. You need to use BPN not PN, but use ${BP} instead of of BPN-PV. Ross <div dir="ltr">On 6 December 2017 at 22:00, Aníbal Limón <span dir="ltr"><<a href="mailto:limon.anibal@gmail.com" target="_blank">limon.anibal@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">+SRC_URI = "<a href="https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz" rel="noreferrer" target="_blank">https://gstreamer.<wbr>freedesktop.org/src/${PN}/${<wbr>PN}-${PV}.tar.xz</a>"<br></blockquote><div><br></div>ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL: '<a href="https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz">https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz</a>'. Unable to fetch URL from any source.<div><br></div><div>You need to use BPN not PN, but use ${BP} instead of of BPN-PV.</div><div><br></div><div>Ross</div></div></div></div> -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core
On Tue, Dec 12, 2017 at 10:23 AM, Burton, Ross <ross.burton@intel.com> wrote: > On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> wrote: >> >> +SRC_URI = >> "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz" > > > ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL: > 'https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'. > Unable to fetch URL from any source. > > You need to use BPN not PN, but use ${BP} instead of of BPN-PV. Also, it should rdepends on git and git-annex no?
On Tue, Dec 12, 2017 at 1:51 PM, Anibal Limon <anibal.limon@linaro.org> wrote: > > > On 12 December 2017 at 06:50, Otavio Salvador > <otavio.salvador@ossystems.com.br> wrote: >> >> On Tue, Dec 12, 2017 at 10:23 AM, Burton, Ross <ross.burton@intel.com> >> wrote: >> > On 6 December 2017 at 22:00, Aníbal Limón <limon.anibal@gmail.com> >> > wrote: >> >> >> >> +SRC_URI = >> >> "https://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.xz" >> > >> > >> > ERROR: lib32-gst-validate-1.12.3-r0 do_fetch: Fetcher failure for URL: >> > >> > 'https://gstreamer.freedesktop.org/src/lib32-gst-validate/lib32-gst-validate-1.12.3.tar.xz'. >> > Unable to fetch URL from any source. >> > >> > You need to use BPN not PN, but use ${BP} instead of of BPN-PV. >> >> Also, it should rdepends on git and git-annex no? > > > > Yes, i can add the git dependency but git-annex depends on haskell that we > don't have a recipe to build. > > You can copy/populate the gst-integration-testsuites from other source or > create/use other test suites. Would be possible to populate a package? so we'd depend on git-annex on host for it?
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..47f4a260f8 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-validate_1.12.3.bb @@ -0,0 +1,20 @@ +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/${PN}/${PN}-${PV}.tar.xz" +SRC_URI[md5sum] = "623edc479a1e5c1e76bd7e1cf8393253" +SRC_URI[sha256sum] = "5139949d20274fdd702492438eeab2c9e55aa82f60aca17db27ebd3faf08489e" + +DEPENDS = "json-glib glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base" + +# to use non display mode in gst-validate-launcher +RDEPENDS_${PN} = "xserver-xorg-xvfb" + +FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" + +inherit pkgconfig gettext autotools gobject-introspection gtk-doc