diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer')
25 files changed, 107 insertions, 86 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools/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 8520567f17..aeb296aa96 100644 --- a/meta/recipes-multimedia/gstreamer/gst-devtools/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 c20894a5e6f52aa9fe3437e733a228b1a0eb6428 Mon Sep 17 00:00:00 2001 | 1 | From 9ed608c901955b0906aac102d5d7ab06accee60e 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 |
@@ -8,7 +8,7 @@ API has a different signature, this patch fixes this so it can compile | |||
8 | on musl, the functionality should remain same as it is immediately | 8 | on musl, the functionality should remain same as it is immediately |
9 | typcasted to struct sockaddr_in* type inside the function before use | 9 | typcasted to struct sockaddr_in* type inside the function before use |
10 | 10 | ||
11 | Upstream-Status: Pending | 11 | Upstream-Status: Submitted [https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8767] |
12 | 12 | ||
13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
14 | --- | 14 | --- |
diff --git a/meta/recipes-multimedia/gstreamer/gst-devtools_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gst-devtools_1.26.3.bb index 9df802afe9..f107af110b 100644 --- a/meta/recipes-multimedia/gstreamer/gst-devtools_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gst-devtools_1.26.3.bb | |||
@@ -12,7 +12,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-devtools/gst-devtools-${PV} | |||
12 | file://0001-connect-has-a-different-signature-on-musl.patch \ | 12 | file://0001-connect-has-a-different-signature-on-musl.patch \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRC_URI[sha256sum] = "b91114a2fd958f42acf441186e87e2bec93538ef35a9f8248111197360ffb237" | 15 | SRC_URI[sha256sum] = "4fde19c3c144834f8cb05c2ca3f14b3a50d395bad203d17f98a6e70c1672f2ba" |
16 | 16 | ||
17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" | 17 | DEPENDS = "json-glib glib-2.0 glib-2.0-native gstreamer1.0 gstreamer1.0-plugins-base" |
18 | RRECOMMENDS:${PN} = "git" | 18 | RRECOMMENDS:${PN} = "git" |
@@ -37,6 +37,7 @@ EXTRA_OEMESON += " \ | |||
37 | -Ddoc=disabled \ | 37 | -Ddoc=disabled \ |
38 | -Ddebug_viewer=disabled \ | 38 | -Ddebug_viewer=disabled \ |
39 | -Dtests=disabled \ | 39 | -Dtests=disabled \ |
40 | -Ddots_viewer=disabled \ | ||
40 | -Dvalidate=enabled \ | 41 | -Dvalidate=enabled \ |
41 | ${@gettext_oemeson(d)} \ | 42 | ${@gettext_oemeson(d)} \ |
42 | " | 43 | " |
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch index ab93c13244..828c87dc9a 100644 --- a/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch +++ b/meta/recipes-multimedia/gstreamer/gst-examples/0001-Make-player-examples-installable.patch | |||
@@ -13,25 +13,25 @@ https://bugzilla.gnome.org/show_bug.cgi?id=777827 | |||
13 | playback/player/gtk/meson.build | 1 + | 13 | playback/player/gtk/meson.build | 1 + |
14 | 2 files changed, 2 insertions(+) | 14 | 2 files changed, 2 insertions(+) |
15 | 15 | ||
16 | diff --git a/playback/player/gst-play/meson.build b/playback/player/gst-play/meson.build | 16 | Index: gst-examples/playback/player/gst-play/meson.build |
17 | index 8ec021d..977cc5c 100644 | 17 | =================================================================== |
18 | --- a/playback/player/gst-play/meson.build | 18 | --- gst-examples.orig/playback/player/gst-play/meson.build |
19 | +++ b/playback/player/gst-play/meson.build | 19 | +++ gst-examples/playback/player/gst-play/meson.build |
20 | @@ -2,5 +2,6 @@ executable('gst-play', | 20 | @@ -2,5 +2,6 @@ executable('gst-play', |
21 | ['gst-play.c', | 21 | ['gst-play.c', |
22 | 'gst-play-kb.c', | 22 | 'gst-play-kb.c', |
23 | 'gst-play-kb.h'], | 23 | 'gst-play-kb.h'], |
24 | + install: true, | 24 | + install: true, |
25 | dependencies : [gst_dep, gstplayer_dep, m_dep]) | 25 | dependencies : [gst_dep, dependency('gstreamer-play-1.0'), m_dep]) |
26 | 26 | ||
27 | diff --git a/playback/player/gtk/meson.build b/playback/player/gtk/meson.build | 27 | Index: gst-examples/playback/player/gtk/meson.build |
28 | index f7a7419..6281130 100644 | 28 | =================================================================== |
29 | --- a/playback/player/gtk/meson.build | 29 | --- gst-examples.orig/playback/player/gtk/meson.build |
30 | +++ b/playback/player/gtk/meson.build | 30 | +++ gst-examples/playback/player/gtk/meson.build |
31 | @@ -13,5 +13,6 @@ if gtk_dep.found() | 31 | @@ -20,5 +20,6 @@ if gtk_dep.found() |
32 | gtk_play_resources, | ||
33 | 'gtk-video-renderer.h', | 32 | 'gtk-video-renderer.h', |
34 | 'gtk-video-renderer.c'], | 33 | 'gtk-video-renderer.c'], |
35 | + install: true, | 34 | c_args : extra_c_args, |
36 | dependencies : [glib_dep, gobject_dep, gmodule_dep, gst_dep, gsttag_dep, gstplayer_dep, gtk_dep, x11_dep]) | 35 | + install: true, |
36 | dependencies : [gst_dep, gsttag_dep, gstplay_dep, gtk_dep, x11_dep]) | ||
37 | endif | 37 | endif |
diff --git a/meta/recipes-multimedia/gstreamer/gst-examples_1.18.6.bb b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb index 70b72fd7fb..8835b7d97b 100644 --- a/meta/recipes-multimedia/gstreamer/gst-examples_1.18.6.bb +++ b/meta/recipes-multimedia/gstreamer/gst-examples_1.26.3.bb | |||
@@ -5,20 +5,20 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-examples/-/issues" | |||
5 | LICENSE = "LGPL-2.0-or-later" | 5 | LICENSE = "LGPL-2.0-or-later" |
6 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" | 6 | LIC_FILES_CHKSUM = "file://playback/player/gtk/gtk-play.c;beginline=1;endline=20;md5=f8c72dae3d36823ec716a9ebcae593b9" |
7 | 7 | ||
8 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 libsoup-2.4 json-glib glib-2.0-native" | 8 | DEPENDS = "glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad gtk+3 json-glib glib-2.0-native" |
9 | 9 | ||
10 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gst-examples.git;protocol=https;branch=1.18 \ | 10 | SRC_URI = "git://gitlab.freedesktop.org/gstreamer/gstreamer.git;protocol=https;branch=1.26;tag=${PV} \ |
11 | file://0001-Make-player-examples-installable.patch \ | 11 | file://0001-Make-player-examples-installable.patch \ |
12 | file://gst-player.desktop \ | 12 | file://gst-player.desktop \ |
13 | " | 13 | " |
14 | 14 | ||
15 | SRCREV = "70e4fcf4fc8ae19641aa990de5f37d758cdfcea4" | 15 | SRCREV = "87bc0c6e949e3dcc440658f78ef52aa8088cb62f" |
16 | 16 | ||
17 | S = "${WORKDIR}/git" | 17 | S = "${UNPACKDIR}/${BP}/subprojects/gst-examples" |
18 | 18 | ||
19 | inherit meson pkgconfig features_check | 19 | inherit meson pkgconfig features_check |
20 | 20 | ||
21 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" | 21 | UPSTREAM_CHECK_GITTAGREGEX = "^(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)" |
22 | 22 | ||
23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
24 | 24 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.3.bb index d468f2983c..4125fdf31f 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.26.3.bb | |||
@@ -12,9 +12,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | |||
12 | " | 12 | " |
13 | 13 | ||
14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" | 14 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz" |
15 | SRC_URI[sha256sum] = "d9c5b152468a45c1fa8351410422090a7192707ad74d2e1a4367f5254e188d91" | 15 | SRC_URI[sha256sum] = "3ada7e50a3b9b8ba3e405b14c4021e25fbb10379f77d2ce490aa16523ed2724d" |
16 | 16 | ||
17 | S = "${WORKDIR}/gst-libav-${PV}" | 17 | S = "${UNPACKDIR}/gst-libav-${PV}" |
18 | 18 | ||
19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" | 19 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base ffmpeg" |
20 | 20 | ||
@@ -22,6 +22,7 @@ inherit meson pkgconfig upstream-version-is-even | |||
22 | 22 | ||
23 | EXTRA_OEMESON += " \ | 23 | EXTRA_OEMESON += " \ |
24 | -Dtests=disabled \ | 24 | -Dtests=disabled \ |
25 | -Ddoc=disabled \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" | 28 | FILES:${PN} += "${libdir}/gstreamer-1.0/*.so" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb index 6cc11e1928..dcb5c0e6b5 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb | |||
@@ -7,8 +7,8 @@ PACKAGE_ARCH = "${MACHINE_ARCH}" | |||
7 | inherit packagegroup | 7 | inherit packagegroup |
8 | 8 | ||
9 | COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}" | 9 | COMMERCIAL_PLUGINS = "${COMMERCIAL_AUDIO_PLUGINS} ${COMMERCIAL_VIDEO_PLUGINS}" |
10 | DEPENDS_UGLY="${@'gstreamer1.0-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}" | 10 | DEPENDS_UGLY = "${@'gstreamer1.0-plugins-ugly' if 'ugly' in COMMERCIAL_PLUGINS.split('-') else ''}" |
11 | DEPENDS_BAD="${@'gstreamer1.0-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}" | 11 | DEPENDS_BAD = "${@'gstreamer1.0-plugins-bad' if 'bad' in COMMERCIAL_PLUGINS.split('-') else ''}" |
12 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}" | 12 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-good ${DEPENDS_UGLY} ${DEPENDS_BAD}" |
13 | 13 | ||
14 | PACKAGES = "\ | 14 | PACKAGES = "\ |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch index 13a481485a..4dd9febbf6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From bb7f964d51de6b888b3b7a6d0c3d260fcad24008 Mon Sep 17 00:00:00 2001 | 1 | From 9456674cea4a933d5fbc24230d307fe0f52588f3 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
3 | Date: Tue, 26 Jan 2016 15:16:01 -0800 | 3 | Date: Tue, 26 Jan 2016 15:16:01 -0800 |
4 | Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os | 4 | Subject: [PATCH] fix maybe-uninitialized warnings when compiling with -Os |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch index 298337cb0a..e6ae7f4bfe 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 25efc5b2d22aed4527470ef93970664b210bf8c5 Mon Sep 17 00:00:00 2001 | 1 | From dd2b92fb70fed2799809c423fea79221a3e17108 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
3 | Date: Wed, 3 Feb 2016 18:05:41 -0800 | 3 | Date: Wed, 3 Feb 2016 18:05:41 -0800 |
4 | Subject: [PATCH] avoid including <sys/poll.h> directly | 4 | Subject: [PATCH] avoid including <sys/poll.h> directly |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch index 965053348f..d49cf5bd89 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 39fbcdfc5383bdae95293a3109c847f64d193b54 Mon Sep 17 00:00:00 2001 | 1 | From 11a08e3f3135b649b68714c77670c37559f3a33c Mon Sep 17 00:00:00 2001 |
2 | From: Andrey Zhizhikin <andrey.z@gmail.com> | 2 | From: Andrey Zhizhikin <andrey.z@gmail.com> |
3 | Date: Mon, 27 Jan 2020 10:22:35 +0000 | 3 | Date: Mon, 27 Jan 2020 10:22:35 +0000 |
4 | Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build | 4 | Subject: [PATCH] opencv: resolve missing opencv data dir in yocto build |
@@ -17,16 +17,16 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
17 | 1 file changed, 3 insertions(+) | 17 | 1 file changed, 3 insertions(+) |
18 | 18 | ||
19 | diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build | 19 | diff --git a/gst-libs/gst/opencv/meson.build b/gst-libs/gst/opencv/meson.build |
20 | index 1d337f1..f47939a 100644 | 20 | index 64e913e..42a0958 100644 |
21 | --- a/gst-libs/gst/opencv/meson.build | 21 | --- a/gst-libs/gst/opencv/meson.build |
22 | +++ b/gst-libs/gst/opencv/meson.build | 22 | +++ b/gst-libs/gst/opencv/meson.build |
23 | @@ -52,6 +52,9 @@ if opencv_found | 23 | @@ -61,6 +61,9 @@ gstopencv_cargs += ['-DOPENCV_PREFIX="' + opencv_prefix + '"'] |
24 | # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral] | 24 | # /usr/include/opencv4/opencv2/flann/logger.h:83:36: error: format string is not a string literal [-Werror,-Wformat-nonliteral] |
25 | gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral']) | 25 | gstopencv_cargs += cxx.get_supported_arguments(['-Wno-missing-include-dirs', '-Wno-format-nonliteral']) |
26 | 26 | ||
27 | + pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() | 27 | +pkgconf_sysroot = run_command(python3, '-c', 'import os; print(os.environ.get("PKG_CONFIG_SYSROOT_DIR"))').stdout().strip() |
28 | + opencv_prefix = pkgconf_sysroot + opencv_prefix | 28 | +opencv_prefix = pkgconf_sysroot + opencv_prefix |
29 | + | 29 | + |
30 | # Check the data dir used by opencv for its xml data files | 30 | # Check the data dir used by opencv for its xml data files |
31 | # Use prefix from pkg-config to be compatible with cross-compilation | 31 | # Use prefix from pkg-config to be compatible with cross-compilation |
32 | r = run_command('test', '-d', opencv_prefix + '/share/opencv', check: false) | 32 | fsmod = import('fs') |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.3.bb index dbd504e87d..12992057e7 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.26.3.bb | |||
@@ -10,9 +10,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad | |||
10 | file://0002-avoid-including-sys-poll.h-directly.patch \ | 10 | file://0002-avoid-including-sys-poll.h-directly.patch \ |
11 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ | 11 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ |
12 | " | 12 | " |
13 | SRC_URI[sha256sum] = "e90f26c7dc9c76f4aa599b758cfd6d8c10d6a0b9cb265ba2c3c9bdf3888558f8" | 13 | SRC_URI[sha256sum] = "95c48dacaf14276f4e595f4cbca94b3cfebfc22285e765e2aa56d0a7275d7561" |
14 | 14 | ||
15 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | 15 | S = "${UNPACKDIR}/gst-plugins-bad-${PV}" |
16 | 16 | ||
17 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" | 17 | LICENSE = "LGPL-2.1-or-later & GPL-2.0-or-later" |
18 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 18 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
@@ -28,10 +28,11 @@ PACKAGECONFIG ??= " \ | |||
28 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ | 28 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
29 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ | 29 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ |
30 | bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \ | 30 | bz2 closedcaption curl dash dtls hls openssl sbc smoothstreaming \ |
31 | sndfile ttml uvch264 webp \ | 31 | sndfile ttml uvch264 webp analytics \ |
32 | ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ | 32 | ${@bb.utils.contains('TUNE_FEATURES', 'mx32', '', 'rsvg', d)} \ |
33 | " | 33 | " |
34 | 34 | ||
35 | PACKAGECONFIG[analytics] = "-Danalyticsoverlay=enabled,-Danalyticsoverlay=disabled," | ||
35 | PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" | 36 | PACKAGECONFIG[aom] = "-Daom=enabled,-Daom=disabled,aom" |
36 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" | 37 | PACKAGECONFIG[assrender] = "-Dassrender=enabled,-Dassrender=disabled,libass" |
37 | PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" | 38 | PACKAGECONFIG[avtp] = "-Davtp=enabled,-Davtp=disabled,libavtp" |
@@ -46,6 +47,7 @@ PACKAGECONFIG[dtls] = "-Ddtls=enabled,-Ddtls=disabled,openssl" | |||
46 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" | 47 | PACKAGECONFIG[faac] = "-Dfaac=enabled,-Dfaac=disabled,faac" |
47 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" | 48 | PACKAGECONFIG[faad] = "-Dfaad=enabled,-Dfaad=disabled,faad2" |
48 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" | 49 | PACKAGECONFIG[fluidsynth] = "-Dfluidsynth=enabled,-Dfluidsynth=disabled,fluidsynth" |
50 | PACKAGECONFIG[gtk3] = "-Dgtk3=enabled,-Dgtk3=disabled,gtk3+" | ||
49 | PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," | 51 | PACKAGECONFIG[hls] = "-Dhls=enabled,-Dhls=disabled," |
50 | # Pick atleast one crypto backend below when enabling hls | 52 | # Pick atleast one crypto backend below when enabling hls |
51 | PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" | 53 | PACKAGECONFIG[nettle] = "-Dhls-crypto=nettle,,nettle" |
@@ -151,6 +153,16 @@ EXTRA_OEMESON += " \ | |||
151 | -Dwinscreencap=disabled \ | 153 | -Dwinscreencap=disabled \ |
152 | -Dwpe=disabled \ | 154 | -Dwpe=disabled \ |
153 | -Dzxing=disabled \ | 155 | -Dzxing=disabled \ |
156 | -Dlcevcdecoder=disabled \ | ||
157 | -Dlcevcencoder=disabled \ | ||
158 | -Dtensordecoders=disabled \ | ||
159 | -Dnvcomp=disabled \ | ||
160 | -Dnvdswrapper=disabled \ | ||
161 | -Dsvtjpegxs=disabled \ | ||
162 | -Dwebview2=disabled \ | ||
163 | -Daja=disabled \ | ||
164 | -Dcuda-nvmm=disabled \ | ||
165 | -Dd3d12=disabled \ | ||
154 | " | 166 | " |
155 | 167 | ||
156 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | 168 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" |
@@ -158,6 +170,8 @@ export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | |||
158 | ARM_INSTRUCTION_SET:armv4 = "arm" | 170 | ARM_INSTRUCTION_SET:armv4 = "arm" |
159 | ARM_INSTRUCTION_SET:armv5 = "arm" | 171 | ARM_INSTRUCTION_SET:armv5 = "arm" |
160 | 172 | ||
173 | CVE_PRODUCT = "gst-plugins-bad" | ||
174 | |||
161 | FILES:${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" | 175 | FILES:${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" |
162 | FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" | 176 | FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" |
163 | FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" | 177 | FILES:${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch index 38d0fbf6bf..7373bd3e26 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 5a4d65e13a326103ac02f156c01b6fcbb0269902 Mon Sep 17 00:00:00 2001 | 1 | From bd1436f0027bb09cdcf90386910a497422d9a871 Mon Sep 17 00:00:00 2001 |
2 | From: zhouming <b42586@freescale.com> | 2 | From: zhouming <b42586@freescale.com> |
3 | Date: Wed, 14 May 2014 10:16:20 +0800 | 3 | Date: Wed, 14 May 2014 10:16:20 +0800 |
4 | Subject: [PATCH] ENGR00312515: get caps from src pad when query caps | 4 | Subject: [PATCH] ENGR00312515: get caps from src pad when query caps |
@@ -16,7 +16,7 @@ Signed-off-by: zhouming <b42586@freescale.com> | |||
16 | diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c | 16 | diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c |
17 | old mode 100644 | 17 | old mode 100644 |
18 | new mode 100755 | 18 | new mode 100755 |
19 | index ef0ff90..53f05c8 | 19 | index 975fe83..df82840 |
20 | --- a/gst-libs/gst/tag/gsttagdemux.c | 20 | --- a/gst-libs/gst/tag/gsttagdemux.c |
21 | +++ b/gst-libs/gst/tag/gsttagdemux.c | 21 | +++ b/gst-libs/gst/tag/gsttagdemux.c |
22 | @@ -1796,6 +1796,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) | 22 | @@ -1796,6 +1796,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch index 4090b77c8d..fc9ad474d9 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-ssaparse-enhance-SSA-text-lines-parsing.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 21b8339077f52ec9220e0d3d1f3872e23c7c2e88 Mon Sep 17 00:00:00 2001 | 1 | From 1cc876662b7707eb5a2f668654f7921b5642e108 Mon Sep 17 00:00:00 2001 |
2 | From: Mingke Wang <mingke.wang@freescale.com> | 2 | From: Mingke Wang <mingke.wang@freescale.com> |
3 | Date: Thu, 19 Mar 2015 14:17:10 +0800 | 3 | Date: Thu, 19 Mar 2015 14:17:10 +0800 |
4 | Subject: [PATCH] ssaparse: enhance SSA text lines parsing. | 4 | Subject: [PATCH] ssaparse: enhance SSA text lines parsing. |
@@ -17,10 +17,10 @@ Signed-off-by: Mingke Wang <mingke.wang@freescale.com> | |||
17 | diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c | 17 | diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c |
18 | old mode 100644 | 18 | old mode 100644 |
19 | new mode 100755 | 19 | new mode 100755 |
20 | index 42fbb42..2dab51c | 20 | index c162a54..bd8afd9 |
21 | --- a/gst/subparse/gstssaparse.c | 21 | --- a/gst/subparse/gstssaparse.c |
22 | +++ b/gst/subparse/gstssaparse.c | 22 | +++ b/gst/subparse/gstssaparse.c |
23 | @@ -270,6 +270,7 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) | 23 | @@ -304,6 +304,7 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) |
24 | * gst_ssa_parse_push_line: | 24 | * gst_ssa_parse_push_line: |
25 | * @parse: caller element | 25 | * @parse: caller element |
26 | * @txt: text to push | 26 | * @txt: text to push |
@@ -28,7 +28,7 @@ index 42fbb42..2dab51c | |||
28 | * @start: timestamp for the buffer | 28 | * @start: timestamp for the buffer |
29 | * @duration: duration for the buffer | 29 | * @duration: duration for the buffer |
30 | * | 30 | * |
31 | @@ -279,27 +280,133 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) | 31 | @@ -313,27 +314,133 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) |
32 | * Returns: result of the push of the created buffer | 32 | * Returns: result of the push of the created buffer |
33 | */ | 33 | */ |
34 | static GstFlowReturn | 34 | static GstFlowReturn |
@@ -173,7 +173,7 @@ index 42fbb42..2dab51c | |||
173 | GST_LOG_OBJECT (parse, "Text : %s", t); | 173 | GST_LOG_OBJECT (parse, "Text : %s", t); |
174 | 174 | ||
175 | if (gst_ssa_parse_remove_override_codes (parse, t)) { | 175 | if (gst_ssa_parse_remove_override_codes (parse, t)) { |
176 | @@ -317,13 +424,22 @@ gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt, | 176 | @@ -351,13 +458,22 @@ gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt, |
177 | gst_buffer_fill (buf, 0, escaped, len + 1); | 177 | gst_buffer_fill (buf, 0, escaped, len + 1); |
178 | gst_buffer_set_size (buf, len); | 178 | gst_buffer_set_size (buf, len); |
179 | g_free (escaped); | 179 | g_free (escaped); |
@@ -200,7 +200,7 @@ index 42fbb42..2dab51c | |||
200 | 200 | ||
201 | ret = gst_pad_push (parse->srcpad, buf); | 201 | ret = gst_pad_push (parse->srcpad, buf); |
202 | 202 | ||
203 | @@ -343,6 +459,7 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) | 203 | @@ -377,6 +493,7 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) |
204 | GstClockTime ts; | 204 | GstClockTime ts; |
205 | gchar *txt; | 205 | gchar *txt; |
206 | GstMapInfo map; | 206 | GstMapInfo map; |
@@ -208,7 +208,7 @@ index 42fbb42..2dab51c | |||
208 | 208 | ||
209 | if (G_UNLIKELY (!parse->framed)) | 209 | if (G_UNLIKELY (!parse->framed)) |
210 | goto not_framed; | 210 | goto not_framed; |
211 | @@ -360,13 +477,14 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) | 211 | @@ -394,13 +511,14 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) |
212 | /* make double-sure it's 0-terminated and all */ | 212 | /* make double-sure it's 0-terminated and all */ |
213 | gst_buffer_map (buf, &map, GST_MAP_READ); | 213 | gst_buffer_map (buf, &map, GST_MAP_READ); |
214 | txt = g_strndup ((gchar *) map.data, map.size); | 214 | txt = g_strndup ((gchar *) map.data, map.size); |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch index ab46ecee5d..06b5bc41ed 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-viv-fb-Make-sure-config.h-is-included.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 246e6f5ed75696b2e9d9a9ee8cd59252724e1334 Mon Sep 17 00:00:00 2001 | 1 | From c0c6944eca0c497477aa9f2cec2c83c4ea7a70e5 Mon Sep 17 00:00:00 2001 |
2 | From: Carlos Rafael Giani <crg7475@mailbox.org> | 2 | From: Carlos Rafael Giani <crg7475@mailbox.org> |
3 | Date: Tue, 21 May 2019 14:01:11 +0200 | 3 | Date: Tue, 21 May 2019 14:01:11 +0200 |
4 | Subject: [PATCH] viv-fb: Make sure config.h is included | 4 | Subject: [PATCH] viv-fb: Make sure config.h is included |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.3.bb index 8a967cf6eb..74eb1360f6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.26.3.bb | |||
@@ -11,9 +11,9 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-ba | |||
11 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ | 11 | file://0003-viv-fb-Make-sure-config.h-is-included.patch \ |
12 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ | 12 | file://0002-ssaparse-enhance-SSA-text-lines-parsing.patch \ |
13 | " | 13 | " |
14 | SRC_URI[sha256sum] = "f1094397eaa7932f06e57ebbb075aa33aa2c76e4b75630a16b02c8d4af46832e" | 14 | SRC_URI[sha256sum] = "4ef9f9ef09025308ce220e2dd22a89e4c992d8ca71b968e3c70af0634ec27933" |
15 | 15 | ||
16 | S = "${WORKDIR}/gst-plugins-base-${PV}" | 16 | S = "${UNPACKDIR}/gst-plugins-base-${PV}" |
17 | 17 | ||
18 | DEPENDS += "iso-codes util-linux zlib" | 18 | DEPENDS += "iso-codes util-linux zlib" |
19 | 19 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.3.bb index 41a93e85a4..601a7961c7 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.26.3.bb | |||
@@ -6,9 +6,9 @@ BUGTRACKER = "https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues | |||
6 | 6 | ||
7 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz" | 7 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-${PV}.tar.xz" |
8 | 8 | ||
9 | SRC_URI[sha256sum] = "150f914e61dc05600b68b88ca103c7cc227130158e389ea9ea159f4050a2ebb0" | 9 | SRC_URI[sha256sum] = "fe4ec9670edfe6bb1e5f27169ae145b5ac2dd218ac98bd8251c8fba41ad33c53" |
10 | 10 | ||
11 | S = "${WORKDIR}/gst-plugins-good-${PV}" | 11 | S = "${UNPACKDIR}/gst-plugins-good-${PV}" |
12 | 12 | ||
13 | LICENSE = "LGPL-2.1-or-later" | 13 | LICENSE = "LGPL-2.1-or-later" |
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.3.bb index 533de0234f..cc3da89556 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.26.3.bb | |||
@@ -15,9 +15,9 @@ SRC_URI = " \ | |||
15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ | 15 | https://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-${PV}.tar.xz \ |
16 | " | 16 | " |
17 | 17 | ||
18 | SRC_URI[sha256sum] = "4c951341c4c648630b6fe1234ec113d81dd2d248529bf2b5478e0ad077c80ed3" | 18 | SRC_URI[sha256sum] = "417f5ee895f734ac0341b3719c175fff16b4c8eae8806e29e170b3bcb3d9dba5" |
19 | 19 | ||
20 | S = "${WORKDIR}/gst-plugins-ugly-${PV}" | 20 | S = "${UNPACKDIR}/gst-plugins-ugly-${PV}" |
21 | 21 | ||
22 | DEPENDS += "gstreamer1.0-plugins-base" | 22 | DEPENDS += "gstreamer1.0-plugins-base" |
23 | 23 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.3.bb index 5fbf860741..1f80063a0b 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-python_1.26.3.bb | |||
@@ -8,14 +8,14 @@ LICENSE = "LGPL-2.1-or-later" | |||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=c34deae4e395ca07e725ab0076a5f740" |
9 | 9 | ||
10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" | 10 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" |
11 | SRC_URI[sha256sum] = "ecdb3e2ba94ea2c82b93a8c715d5a7e04f9726a8838c0a6b17694928fd1e8595" | 11 | SRC_URI[sha256sum] = "9343b9a7c45f472498c24ddb6fea9aba5f1a24395ddbc0b79da6e485e42d1b12" |
12 | 12 | ||
13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 13 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject gstreamer1.0-plugins-bad" |
14 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" | 14 | RDEPENDS:${PN} += "gstreamer1.0 gstreamer1.0-plugins-base python3-pygobject" |
15 | 15 | ||
16 | PNREAL = "gst-python" | 16 | PNREAL = "gst-python" |
17 | 17 | ||
18 | S = "${WORKDIR}/${PNREAL}-${PV}" | 18 | S = "${UNPACKDIR}/${PNREAL}-${PV}" |
19 | 19 | ||
20 | EXTRA_OEMESON += "\ | 20 | EXTRA_OEMESON += "\ |
21 | -Dtests=disabled \ | 21 | -Dtests=disabled \ |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.3.bb index f63d61b2c9..7ee7a1f07f 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-rtsp-server_1.26.3.bb | |||
@@ -10,9 +10,9 @@ PNREAL = "gst-rtsp-server" | |||
10 | 10 | ||
11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" | 11 | SRC_URI = "https://gstreamer.freedesktop.org/src/${PNREAL}/${PNREAL}-${PV}.tar.xz" |
12 | 12 | ||
13 | SRC_URI[sha256sum] = "62628ecca78b8f5b51c59a4d602c65e9205ffc50c3c83cd61fab1f6348b63565" | 13 | SRC_URI[sha256sum] = "415e8a53a9844789770dd4f116ac2e3a4a33de42673c57acc25c5ba0f4406fc5" |
14 | 14 | ||
15 | S = "${WORKDIR}/${PNREAL}-${PV}" | 15 | S = "${UNPACKDIR}/${PNREAL}-${PV}" |
16 | 16 | ||
17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection | 17 | inherit meson pkgconfig upstream-version-is-even gobject-introspection |
18 | 18 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.3.bb index 8ddfe15de9..98eba8bcdb 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-vaapi_1.26.3.bb | |||
@@ -11,9 +11,9 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c" | |||
11 | 11 | ||
12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" | 12 | SRC_URI = "https://gstreamer.freedesktop.org/src/${REALPN}/${REALPN}-${PV}.tar.xz" |
13 | 13 | ||
14 | SRC_URI[sha256sum] = "845f2efe0dca8dab234dde8fb091da2cd06a9d2a683422b56dcb688954f9070e" | 14 | SRC_URI[sha256sum] = "2d643fbd1420297da5a4d6945d11f0a5b4f82feea54ea6aec9368d42995d8b03" |
15 | 15 | ||
16 | S = "${WORKDIR}/${REALPN}-${PV}" | 16 | S = "${UNPACKDIR}/${REALPN}-${PV}" |
17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | 17 | DEPENDS = "libva gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" |
18 | 18 | ||
19 | inherit meson pkgconfig features_check upstream-version-is-even | 19 | inherit meson pkgconfig features_check upstream-version-is-even |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch index a190370c16..5db93c5be1 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0001-tests-respect-the-idententaion-used-in-meson.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 381f50a27766c425af36a7203061716497e6603f Mon Sep 17 00:00:00 2001 | 1 | From cb49c5433f343aa9ae6c0656d2e835365330922b Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 | 3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 |
4 | Subject: [PATCH] tests: respect the idententaion used in meson | 4 | Subject: [PATCH] tests: respect the idententaion used in meson |
@@ -11,10 +11,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
11 | 1 file changed, 5 insertions(+), 5 deletions(-) | 11 | 1 file changed, 5 insertions(+), 5 deletions(-) |
12 | 12 | ||
13 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 13 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
14 | index 6540279..e9501fe 100644 | 14 | index e8419fc..4cc4618 100644 |
15 | --- a/tests/check/meson.build | 15 | --- a/tests/check/meson.build |
16 | +++ b/tests/check/meson.build | 16 | +++ b/tests/check/meson.build |
17 | @@ -146,11 +146,11 @@ foreach t : core_tests | 17 | @@ -149,11 +149,11 @@ foreach t : core_tests |
18 | 18 | ||
19 | if not skip_test | 19 | if not skip_test |
20 | exe = executable(test_name, fname, | 20 | exe = executable(test_name, fname, |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch index a990940cc6..ba8e410669 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0002-tests-add-support-for-install-the-tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 31dea17a1d5de0003719a875a1089df43a50219a Mon Sep 17 00:00:00 2001 | 1 | From bfb530d2f0761f28c2645e2c45de5147b0528e4d Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 | 3 | Date: Sun, 11 Apr 2021 19:48:13 +0100 |
4 | Subject: [PATCH] tests: add support for install the tests | 4 | Subject: [PATCH] tests: add support for install the tests |
@@ -19,10 +19,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
19 | create mode 100644 tests/check/template.test.in | 19 | create mode 100644 tests/check/template.test.in |
20 | 20 | ||
21 | diff --git a/meson.build b/meson.build | 21 | diff --git a/meson.build b/meson.build |
22 | index efcf189..c97d9a8 100644 | 22 | index ba50005..09c7212 100644 |
23 | --- a/meson.build | 23 | --- a/meson.build |
24 | +++ b/meson.build | 24 | +++ b/meson.build |
25 | @@ -624,6 +624,10 @@ if bashcomp_dep.found() | 25 | @@ -664,6 +664,10 @@ if bashcomp_dep.found() |
26 | endif | 26 | endif |
27 | endif | 27 | endif |
28 | 28 | ||
@@ -34,7 +34,7 @@ index efcf189..c97d9a8 100644 | |||
34 | 34 | ||
35 | pkgconfig = import('pkgconfig') | 35 | pkgconfig = import('pkgconfig') |
36 | diff --git a/meson_options.txt b/meson_options.txt | 36 | diff --git a/meson_options.txt b/meson_options.txt |
37 | index 340fb58..5b87f68 100644 | 37 | index 39255cf..78af552 100644 |
38 | --- a/meson_options.txt | 38 | --- a/meson_options.txt |
39 | +++ b/meson_options.txt | 39 | +++ b/meson_options.txt |
40 | @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso | 40 | @@ -16,6 +16,7 @@ option('poisoning', type : 'boolean', value : false, description : 'Enable poiso |
@@ -46,10 +46,10 @@ index 340fb58..5b87f68 100644 | |||
46 | # Feature options | 46 | # Feature options |
47 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') | 47 | option('check', type : 'feature', value : 'auto', description : 'Build unit test libraries') |
48 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 48 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
49 | index e9501fe..08f8fd8 100644 | 49 | index 4cc4618..f290e2e 100644 |
50 | --- a/tests/check/meson.build | 50 | --- a/tests/check/meson.build |
51 | +++ b/tests/check/meson.build | 51 | +++ b/tests/check/meson.build |
52 | @@ -125,10 +125,16 @@ test_defines = [ | 52 | @@ -128,10 +128,16 @@ test_defines = [ |
53 | '-UG_DISABLE_ASSERT', | 53 | '-UG_DISABLE_ASSERT', |
54 | '-UG_DISABLE_CAST_CHECKS', | 54 | '-UG_DISABLE_CAST_CHECKS', |
55 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', | 55 | '-DGST_CHECK_TEST_ENVIRONMENT_BEACON="GST_STATE_IGNORE_ELEMENTS"', |
@@ -67,7 +67,7 @@ index e9501fe..08f8fd8 100644 | |||
67 | # sanity checking | 67 | # sanity checking |
68 | if get_option('check').disabled() | 68 | if get_option('check').disabled() |
69 | if get_option('tests').enabled() | 69 | if get_option('tests').enabled() |
70 | @@ -151,6 +157,8 @@ foreach t : core_tests | 70 | @@ -154,6 +160,8 @@ foreach t : core_tests |
71 | include_directories : [configinc], | 71 | include_directories : [configinc], |
72 | link_with : link_with_libs, | 72 | link_with : link_with_libs, |
73 | dependencies : gst_deps + test_deps, | 73 | dependencies : gst_deps + test_deps, |
@@ -76,7 +76,7 @@ index e9501fe..08f8fd8 100644 | |||
76 | ) | 76 | ) |
77 | 77 | ||
78 | env = environment() | 78 | env = environment() |
79 | @@ -162,6 +170,18 @@ foreach t : core_tests | 79 | @@ -165,6 +173,18 @@ foreach t : core_tests |
80 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') | 80 | env.set('GST_PLUGIN_SCANNER_1_0', gst_scanner_dir + '/gst-plugin-scanner') |
81 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') | 81 | env.set('GST_PLUGIN_LOADING_WHITELIST', 'gstreamer') |
82 | 82 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch index 27623bf96b..79e494a22a 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0003-tests-use-a-dictionaries-for-environment.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 453865e8938c5f50f14409b67246bbbd801fa44d Mon Sep 17 00:00:00 2001 | 1 | From d24110809da4588354ad3df4ae99556e8c62838a Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 | 3 | Date: Sat, 24 Apr 2021 10:34:47 +0100 |
4 | Subject: [PATCH] tests: use a dictionaries for environment | 4 | Subject: [PATCH] tests: use a dictionaries for environment |
@@ -14,10 +14,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
14 | 1 file changed, 13 insertions(+), 8 deletions(-) | 14 | 1 file changed, 13 insertions(+), 8 deletions(-) |
15 | 15 | ||
16 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 16 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
17 | index 08f8fd8..330abaa 100644 | 17 | index f290e2e..a3ffcb6 100644 |
18 | --- a/tests/check/meson.build | 18 | --- a/tests/check/meson.build |
19 | +++ b/tests/check/meson.build | 19 | +++ b/tests/check/meson.build |
20 | @@ -161,14 +161,19 @@ foreach t : core_tests | 20 | @@ -164,14 +164,19 @@ foreach t : core_tests |
21 | install: installed_tests_enabled, | 21 | install: installed_tests_enabled, |
22 | ) | 22 | ) |
23 | 23 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch index 97b056072d..4b1aad2616 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/0004-tests-add-helper-script-to-run-the-installed_tests.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 506ff13a044439a170f770b6663a64c942ae0a05 Mon Sep 17 00:00:00 2001 | 1 | From 3b9ae399b57cfb6e332fac6a90997a3abd33c819 Mon Sep 17 00:00:00 2001 |
2 | From: Jose Quaresma <quaresma.jose@gmail.com> | 2 | From: Jose Quaresma <quaresma.jose@gmail.com> |
3 | Date: Sun, 2 May 2021 01:58:01 +0100 | 3 | Date: Sun, 2 May 2021 01:58:01 +0100 |
4 | Subject: [PATCH] tests: add helper script to run the installed_tests | 4 | Subject: [PATCH] tests: add helper script to run the installed_tests |
@@ -18,10 +18,10 @@ Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com> | |||
18 | create mode 100755 tests/check/template.sh.in | 18 | create mode 100755 tests/check/template.sh.in |
19 | 19 | ||
20 | diff --git a/tests/check/meson.build b/tests/check/meson.build | 20 | diff --git a/tests/check/meson.build b/tests/check/meson.build |
21 | index 330abaa..5d383b1 100644 | 21 | index a3ffcb6..b907dcf 100644 |
22 | --- a/tests/check/meson.build | 22 | --- a/tests/check/meson.build |
23 | +++ b/tests/check/meson.build | 23 | +++ b/tests/check/meson.build |
24 | @@ -185,6 +185,23 @@ foreach t : core_tests | 24 | @@ -188,6 +188,23 @@ foreach t : core_tests |
25 | install_dir: installed_tests_metadir, | 25 | install_dir: installed_tests_metadir, |
26 | configuration: test_conf | 26 | configuration: test_conf |
27 | ) | 27 | ) |
@@ -47,7 +47,7 @@ index 330abaa..5d383b1 100644 | |||
47 | test(test_name, exe, env: env, timeout : 3 * 60) | 47 | test(test_name, exe, env: env, timeout : 3 * 60) |
48 | diff --git a/tests/check/template.sh.in b/tests/check/template.sh.in | 48 | diff --git a/tests/check/template.sh.in b/tests/check/template.sh.in |
49 | new file mode 100755 | 49 | new file mode 100755 |
50 | index 0000000..cf7d31b | 50 | index 0000000..f1318fa |
51 | --- /dev/null | 51 | --- /dev/null |
52 | +++ b/tests/check/template.sh.in | 52 | +++ b/tests/check/template.sh.in |
53 | @@ -0,0 +1,9 @@ | 53 | @@ -0,0 +1,9 @@ |
@@ -59,7 +59,7 @@ index 0000000..cf7d31b | |||
59 | +GST_PLUGIN_LOADING_WHITELIST="@GST_PLUGIN_LOADING_WHITELIST@" | 59 | +GST_PLUGIN_LOADING_WHITELIST="@GST_PLUGIN_LOADING_WHITELIST@" |
60 | +GST_REGISTRY=@GST_REGISTRY@ | 60 | +GST_REGISTRY=@GST_REGISTRY@ |
61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" | 61 | +GST_STATE_IGNORE_ELEMENTS="@GST_STATE_IGNORE_ELEMENTS@" |
62 | +exec @TEST@ | 62 | +exec @TEST@ "$@" |
63 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in | 63 | diff --git a/tests/check/template.test.in b/tests/check/template.test.in |
64 | index f701627..b74ef6a 100644 | 64 | index f701627..b74ef6a 100644 |
65 | --- a/tests/check/template.test.in | 65 | --- a/tests/check/template.test.in |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest index ab2df80dcc..44dc350eb3 100755 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0/run-ptest | |||
@@ -16,6 +16,11 @@ GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_functioning" | |||
16 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_infinite_seek_50_src_live" | 16 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,test_infinite_seek_50_src_live" |
17 | 17 | ||
18 | # Known unreliable tests as per subprojects/gst-devtools/validate/launcher/testsuites/check.py: | 18 | # Known unreliable tests as per subprojects/gst-devtools/validate/launcher/testsuites/check.py: |
19 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE:parser_pull_short_read" | 19 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_pull_short_read" |
20 | 20 | ||
21 | gnome-desktop-testing-runner gstreamer | 21 | # These tests are fragile |
22 | # https://bugzilla.yoctoproject.org/show_bug.cgi?id=14884 | ||
23 | # https://gitlab.freedesktop.org/gstreamer/gstreamer/-/issues/3524 | ||
24 | GST_CHECKS_IGNORE="$GST_CHECKS_IGNORE,parser_convert_duration,parser_pull_frame_growth,parser_reverse_playback" | ||
25 | |||
26 | gnome-desktop-testing-runner --parallel=4 gstreamer "$@" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.3.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.3.bb index cd04ade602..9de76944fb 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.24.3.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0_1.26.3.bb | |||
@@ -13,7 +13,7 @@ inherit meson pkgconfig gettext upstream-version-is-even gobject-introspection p | |||
13 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=69333daa044cb77e486cc36129f7a770 \ |
14 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d" | 14 | file://gst/gst.h;beginline=1;endline=21;md5=e059138481205ee2c6fc1c079c016d0d" |
15 | 15 | ||
16 | S = "${WORKDIR}/gstreamer-${PV}" | 16 | S = "${UNPACKDIR}/gstreamer-${PV}" |
17 | 17 | ||
18 | SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ | 18 | SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.xz \ |
19 | file://run-ptest \ | 19 | file://run-ptest \ |
@@ -22,7 +22,7 @@ SRC_URI = "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-${PV}.tar.x | |||
22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ | 22 | file://0003-tests-use-a-dictionaries-for-environment.patch \ |
23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ | 23 | file://0004-tests-add-helper-script-to-run-the-installed_tests.patch \ |
24 | " | 24 | " |
25 | SRC_URI[sha256sum] = "1225ef4a329fae1cadc5ec727dab249ad567e8072879493561ceb91ed34aa414" | 25 | SRC_URI[sha256sum] = "dc661603221293dccc740862425eb54fbbed60fb29d08c801d440a6a3ff82680" |
26 | 26 | ||
27 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ | 27 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \ |
28 | check \ | 28 | check \ |