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-rtsp-server.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-rtsp-server.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc index 7191f9892d..70e90b8ba6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server.inc | |||
@@ -9,7 +9,8 @@ PNREAL = "gst-rtsp-server" | |||
9 | 9 | ||
10 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ | 10 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz \ |
11 | file://0001-Don-t-hardcode-libtool-name-when-using-introspection.patch \ | 11 | file://0001-Don-t-hardcode-libtool-name-when-using-introspection.patch \ |
12 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch" | 12 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ |
13 | file://gtk-doc-tweaks.patch" | ||
13 | 14 | ||
14 | S = "${WORKDIR}/${PNREAL}-${PV}" | 15 | S = "${WORKDIR}/${PNREAL}-${PV}" |
15 | 16 | ||
@@ -24,15 +25,5 @@ delete_pkg_m4_file() { | |||
24 | rm "${S}/common/m4/pkg.m4" || true | 25 | rm "${S}/common/m4/pkg.m4" || true |
25 | } | 26 | } |
26 | 27 | ||
27 | # gstreamer is not using system-wide makefiles (which we patch in gtkdoc recipe, | 28 | do_configure[prefuncs] += " delete_pkg_m4_file" |
28 | # but its own custom ones, which we have to patch here | ||
29 | patch_gtk_doc_makefiles() { | ||
30 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries | ||
31 | # instead of libtool wrapper or running them directly | ||
32 | sed -i \ | ||
33 | -e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \ | ||
34 | ${S}/common/gtk-doc*mak | ||
35 | } | ||
36 | |||
37 | do_configure[prefuncs] += " delete_pkg_m4_file patch_gtk_doc_makefiles" | ||
38 | 29 | ||