diff options
| author | Ross Burton <ross.burton@intel.com> | 2017-12-20 13:03:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-01-07 14:05:39 +0000 |
| commit | b7376a36a3beb36131a791d79d66eb0110b7b954 (patch) | |
| tree | 5aba51997ac9bd31b3b7225766cfa6f67159bad1 /meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | |
| parent | 492f842360888a914cae4bf5c975205d24b773ec (diff) | |
| download | poky-b7376a36a3beb36131a791d79d66eb0110b7b954.tar.gz | |
gstreamer: use a patch instead of sed to fix gtk-doc makefiles
seds can get stale without warning and repeated application can cause problems,
so move the gtk-doc seds into a patch.
(From OE-Core rev: a704411ab0f1e5f8cbf57ff54b36d60ccaf0d223)
(From OE-Core rev: e0a4e78b879eeacff8ef6803c1345056abf018e7)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc index 3f6d4c3703..5906e4ad36 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | |||
| @@ -5,6 +5,8 @@ SECTION = "multimedia" | |||
| 5 | 5 | ||
| 6 | DEPENDS = "gstreamer1.0 glib-2.0-native" | 6 | DEPENDS = "gstreamer1.0 glib-2.0-native" |
| 7 | 7 | ||
| 8 | SRC_URI_append = " file://gtk-doc-tweaks.patch" | ||
| 9 | |||
| 8 | inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc | 10 | inherit autotools pkgconfig upstream-version-is-even gobject-introspection gtk-doc |
| 9 | 11 | ||
| 10 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | 12 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
| @@ -34,18 +36,6 @@ delete_pkg_m4_file() { | |||
| 34 | rm -f "${S}/common/m4/gtk-doc.m4" | 36 | rm -f "${S}/common/m4/gtk-doc.m4" |
| 35 | } | 37 | } |
| 36 | 38 | ||
| 37 | # gstreamer is not using system-wide makefiles (which we patch in gtkdoc recipe, | 39 | do_configure[prefuncs] += " delete_pkg_m4_file" |
| 38 | # but its own custom ones, which we have to patch here | ||
| 39 | patch_gtk_doc_makefiles() { | ||
| 40 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries | ||
| 41 | # instead of libtool wrapper or running them directly | ||
| 42 | # Also substitute a bogus plugin scanner, as trying to run the real one is causing issues during build on x86_64. | ||
| 43 | sed -i \ | ||
| 44 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ | ||
| 45 | -e "s|\$(GTKDOC_EXTRA_ENVIRONMENT)|\$(GTKDOC_EXTRA_ENVIRONMENT) GST_PLUGIN_SCANNER_1_0=\$(top_builddir)/libs/gst/helpers/gst-plugin-scanner-dummy|" \ | ||
| 46 | ${S}/common/gtk-doc*mak | ||
| 47 | } | ||
| 48 | |||
| 49 | do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles" | ||
| 50 | 40 | ||
| 51 | PACKAGES_DYNAMIC = "^${PN}-.*" | 41 | PACKAGES_DYNAMIC = "^${PN}-.*" |
