diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2020-10-29 14:28:03 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-31 08:54:12 +0000 |
commit | 556b099158e80bc5cb6b0889a605fac81330769d (patch) | |
tree | bc82f1262934969bb17c9aa851ec0d4be479f510 /meta/recipes-multimedia/gstreamer | |
parent | c648b1d1b4b2b922120dba644c47e0b0fd9ab868 (diff) | |
download | poky-556b099158e80bc5cb6b0889a605fac81330769d.tar.gz |
gst-devtools: add version 1.18.0 (gst-validate -> gst-devtools)
The gst-validate tarball has been superseded by the gst-devtools tarball for consistency with the git module name.
(From OE-Core rev: 4af4c8d56da67545d2e5e1e2242ff6878b909e44)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch (renamed from meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch) | 10 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb | 43 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb | 25 |
3 files changed, 48 insertions, 30 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch index a0d215c5a0..c0e4581358 100644 --- a/meta/recipes-multimedia/gstreamer/gst-validate/0001-connect-has-a-different-signature-on-musl.patch +++ b/meta/recipes-multimedia/gstreamer/gst-devtools/0001-connect-has-a-different-signature-on-musl.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 0bd8004d8dddc486d3961a5316d24e8f2645e4c8 Mon Sep 17 00:00:00 2001 | 1 | From 73b1002eda17451db1f58431b42c25203f1d3097 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 | 3 | Date: Sun, 9 Sep 2018 17:38:10 -0700 |
4 | Subject: [PATCH] connect has a different signature on musl | 4 | Subject: [PATCH] connect has a different signature on musl |
@@ -12,13 +12,13 @@ Upstream-Status: Pending | |||
12 | 12 | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | --- | 14 | --- |
15 | plugins/fault_injection/socket_interposer.c | 7 ++++++- | 15 | validate/plugins/fault_injection/socket_interposer.c | 7 ++++++- |
16 | 1 file changed, 6 insertions(+), 1 deletion(-) | 16 | 1 file changed, 6 insertions(+), 1 deletion(-) |
17 | 17 | ||
18 | diff --git a/plugins/fault_injection/socket_interposer.c b/plugins/fault_injection/socket_interposer.c | 18 | diff --git a/validate/plugins/fault_injection/socket_interposer.c b/validate/plugins/fault_injection/socket_interposer.c |
19 | index 53c1ebb..ad7adf8 100644 | 19 | index 53c1ebb..ad7adf8 100644 |
20 | --- a/plugins/fault_injection/socket_interposer.c | 20 | --- a/validate/plugins/fault_injection/socket_interposer.c |
21 | +++ b/plugins/fault_injection/socket_interposer.c | 21 | +++ b/validate/plugins/fault_injection/socket_interposer.c |
22 | @@ -100,10 +100,15 @@ socket_interposer_set_callback (struct sockaddr_in *addrin, | 22 | @@ -100,10 +100,15 @@ socket_interposer_set_callback (struct sockaddr_in *addrin, |
23 | } | 23 | } |
24 | 24 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb new file mode 100644 index 0000000000..63e7a99b4f --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.18.0.bb | |||
@@ -0,0 +1,43 @@ | |||
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 = "LGPLv2.1" | ||
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[md5sum] = "37ca48ea06fb4304cfc9009ec924bc52" | ||
16 | SRC_URI[sha256sum] = "82337141b5654f11c440f783892ba9d9498b3b6b98c2286b000f96dce6945f16" | ||
17 | |||
18 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
19 | RRECOMMENDS_${PN} = "git" | ||
20 | |||
21 | FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | ||
22 | |||
23 | inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection | ||
24 | |||
25 | # TODO: put this in a gettext.bbclass patch | ||
26 | def gettext_oemeson(d): | ||
27 | if d.getVar('USE_NLS') == 'no': | ||
28 | return '-Dnls=disabled' | ||
29 | # Remove the NLS bits if USE_NLS is no or INHIBIT_DEFAULT_DEPS is set | ||
30 | if d.getVar('INHIBIT_DEFAULT_DEPS') and not oe.utils.inherits(d, 'cross-canadian'): | ||
31 | return '-Dnls=disabled' | ||
32 | return '-Dnls=enabled' | ||
33 | |||
34 | EXTRA_OEMESON += " \ | ||
35 | -Ddoc=disabled \ | ||
36 | -Ddebug_viewer=disabled \ | ||
37 | -Dtests=disabled \ | ||
38 | -Dvalidate=enabled \ | ||
39 | ${@gettext_oemeson(d)} \ | ||
40 | " | ||
41 | |||
42 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
43 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb deleted file mode 100644 index 35492fe861..0000000000 --- a/meta/recipes-multimedia/gstreamer/gst-validate_1.16.2.bb +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | SUMMARY = "Gstreamer validation tool" | ||
2 | DESCRIPTION = "A Tool to test GStreamer components" | ||
3 | HOMEPAGE = "https://gstreamer.freedesktop.org/releases/gst-validate/1.12.3.html" | ||
4 | SECTION = "multimedia" | ||
5 | |||
6 | LICENSE = "LGPLv2.1" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" | ||
8 | |||
9 | SRC_URI = "https://gstreamer.freedesktop.org/src/${BPN}/${BP}.tar.xz \ | ||
10 | file://0001-connect-has-a-different-signature-on-musl.patch \ | ||
11 | " | ||
12 | SRC_URI[md5sum] = "688f42c52d62e8c5e506df911553fb2c" | ||
13 | SRC_URI[sha256sum] = "4861ccb9326200e74d98007e316b387d48dd49f072e0b78cb9d3303fdecfeeca" | ||
14 | |||
15 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | ||
16 | RRECOMMENDS_${PN} = "git" | ||
17 | |||
18 | FILES_${PN} += "${datadir}/gstreamer-1.0/* ${libdir}/gst-validate-launcher/* ${libdir}/gstreamer-1.0/*" | ||
19 | |||
20 | inherit pkgconfig gettext autotools gobject-introspection gtk-doc upstream-version-is-even | ||
21 | |||
22 | # With gtk-doc enabled this recipe fails to build, so forcibly disable it: | ||
23 | # WORKDIR/build/docs/validate/gst-validate-scan: line 117: | ||
24 | # WORKDIR/build/docs/validate/.libs/lt-gst-validate-scan: No such file or directory | ||
25 | GTKDOC_ENABLED = "False" | ||