building gstreamr from mono repo meson issues

Belisko Marek marek.belisko at gmail.com
Fri Oct 22 06:35:19 UTC 2021


On Thu, Oct 21, 2021 at 2:21 PM Nicolas Dufresne <nicolas at ndufresne.ca> wrote:
>
> Le jeudi 21 octobre 2021 à 19:53 +1100, Matthew Waters via gstreamer-devel a
> écrit :
> >
> > On 21/10/21 17:37, Belisko Marek via gstreamer-devel wrote:
> > > Hello,
> > >
> > > according documentation on webpage :
> > > https://gitlab.freedesktop.org/gstreamer/gstreamer
> > > for building gstreamer it is necessary to run following commands:
> > >
> > > meson builddir
> > > ninja -C builddir
> > >
> > > I'm trying to add support for gstreamer to yocto and I hit some issue
> > > which are not quite clear to me.
> > >
> > > - gstreamer requires meson >= 0.59 (doesn't work with version on
> > > Ubuntu 16.04 or 18.04)
> > > - when added meson 0.59.1 I'm hitting following issue:
> > >
> > >  | DEBUG: Python function extend_recipe_sysroot finished
> > > > DEBUG: Executing shell function do_configure
> > > > NOTE: Executing meson -Dintrospection=true ...
> >
> > You need to update your build scripts (yocto?) to not use
> > -Dintrospection=true and as mentioned below, use "enabled", "disabled",
> > or "auto", probably "enabled".
>
> p.s. I don't think Yocto will need any update to build from tarballs, as we will
> emit the same tarballs as before. You can maintain the git support by simply
> building form the right direction (e.g. cd subproject/gstreamer) and then
> anything else from upstream Yocto should still work.
OK I'll give a try. Thanks.
>
> >
> > > > The Meson build system
> > > > Version: 0.59.1
> > > > Source dir: /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/git
> > > > Build dir: /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/build
> > > > Build type: cross build
> > > >
> > > > ../git/meson.build:1:0: ERROR: Value "true" (of type "string") for
> > > combo option "Generate gobject-introspection bindings" is not one of
> > > the choices. Possible choices are (as string): "enabled", "disabled",
> > > "auto".
> > > >
> > > > A full log can be found at
> > > /home/builder/build/tmp/work/cortexa53-crypto-poky-linux/gstreamer/1.0+gitAUTOINC+b4ca58df76-r0/build/meson-logs/meson-log.txt
> > > > ERROR: meson failed
> > >
> > > Is meson too new or am I doing something wrong?
> > >
> > > Is there some way to cross-compile gstreamer from mono  repo in some
> > > docker container or so for experimenting with bleeding edge master?
> > >
> > > Thanks and BR,
> > >
> > > marek
> > >
> >
>
>

marek


More information about the gstreamer-devel mailing list