gstreamer1.0-plugins-bad_%.bbappend: Set PACKAGECONFIG_GL for RPi
PATCH 1/1 gstreamer1.0-plugins-bad_%.bbappend: Set PACKAGECONFIG_GL for RPi
Enable dispmanx support if using bcm driver
--- .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +12 -2
@@ -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 then enable dispmanx, other + +PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland" + +PACKAGECONFIG_append_rpi = " "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "dispmanx", d)}" + +PACKAGECONFIG_GL_rpi = "egl gles2" +PACKAGECONFIG_append_rpi = " hls libmms faad dispmanx" +
Signature · 1 line
2.10.2
Quoted 12 lines · Khem Raj
Enable dispmanx support if using bcm driver
Signed-off-by Khem Raj <[email protected]>--- .../gstreamer/gstreamer1.0-plugins-bad_%.bbappend | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-)recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +0
-0
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend line 4
Quoted 6 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +4
-2@@ -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 then enable dispmanx, other
Comment seems to be truncated?
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend line 6
Quoted 2 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +2
-0+ +PACKAGECONFIG[dispmanx] = "--enable-dispmanx,--disable-dispmanx,userland"
Typical style is to put PACKAGECONFIG[foo] lines after defining PACKAGECONFIG.
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend line 8
Quoted 1 line
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1
-0+PACKAGECONFIG_append_rpi = " "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "dispmanx", d)}"
Typo, extra "
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend line 11
Quoted 3 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +3
-0+ +PACKAGECONFIG_GL_rpi = "egl gles2" +PACKAGECONFIG_append_rpi = " hls libmms faad dispmanx"
Appending dispmanx is conditional on MACHINE_FEATURES 3 lines above. It probably shouldn't be unconditional here.
Quoted 9 lines
recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend +1
-1+ --2.10.2
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto