diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-05-18 12:58:20 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-05-20 22:52:22 +0100 |
commit | 6372293e508dc99ad563976a481edaa0592c9693 (patch) | |
tree | 0cfed7004444f510863a7882aacaadf03b26c836 /meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb | |
parent | 51145a38a2567514de3e5e73132fa9edc2895f50 (diff) | |
download | poky-6372293e508dc99ad563976a481edaa0592c9693.tar.gz |
gstreamer1.0: upgrade 1.20.1 -> 1.20.2
(From OE-Core rev: bb113caee72db30124f6cf8aa12fbaa14277fab5)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb new file mode 100644 index 0000000000..3aa9aa7048 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.20.2.bb | |||
@@ -0,0 +1,73 @@ | |||
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;striplevel=3 \ | ||
21 | file://0002-tests-add-support-for-install-the-tests.patch;striplevel=3 \ | ||
22 | file://0003-tests-use-a-dictionaries-for-environment.patch;striplevel=3 \ | ||
23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch;striplevel=3 \ | ||
24 | file://0005-tests-remove-gstbin-test_watch_for_state_change-test.patch \ | ||
25 | " | ||
26 | SRC_URI[sha256sum] = "df24e8792691a02dfe003b3833a51f1dbc6c3331ae625d143b17da939ceb5e0a" | ||
27 | |||
28 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | ||
29 | check \ | ||
30 | debug \ | ||
31 | tools" | ||
32 | |||
33 | PACKAGECONFIG[debug] = "-Dgst_debug=true,-Dgst_debug=false" | ||
34 | PACKAGECONFIG[tracer-hooks] = "-Dtracer_hooks=true,-Dtracer_hooks=false" | ||
35 | PACKAGECONFIG[coretracers] = "-Dcoretracers=enabled,-Dcoretracers=disabled" | ||
36 | PACKAGECONFIG[check] = "-Dcheck=enabled,-Dcheck=disabled" | ||
37 | PACKAGECONFIG[tests] = "-Dtests=enabled -Dinstalled_tests=true,-Dtests=disabled -Dinstalled_tests=false" | ||
38 | PACKAGECONFIG[unwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" | ||
39 | PACKAGECONFIG[dw] = "-Dlibdw=enabled,-Dlibdw=disabled,elfutils" | ||
40 | PACKAGECONFIG[bash-completion] = "-Dbash-completion=enabled,-Dbash-completion=disabled,bash-completion" | ||
41 | PACKAGECONFIG[tools] = "-Dtools=enabled,-Dtools=disabled" | ||
42 | PACKAGECONFIG[setcap] = "-Dptp-helper-permissions=capabilities,,libcap libcap-native" | ||
43 | |||
44 | # TODO: put this in a gettext.bbclass patch | ||
45 | def gettext_oemeson(d): | ||
46 | if d.getVar('USE_NLS') == 'no': | ||
47 | return '-Dnls=disabled' | ||
48 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
49 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
50 | return '-Dnls=disabled' | ||
51 | return '-Dnls=enabled' | ||
52 | |||
53 | EXTRA_OEMESON += " \ | ||
54 | -Ddoc=disabled \ | ||
55 | -Dexamples=disabled \ | ||
56 | -Ddbghelp=disabled \ | ||
57 | ${@gettext_oemeson(d)} \ | ||
58 | " | ||
59 | |||
60 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
61 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
62 | |||
63 | PACKAGES += "${PN}-bash-completion" | ||
64 | |||
65 | # Add the core element plugins to the main package | ||
66 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | ||
67 | FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include" | ||
68 | FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*" | ||
69 | FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb" | ||
70 | |||
71 | CVE_PRODUCT = "gstreamer" | ||
72 | |||
73 | PTEST_BUILD_HOST_FILES = "" | ||