diff options
| author | Anuj Mittal <anuj.mittal@intel.com> | 2023-05-05 11:12:30 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-05-09 07:50:14 +0100 |
| commit | aa53f70b44327c2f29819fa62c92169d58dd4cb8 (patch) | |
| tree | 6105240614919023d3eaace2ea00422fe6b82a15 /meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb | |
| parent | 4641605c794db6648311b931fb3a36fe9e5dea56 (diff) | |
| download | poky-aa53f70b44327c2f29819fa62c92169d58dd4cb8.tar.gz | |
gstreamer1.0: upgrade 1.22.0 -> 1.22.2
(From OE-Core rev: 3da67b03cff75df3f109da961818b3aa6c4ddf95)
(From OE-Core rev: 136a3ea22179eb8e1087928fc8c83ed8eca40b57)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb new file mode 100644 index 0000000000..d2d23050d9 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-omx_1.22.2.bb | |||
| @@ -0,0 +1,47 @@ | |||
| 1 | SUMMARY = "OpenMAX IL plugins for GStreamer" | ||
| 2 | DESCRIPTION = "Wraps available OpenMAX IL components and makes them available as standard GStreamer elements." | ||
| 3 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
| 4 | SECTION = "multimedia" | ||
| 5 | |||
| 6 | LICENSE = "LGPL-2.1-or-later" | ||
| 7 | LICENSE_FLAGS = "commercial" | ||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | ||
| 9 | file://omx/gstomx.h;beginline=1;endline=21;md5=5c8e1fca32704488e76d2ba9ddfa935f" | ||
| 10 | |||
| 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-omx/gst-omx-${PV}.tar.xz" | ||
| 12 | |||
| 13 | SRC_URI[sha256sum] = "1b0c57f2cc4ddeec5e7f0c436e502f06665c4e93c73261855b94e04fc94337b2" | ||
| 14 | |||
| 15 | S = "${WORKDIR}/gst-omx-${PV}" | ||
| 16 | |||
| 17 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad virtual/libomxil" | ||
| 18 | |||
| 19 | inherit meson pkgconfig upstream-version-is-even | ||
| 20 | |||
| 21 | GSTREAMER_1_0_OMX_TARGET ?= "bellagio" | ||
| 22 | GSTREAMER_1_0_OMX_CORE_NAME ?= "${libdir}/libomxil-bellagio.so.0" | ||
| 23 | |||
| 24 | EXTRA_OEMESON += "-Dtarget=${GSTREAMER_1_0_OMX_TARGET}" | ||
| 25 | |||
| 26 | python __anonymous () { | ||
| 27 | omx_target = d.getVar("GSTREAMER_1_0_OMX_TARGET") | ||
| 28 | if omx_target in ['generic', 'bellagio']: | ||
| 29 | # Bellagio headers are incomplete (they are missing the OMX_VERSION_MAJOR,# | ||
| 30 | # OMX_VERSION_MINOR, OMX_VERSION_REVISION, and OMX_VERSION_STEP macros); | ||
| 31 | # appending a directory path to gst-omx' internal OpenMAX IL headers fixes this | ||
| 32 | d.appendVar("CFLAGS", " -I${S}/omx/openmax") | ||
| 33 | elif omx_target == "rpi": | ||
| 34 | # Dedicated Raspberry Pi OpenMAX IL support makes this package machine specific | ||
| 35 | d.setVar("PACKAGE_ARCH", d.getVar("MACHINE_ARCH")) | ||
| 36 | } | ||
| 37 | |||
| 38 | set_omx_core_name() { | ||
| 39 | sed -i -e "s;^core-name=.*;core-name=${GSTREAMER_1_0_OMX_CORE_NAME};" "${D}${sysconfdir}/xdg/gstomx.conf" | ||
| 40 | } | ||
| 41 | do_install[postfuncs] += " set_omx_core_name " | ||
| 42 | |||
| 43 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
| 44 | FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
| 45 | |||
| 46 | VIRTUAL-RUNTIME_libomxil ?= "libomxil" | ||
| 47 | RDEPENDS:${PN} = "${VIRTUAL-RUNTIME_libomxil}" | ||
