diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-11-06 23:17:39 -0800 |
---|---|---|
committer | Andrei Gherzan <andrei@gherzan.ro> | 2018-11-07 14:25:00 +0000 |
commit | 229363bbac2a32e51b60a8204d0fa91ec7eba38a (patch) | |
tree | fa86c396fccdb622f01fdce08c712055e18779ef | |
parent | 0c14814f230e90dcb8323b5168ec881a284082d9 (diff) | |
download | meta-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_%.bbappend | 8 |
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 @@ | |||
1 | GSTREAMER_1_0_OMX_TARGET_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "bellagio", "rpi", d)}" | 1 | DEPENDS_append_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " userland-nogl", "", d)}" |
2 | GSTREAMER_1_0_OMX_CORE_NAME_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", "", "${libdir}/libomxil-bellagio.so.0", d)}" | 2 | GSTREAMER_1_0_OMX_TARGET_rpi = "rpi" |
3 | 3 | GSTREAMER_1_0_OMX_CORE_NAME_rpi = "${libdir}/libopenmaxil.so" | |
4 | |||
5 | # How to make this RPI specific? | 4 | # How to make this RPI specific? |
6 | EXTRA_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"" | 5 | EXTRA_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 |
8 | EXTRA_OECONF_append_rpi = " --disable-examples" | 7 | EXTRA_OECONF_append_rpi = " --disable-examples" |
9 | 8 | ||
9 | RDEPENDS_${PN}_append_rpi = "${@bb.utils.contains("MACHINE_FEATURES", "vc4graphics", " userland-nogl", "", d)}" | ||