diff options
author | Carlos Rafael Giani <crg7475@mailbox.org> | 2020-01-12 14:59:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-16 22:33:08 +0000 |
commit | ae3d39ddfd173e5198a02469c06415516a8163a6 (patch) | |
tree | fdcf5499f88b27d9564ea066aa42f07d2a8c0c38 /meta/recipes-multimedia | |
parent | c84a522fd444d495e2a28ab2a0a9b001fe981a93 (diff) | |
download | poky-ae3d39ddfd173e5198a02469c06415516a8163a6.tar.gz |
gstreamer1.0-omx: Transition to meson based build
* Removed autotools/M4 specific bits from recipe.
* gettext, gtk-doc, and valgrind support is no longer present in gst-omx,
and arguably never really was (because they were present in the "common"
git submodule that is no longer being used in meson base builds).
(From OE-Core rev: cc56078e2bb793829610225a3f9d66a4454b6880)
Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb index cb2f7045a8..89e13937ea 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.16.1.bb | |||
@@ -16,14 +16,12 @@ S = "${WORKDIR}/gst-omx-${PV}" | |||
16 | 16 | ||
17 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
18 | 18 | ||
19 | inherit autotools pkgconfig gettext gtk-doc upstream-version-is-even | 19 | inherit meson pkgconfig upstream-version-is-even |
20 | |||
21 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | ||
22 | 20 | ||
23 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" | 21 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" |
24 | GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0" | 22 | GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0" |
25 | 23 | ||
26 | EXTRA_OECONF += "--disable-valgrind --with-omx-target=${GSTREAMER_1_0_OMX_TARGET}" | 24 | EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}" |
27 | 25 | ||
28 | python __anonymous () { | 26 | python __anonymous () { |
29 | omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET") | 27 | omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET") |
@@ -37,21 +35,12 @@ python __anonymous () { | |||
37 | d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH")) | 35 | d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH")) |
38 | } | 36 | } |
39 | 37 | ||
40 | delete_pkg_m4_file() { | ||
41 | # Delete m4 files which we provide patched versions of but will be ignored | ||
42 | # if these exist | ||
43 | rm -f "${S}/common/m4/pkg.m4" | ||
44 | rm -f "${S}/common/m4/gtk-doc.m4" | ||
45 | } | ||
46 | do_configure[prefuncs] += "delete_pkg_m4_file" | ||
47 | |||
48 | set_omx_core_name() { | 38 | set_omx_core_name() { |
49 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" | 39 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" |
50 | } | 40 | } |
51 | do_install[postfuncs] += " set_omx_core_name " | 41 | do_install[postfuncs] += " set_omx_core_name " |
52 | 42 | ||
53 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" | 43 | FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" |
54 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" | ||
55 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | 44 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" |
56 | 45 | ||
57 | RDEPENDS_${PN} = "libomxil" | 46 | RDEPENDS_${PN} = "libomxil" |