summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc9
1 files changed, 8 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
index 05562b11a7..5d9235104e 100644
--- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
+++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc
@@ -29,10 +29,17 @@ python __anonymous () {
29 d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH")) 29 d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH"))
30} 30}
31 31
32delete_pkg_m4_file() {
33 # Delete m4 files which we provide patched versions of but will be ignored
34 # if these exist
35 rm -f "${S}/common/m4/pkg.m4"
36 rm -f "${S}/common/m4/gtk-doc.m4"
37}
38do_configure[prefuncs] += "delete_pkg_m4_file"
39
32set_omx_core_name() { 40set_omx_core_name() {
33 sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" 41 sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf"
34} 42}
35
36do_install[postfuncs] += " set_omx_core_name " 43do_install[postfuncs] += " set_omx_core_name "
37 44
38FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" 45FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"