diff options
| author | Alexander Kanavin <alex@linutronix.de> | 2024-12-28 21:49:07 +0100 |
|---|---|---|
| committer | Steve Sakoman <steve@sakoman.com> | 2025-01-09 06:02:48 -0800 |
| commit | 4d7a32679ffa3cb7e59464207cddcf40a52ce5f2 (patch) | |
| tree | 2d2d64baa71ff7fdf65341b143afce0dadeae967 /meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb | |
| parent | 2f971cc14b4aefb4582d6a9990a4737a48e4233d (diff) | |
| download | poky-4d7a32679ffa3cb7e59464207cddcf40a52ce5f2.tar.gz | |
gstreamer1.0: upgrade 1.24.6 -> 1.24.9
(From OE-Core rev: e01f9c79725388437d52096701416b61d9a0aa7d)
(From OE-Core rev: e30a79d4ee30b51cdc83fc13121d548fde3b1e7a)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb')
| -rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb new file mode 100644 index 0000000000..a756f9e3a2 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.9.bb | |||
| @@ -0,0 +1,74 @@ | |||
| 1 | SUMMARY = "GStreamer 1.0 multimedia framework" | ||
| 2 | DESCRIPTION = "GStreamer is a multimedia framework for encoding and decoding video and sound. \ | ||
| 3 | It supports a wide range of formats including mp3, ogg, avi, mpeg and quicktime." | ||
| 4 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
| 5 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | ||
| 6 | SECTION = "multimedia" | ||
| 7 | LICENSE = "LGPL-2.1-or-later" | ||
| 8 | |||
| 9 | DEPENDS = "glib-2.0 glib-2.0-native libxml2 bison-native flex-native" | ||
| 10 | |||
| 11 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection ptest-gnome | ||
| 12 | |||
| 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | ||
| 14 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d" | ||
| 15 | |||
| 16 | S = "${WORKDIR}/gstreamer-${PV}" | ||
| 17 | |||
| 18 | SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ | ||
| 19 | file://run-ptest \ | ||
| 20 | file://0001-tests-respect-the-idententaion-used-in-meson.patch \ | ||
| 21 | file://0002-tests-add-support-for-install-the-tests.patch \ | ||
| 22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ | ||
| 23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ | ||
| 24 | " | ||
| 25 | SRC_URI[sha256sum] = "ebf47b6beef508a00c8557d4c1f1713e5c7ef9ba70dac45deed80e182bcf260f" | ||
| 26 | |||
| 27 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | ||
| 28 | check \ | ||
| 29 | debug \ | ||
| 30 | tools" | ||
| 31 | |||
| 32 | PACKAGECONFIG[debug] = "-Dgst_debug=true,-Dgst_debug=false" | ||
| 33 | PACKAGECONFIG[tracer-hooks] = "-Dtracer_hooks=true,-Dtracer_hooks=false" | ||
| 34 | PACKAGECONFIG[coretracers] = "-Dcoretracers=enabled,-Dcoretracers=disabled" | ||
| 35 | PACKAGECONFIG[check] = "-Dcheck=enabled,-Dcheck=disabled" | ||
| 36 | PACKAGECONFIG[tests] = "-Dtests=enabled -Dinstalled_tests=true,-Dtests=disabled -Dinstalled_tests=false" | ||
| 37 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | ||
| 38 | PACKAGECONFIG[dw] = "-Dlibdw=enabled,-Dlibdw=disabled,elfutils" | ||
| 39 | PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-completion" | ||
| 40 | PACKAGECONFIG[tools] = "-Dtools=enabled,-Dtools=disabled" | ||
| 41 | PACKAGECONFIG[setcap] = "-Dptp-helper-permissions=capabilities,,libcap libcap-native" | ||
| 42 | |||
| 43 | # TODO: put this in a gettext.bbclass patch | ||
| 44 | def gettext_oemeson(d): | ||
| 45 | if d.getVar('USE_NLS') == 'no': | ||
| 46 | return '-Dnls=disabled' | ||
| 47 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
| 48 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
| 49 | return '-Dnls=disabled' | ||
| 50 | return '-Dnls=enabled' | ||
| 51 | |||
| 52 | EXTRA_OEMESON += " \ | ||
| 53 | -Ddoc=disabled \ | ||
| 54 | -Dexamples=disabled \ | ||
| 55 | -Ddbghelp=disabled \ | ||
| 56 | ${@gettext_oemeson(d)} \ | ||
| 57 | " | ||
| 58 | |||
| 59 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
| 60 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
| 61 | |||
| 62 | PACKAGES += "${PN}-bash-completion" | ||
| 63 | |||
| 64 | # Add the core element plugins to the main package | ||
| 65 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
| 66 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include" | ||
| 67 | FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*" | ||
| 68 | FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb" | ||
| 69 | |||
| 70 | RDEPENDS:${PN}-ptest:append:libc-glibc = " glibc-gconv-iso8859-5" | ||
| 71 | |||
| 72 | CVE_PRODUCT = "gstreamer" | ||
| 73 | |||
| 74 | PTEST_BUILD_HOST_FILES = "" | ||
