[meta-intel] [PATCH 0/1] gstreamer-vaapi: Update to upstream version 1.8.2

Trevor Woerner twoerner at gmail.com
Tue Jul 26 11:24:07 PDT 2016


On Tue 2016-07-26 @ 01:49:24 PM, Trevor Woerner wrote:
> On Tue 2016-07-26 @ 10:20:28 AM, Scott D Phillips wrote:
> > On Tue, Jul 26, 2016 at 01:09:21PM -0400, Trevor Woerner wrote:
> > > This commit is causing the following error in my builds:
> > > 
> > > 	| checking for GST_VIDEO... yes
> > > 	| checking for GST_PBUTILS... yes
> > > 	| checking for GST_CODEC_PARSERS... yes
> > > 	| checking for GST_GL... configure: error: Package requirements (gstreamer-gl-1.0 >= 1.8.0) were not met:
> > > 	| 
> > > 	| No package 'gstreamer-gl-1.0' found
> > > 	| 
> > > 	| Consider adjusting the PKG_CONFIG_PATH environment variable if you
> > > 	| installed software in a non-standard prefix.
> > > 	| 
> > > 	| Alternatively, you may set the environment variables GST_GL_CFLAGS
> > > 	| and GST_GL_LIBS to avoid the need to call pkg-config.
> > > 	| See the pkg-config man page for more details.
> > > 	| 
> > > 	| WARNING: /z/layerindex-master/minnowmax/tmp/work/corei7-64-fortress-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/run.do_configure.31940:1 exit 1 from 'exit 1'
> > > 	| ERROR: Function failed: do_configure (log file is located at /z/layerindex-master/minnowmax/tmp/work/corei7-64-fortress-linux/gstreamer-vaapi-1.0/1.8.2-r0/temp/log.do_configure.31940)
> > > 	ERROR: Task /z/layerindex-master/layers/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb:do_configure (/z/layerindex-master/layers/meta-intel/common/recipes-multimedia/gstreamer/gstreamer-vaapi-1.0_1.8.2.bb:do_configure) failed with exit code '1'
> > > 
> > > It appears that if you want to update gstreamer-vaapi you also need to provide
> > > a gstreamer-gl or enable some build flag to not want it.
> > > 
> > 
> > gstreamer-gl-1.0 is one of a few libraries provided by
> > gstreamer1.0-plugins-bad and I think it is properly stated as a
> > dependency of the gstreamer-vaapi build.
> 
> True, gstreamer-gl seems to be build as part of gstreamer-bad:
> 
> 	find . -name "*gstreamer-gl*" -print
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/build/pkgconfig/gstreamer-gl-uninstalled.pc
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/build/pkgconfig/gstreamer-gl.pc
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/gst-plugins-bad-1.8.2/.pc/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/gst-plugins-bad-1.8.2/.pc/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch/pkgconfig/gstreamer-gl.pc.in
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/gst-plugins-bad-1.8.2/patches/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/gst-plugins-bad-1.8.2/pkgconfig/gstreamer-gl.pc.in
> 	./gstreamer1.0-plugins-bad/1.8.2-r0/gst-plugins-bad-1.8.2/pkgconfig/gstreamer-gl-uninstalled.pc.in
> 
> but nothing seems to be packaging it up (i.e. not found in packages-split).
> 
> > Do you have gstreamer1.0-plugins-bad_1.8.2.bb under
> > poky/meta/recipes-multimedia/gstreamer ?
> 
> Yes I do (as part of openembedded-core).

It seems as though adding:

	PACKAGECONFIG_pn-gstreamer1.0-plugins-bad = "opengl"

to local.conf fixes the issue. But my distro does contain opengl as part of
its DISTRO_FEATURES. So I'm not entirely sure why this configuration option
wouldn't turn itself on by default :-(


More information about the meta-intel mailing list