[Buildroot] [PATCH 1/1] package/gstreamer1/gst1-plugins-bad: fix opengl dependency

Thomas Petazzoni thomas.petazzoni at bootlin.com
Fri Aug 16 12:31:42 UTC 2019


Hello James,

+Peter Seiderer

On Thu, 15 Aug 2019 16:54:56 -0600
James Hilliard <james.hilliard1 at gmail.com> wrote:

> On Thu, Aug 15, 2019 at 4:02 PM Thomas Petazzoni
> <thomas.petazzoni at bootlin.com> wrote:
> >
> > James, Adrian, Adam,
> >
> > On Wed,  7 Aug 2019 15:58:04 -0600
> > James Hilliard <james.hilliard1 at gmail.com> wrote:
> >  
> > > Fixes:
> > > WPEThreadedView.h:24:10: fatal error: gst/gl/gl.h: No such file or directory
> > >  #include <gst/gl/gl.h>

So, I just did a test with the following defconfig, which only has
OpenGL ES (provided by rpi-userland) and not the full OpenGL:

BR2_arm=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://autobuild.buildroot.org/toolchains/tarballs/br-arm-full-2019.05.1.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_4_9=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_14=y
BR2_TOOLCHAIN_EXTERNAL_LOCALE=y
# BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_INIT_NONE=y
BR2_SYSTEM_BIN_SH_NONE=y
# BR2_PACKAGE_BUSYBOX is not set
BR2_PACKAGE_GSTREAMER1=y
BR2_PACKAGE_GST1_PLUGINS_BASE=y
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIOCONVERT is not set
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_AUDIORESAMPLE is not set
# BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VOLUME is not set
BR2_PACKAGE_GST1_PLUGINS_BASE_LIB_OPENGL=y
BR2_PACKAGE_RPI_USERLAND=y
# BR2_TARGET_ROOTFS_TAR is not set

And it does provide gst/gl/gl.h:

$ find . -name 'gl.h'
./output/host/arm-buildroot-linux-uclibcgnueabi/sysroot/usr/include/GLES/gl.h

So, gst/gl/gl.h is provided when OpenGL ES is used, which means your
patch is most likely incorrect, and we should allow enabling the wpe
plugin when OpenGL ES is available.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



More information about the buildroot mailing list