diff options
author | Wang Mingyu <wangmy@fujitsu.com> | 2023-12-27 21:06:47 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-12-30 11:03:07 +0000 |
commit | ca78b23f57519c6e82008bd3534a33569046910d (patch) | |
tree | 4016a7260dff229409ca7f02b2d3c29a797f8195 /meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb | |
parent | faae19bca0e4dd8db683aac77f24331b240f2a52 (diff) | |
download | poky-ca78b23f57519c6e82008bd3534a33569046910d.tar.gz |
gstreamer1.0: upgrade 1.22.7 -> 1.22.8
(From OE-Core rev: 132d8b7e0188aae8849ae43cfffabce4389a55df)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb new file mode 100644 index 0000000000..16a2dd85ce --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.22.8.bb | |||
@@ -0,0 +1,52 @@ | |||
1 | SUMMARY = "Gstreamer validation tool" | ||
2 | DESCRIPTION = "A Tool to test GStreamer components" | ||
3 | HOMEPAGE = "https://gstreamer.freedesktop.org/documentation/gst-devtools/index.html" | ||
4 | SECTION = "multimedia" | ||
5 | |||
6 | LICENSE = "LGPL-2.1-or-later" | ||
7 | LIC_FILES_CHKSUM = "file://validate/COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
8 | |||
9 | #S = "${WORKDIR}/gst-devtools-${PV}" | ||
10 | |||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV}.tar.xz \ | ||
12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[sha256sum] = "cd634056fcb16d035b3df5953ec85ae8bd56c68f29920b720ef920ca71ea76a7" | ||
16 | |||
17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
18 | RRECOMMENDS:${PN} = "git" | ||
19 | |||
20 | FILES:${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | ||
21 | |||
22 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection | ||
23 | |||
24 | # TODO: put this in a gettext.bbclass patch | ||
25 | def gettext_oemeson(d): | ||
26 | if d.getVar('USE_NLS') == 'no': | ||
27 | return '-Dnls=disabled' | ||
28 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
29 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
30 | return '-Dnls=disabled' | ||
31 | return '-Dnls=enabled' | ||
32 | |||
33 | # Build GstValidateVideo | ||
34 | PACKAGECONFIG[cairo] = "-Dcairo=enabled,-Dcairo=disabled,cairo" | ||
35 | |||
36 | EXTRA_OEMESON += " \ | ||
37 | -Ddoc=disabled \ | ||
38 | -Ddebug_viewer=disabled \ | ||
39 | -Dtests=disabled \ | ||
40 | -Dvalidate=enabled \ | ||
41 | ${@gettext_oemeson(d)} \ | ||
42 | " | ||
43 | |||
44 | do_install:append () { | ||
45 | for fn in ${bindir}/gst-validate-launcher \ | ||
46 | ${libdir}/gst-validate-launcher/python/launcher/config.py; do | ||
47 | sed -i -e 's,${B},/usr/src/debug/${PN},g' -e 's,${S},/usr/src/debug/${PN},g' ${D}$fn | ||
48 | done | ||
49 | } | ||
50 | |||
51 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
52 | GIR_MESON_DISABLE_FLAG = "disabled" | ||