From 12aa27df80f32785fb4b498c51a35cc1be1814a9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 3 Nov 2016 13:57:09 -0700 Subject: gstreamer1.0-plugins-bad_%.bbappend: Set PACKAGECONFIG_GL for RPi Enable dispmanx support if using bcm driver Signed-off-by: Khem Raj --- .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'recipes-multimedia') diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend index ab0280e..7292f90 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend @@ -1,2 +1,12 @@ -EXTRA_OECONF_append_rpi = " CPPFLAGS='-I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads \ - -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux'" +EXTRA_OECONF_append_rpi = " CPPFLAGS='-I${STAGING_INCDIR}/interface/vcos/pthreads \ + -I${STAGING_INCDIR}/interface/vmcs_host/linux'" + +# if using bcm driver enable dispmanx not when using VC4 driver + +PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' dispmanx', d)}" + +PACKAGECONFIG_GL_rpi = "egl gles2" + +PACKAGECONFIG_append_rpi = " hls libmms faad" + +PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland" -- cgit v1.2.3-54-g00ecf