]> code.ossystems Code Review - openembedded-core.git/commitdiff
gstreamer1.0-omx: delete broken m4 files
authorRoss Burton <ross.burton@intel.com>
Fri, 26 May 2017 13:37:13 +0000 (14:37 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 29 May 2017 14:15:13 +0000 (15:15 +0100)
These m4 files need to be deleted so that the versions in the sysroot that we've
patched are used.  Specifically, building documentation fails as the gtk-doc
checks fail.

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-multimedia/gstreamer/gstreamer1.0-omx.inc

index 05562b11a7e128c9e1dabcdeb88964ecad64208f..5d9235104ecca93b615a3a24012ef964eb0eaba3 100644 (file)
@@ -29,10 +29,17 @@ python __anonymous () {
         d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH"))
 }
 
+delete_pkg_m4_file() {
+    # Delete m4 files which we provide patched versions of but will be ignored
+    # if these exist
+       rm -f "${S}/common/m4/pkg.m4"
+       rm -f "${S}/common/m4/gtk-doc.m4"
+}
+do_configure[prefuncs] += "delete_pkg_m4_file"
+
 set_omx_core_name() {
        sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf"
 }
-
 do_install[postfuncs] += " set_omx_core_name "
 
 FILES_${PN} += "${libdir}/gstreamer-1.0/*.so"