summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-11-06 23:17:39 -0800
committerAndrei Gherzan <andrei@gherzan.ro>2018-11-07 14:25:00 +0000
commit229363bbac2a32e51b60a8204d0fa91ec7eba38a (patch)
treefa86c396fccdb622f01fdce08c712055e18779ef
parent0c14814f230e90dcb8323b5168ec881a284082d9 (diff)
downloadmeta-raspberrypi-229363bbac2a32e51b60a8204d0fa91ec7eba38a.tar.gz
gstreamer1.0-omx: Use rpi target and depend on userland-nogl
This ensures that it links to right userland libraries to get access to accelarated video path Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend8
1 files changed, 4 insertions, 4 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend
index 0ee00c2..19cd259 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-omx_%.bbappend
@@ -1,9 +1,9 @@
1GSTREAMER_1_0_OMX_TARGET_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "bellagio", "rpi", d)}" 1DEPENDS_append_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " userland-nogl", "", d)}"
2GSTREAMER_1_0_OMX_CORE_NAME_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "${libdir}/libomxil-bellagio.so.0", d)}" 2GSTREAMER_1_0_OMX_TARGET_rpi = "rpi"
3 3GSTREAMER_1_0_OMX_CORE_NAME_rpi = "${libdir}/libopenmaxil.so"
4
5# How to make this RPI specific? 4# How to make this RPI specific?
6EXTRA_OECONF_append_rpi = " CFLAGS="$CFLAGS -I${STAGING_DIR_TARGET}/usr/include/IL -I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux"" 5EXTRA_OECONF_append_rpi = " CFLAGS="$CFLAGS -I${STAGING_DIR_TARGET}/usr/include/IL -I${STAGING_DIR_TARGET}/usr/include/interface/vcos/pthreads -I${STAGING_DIR_TARGET}/usr/include/interface/vmcs_host/linux""
7#examples only build with GL but not GLES, so disable it for RPI 6#examples only build with GL but not GLES, so disable it for RPI
8EXTRA_OECONF_append_rpi = " --disable-examples" 7EXTRA_OECONF_append_rpi = " --disable-examples"
9 8
9RDEPENDS_${PN}_append_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " userland-nogl", "", d)}"