diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2020-10-29 14:27:52 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-10-31 08:54:12 +0000 |
commit | 0be89e058d7f8d41caf7bc7b7a7dddeaf265ce38 (patch) | |
tree | d97d2ad555604d988e1a147f6f51e9d598e9ddad /meta/recipes-multimedia | |
parent | 40f827d2f21b6dcd12c94f180c609780c9416d4d (diff) | |
download | poky-0be89e058d7f8d41caf7bc7b7a7dddeaf265ce38.tar.gz |
gstreamer1.0-plugins-bad: upgrade to version 1.18.0
* 0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch
Removed since these are included in 1.18.0
PACKAGECONFIG:
- vdpau has been removed upstream
- vulkan needs now needs shaderc-native to build
EXTRA_OEMESON:
- yadif has been removed upstream
- nvdec and nvenc has been replaced with nvcodec
FILES:
- add new files for transcode plugin
(From OE-Core rev: b4916863bc0bc685344dd3637ef890d90af15c5f)
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch) | 8 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch | 36 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0002-avoid-including-sys-poll.h-directly.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/avoid-including-sys-poll.h-directly.patch) | 8 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ensure-valid-sentinels-for-gst_structure_get-etc.patch) | 43 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch) | 8 | ||||
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.bb (renamed from meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb) | 28 |
6 files changed, 48 insertions, 83 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch index 73681f1002..13a673cd50 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From a67781000e82bd9ae3813da29401e8c0c852328a Mon Sep 17 00:00:00 2001 | 1 | From f08ab3ac2ce43ac91d3bf65b26f26436690f499b 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 1/4] fix maybe-uninitialized warnings when compiling with -Os |
5 | 5 | ||
6 | Upstream-Status: Pending | 6 | Upstream-Status: Pending |
7 | 7 | ||
@@ -11,7 +11,7 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | 11 | 1 file changed, 1 insertion(+), 1 deletion(-) |
12 | 12 | ||
13 | diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c | 13 | diff --git a/gst-libs/gst/codecparsers/gstvc1parser.c b/gst-libs/gst/codecparsers/gstvc1parser.c |
14 | index fd16ee0..ddb890c 100644 | 14 | index 2c60ced..e8226d8 100644 |
15 | --- a/gst-libs/gst/codecparsers/gstvc1parser.c | 15 | --- a/gst-libs/gst/codecparsers/gstvc1parser.c |
16 | +++ b/gst-libs/gst/codecparsers/gstvc1parser.c | 16 | +++ b/gst-libs/gst/codecparsers/gstvc1parser.c |
17 | @@ -1730,7 +1730,7 @@ gst_vc1_parse_sequence_layer (const guint8 * data, gsize size, | 17 | @@ -1730,7 +1730,7 @@ gst_vc1_parse_sequence_layer (const guint8 * data, gsize size, |
@@ -24,5 +24,5 @@ index fd16ee0..ddb890c 100644 | |||
24 | guint8 structB[12] = { 0, }; | 24 | guint8 structB[12] = { 0, }; |
25 | GstBitReader br; | 25 | GstBitReader br; |
26 | -- | 26 | -- |
27 | 1.9.1 | 27 | 2.28.0 |
28 | 28 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch deleted file mode 100644 index 1321852023..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com> | ||
3 | Date: Fri, 18 Oct 2019 00:39:12 +0100 | ||
4 | Subject: [PATCH 1/2] meson: build gir even when cross-compiling if | ||
5 | introspection was enabled explicitly | ||
6 | |||
7 | This can be made to work in certain circumstances when | ||
8 | cross-compiling, so default to not building g-i stuff | ||
9 | when cross-compiling, but allow it if introspection was | ||
10 | enabled explicitly via -Dintrospection=enabled. | ||
11 | |||
12 | See gstreamer/gstreamer#454 and gstreamer/gstreamer#381. | ||
13 | |||
14 | Upstream-Status: Backport [97a4d0cd7de8cfbf983acc7e37ba2f8fb73c3e19] | ||
15 | |||
16 | Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org> | ||
17 | --- | ||
18 | meson.build | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/meson.build b/meson.build | ||
22 | index 67aeeb4d0..7b3314bd9 100644 | ||
23 | --- a/meson.build | ||
24 | +++ b/meson.build | ||
25 | @@ -411,7 +411,7 @@ python3 = import('python').find_installation() | ||
26 | |||
27 | gir = find_program('g-ir-scanner', required : get_option('introspection')) | ||
28 | gnome = import('gnome') | ||
29 | -build_gir = gir.found() and not meson.is_cross_build() | ||
30 | +build_gir = gir.found() and (not meson.is_cross_build() or get_option('introspection').enabled()) | ||
31 | gir_init_section = [ '--add-init-section=extern void gst_init(gint*,gchar**);' + \ | ||
32 | 'g_setenv("GST_REGISTRY_1.0", "@0@", TRUE);'.format(meson.current_build_dir() + '/gir_empty_registry.reg') + \ | ||
33 | 'g_setenv("GST_PLUGIN_PATH_1_0", "", TRUE);' + \ | ||
34 | -- | ||
35 | 2.17.1 | ||
36 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/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 32261279a5..ead6897f67 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/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,7 +1,7 @@ | |||
1 | From 72561a0fca562d03567ace7b4cfc94992cd6525c Mon Sep 17 00:00:00 2001 | 1 | From 3b05e91720c10fcf6e0e408595b7217f6fa145c2 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 2/4] avoid including <sys/poll.h> directly |
5 | 5 | ||
6 | musl libc generates warnings if <sys/poll.h> is included directly. | 6 | musl libc generates warnings if <sys/poll.h> is included directly. |
7 | 7 | ||
@@ -13,7 +13,7 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
14 | 14 | ||
15 | diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c | 15 | diff --git a/sys/dvb/gstdvbsrc.c b/sys/dvb/gstdvbsrc.c |
16 | index b93255f..49f145a 100644 | 16 | index ca6b92a..b2772db 100644 |
17 | --- a/sys/dvb/gstdvbsrc.c | 17 | --- a/sys/dvb/gstdvbsrc.c |
18 | +++ b/sys/dvb/gstdvbsrc.c | 18 | +++ b/sys/dvb/gstdvbsrc.c |
19 | @@ -97,7 +97,7 @@ | 19 | @@ -97,7 +97,7 @@ |
@@ -26,5 +26,5 @@ index b93255f..49f145a 100644 | |||
26 | #include <errno.h> | 26 | #include <errno.h> |
27 | #include <stdio.h> | 27 | #include <stdio.h> |
28 | -- | 28 | -- |
29 | 1.9.1 | 29 | 2.28.0 |
30 | 30 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ensure-valid-sentinels-for-gst_structure_get-etc.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch index 2d5389d953..88fbc40dcd 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/ensure-valid-sentinels-for-gst_structure_get-etc.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 2262ba4b686d5cc0d3e894707fe1d31619a3a8f1 Mon Sep 17 00:00:00 2001 | 1 | From 5ed27de9f662fe063b8b3d5d4335aa64cd4718c9 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
3 | Date: Tue, 9 Feb 2016 14:00:00 -0800 | 3 | Date: Tue, 9 Feb 2016 14:00:00 -0800 |
4 | Subject: [PATCH] ensure valid sentinals for gst_structure_get() etc | 4 | Subject: [PATCH 3/4] ensure valid sentinals for gst_structure_get() etc |
5 | 5 | ||
6 | For GStreamer functions declared with G_GNUC_NULL_TERMINATED, | 6 | For GStreamer functions declared with G_GNUC_NULL_TERMINATED, |
7 | ie __attribute__((__sentinel__)), gcc will generate a warning if the | 7 | ie __attribute__((__sentinel__)), gcc will generate a warning if the |
@@ -23,20 +23,20 @@ Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | |||
23 | sys/decklink/gstdecklinkvideosink.cpp | 2 +- | 23 | sys/decklink/gstdecklinkvideosink.cpp | 2 +- |
24 | 3 files changed, 7 insertions(+), 7 deletions(-) | 24 | 3 files changed, 7 insertions(+), 7 deletions(-) |
25 | 25 | ||
26 | Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp | 26 | diff --git a/sys/decklink/gstdecklink.cpp b/sys/decklink/gstdecklink.cpp |
27 | =================================================================== | 27 | index 4dac7e1..43762ce 100644 |
28 | --- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklink.cpp | 28 | --- a/sys/decklink/gstdecklink.cpp |
29 | +++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp | 29 | +++ b/sys/decklink/gstdecklink.cpp |
30 | @@ -617,7 +617,7 @@ gst_decklink_mode_get_structure (GstDeck | 30 | @@ -674,7 +674,7 @@ gst_decklink_mode_get_generic_structure (GstDecklinkModeEnum e) |
31 | "pixel-aspect-ratio", GST_TYPE_FRACTION, mode->par_n, mode->par_d, | 31 | "pixel-aspect-ratio", GST_TYPE_FRACTION, mode->par_n, mode->par_d, |
32 | "interlace-mode", G_TYPE_STRING, | 32 | "interlace-mode", G_TYPE_STRING, |
33 | mode->interlaced ? "interleaved" : "progressive", | 33 | mode->interlaced ? "interleaved" : "progressive", |
34 | - "framerate", GST_TYPE_FRACTION, mode->fps_n, mode->fps_d, NULL); | 34 | - "framerate", GST_TYPE_FRACTION, mode->fps_n, mode->fps_d, NULL); |
35 | + "framerate", GST_TYPE_FRACTION, mode->fps_n, mode->fps_d, (void*)NULL); | 35 | + "framerate", GST_TYPE_FRACTION, mode->fps_n, mode->fps_d, (void*)NULL); |
36 | 36 | ||
37 | if (input && mode->interlaced) { | 37 | return s; |
38 | if (mode->tff) | 38 | } |
39 | @@ -632,16 +632,16 @@ gst_decklink_mode_get_structure (GstDeck | 39 | @@ -699,16 +699,16 @@ gst_decklink_mode_get_structure (GstDecklinkModeEnum e, BMDPixelFormat f, |
40 | case bmdFormat8BitYUV: /* '2vuy' */ | 40 | case bmdFormat8BitYUV: /* '2vuy' */ |
41 | gst_structure_set (s, "format", G_TYPE_STRING, "UYVY", | 41 | gst_structure_set (s, "format", G_TYPE_STRING, "UYVY", |
42 | "colorimetry", G_TYPE_STRING, mode->colorimetry, | 42 | "colorimetry", G_TYPE_STRING, mode->colorimetry, |
@@ -57,11 +57,11 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklink.cpp | |||
57 | break; | 57 | break; |
58 | case bmdFormat10BitRGB: /* 'r210' Big-endian RGB 10-bit per component with SMPTE video levels (64-960). Packed as 2:10:10:10 */ | 58 | case bmdFormat10BitRGB: /* 'r210' Big-endian RGB 10-bit per component with SMPTE video levels (64-960). Packed as 2:10:10:10 */ |
59 | case bmdFormat12BitRGB: /* 'R12B' Big-endian RGB 12-bit per component with full range (0-4095). Packed as 12-bit per component */ | 59 | case bmdFormat12BitRGB: /* 'R12B' Big-endian RGB 12-bit per component with full range (0-4095). Packed as 12-bit per component */ |
60 | Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp | 60 | diff --git a/sys/decklink/gstdecklinkaudiosrc.cpp b/sys/decklink/gstdecklinkaudiosrc.cpp |
61 | =================================================================== | 61 | index 2fef934..c47229a 100644 |
62 | --- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklinkaudiosrc.cpp | 62 | --- a/sys/decklink/gstdecklinkaudiosrc.cpp |
63 | +++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp | 63 | +++ b/sys/decklink/gstdecklinkaudiosrc.cpp |
64 | @@ -387,7 +387,7 @@ gst_decklink_audio_src_set_caps (GstBase | 64 | @@ -379,7 +379,7 @@ gst_decklink_audio_src_start (GstDecklinkAudioSrc * self) |
65 | g_mutex_unlock (&self->input->lock); | 65 | g_mutex_unlock (&self->input->lock); |
66 | 66 | ||
67 | if (videosrc) { | 67 | if (videosrc) { |
@@ -70,11 +70,11 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkaudiosrc.cpp | |||
70 | gst_object_unref (videosrc); | 70 | gst_object_unref (videosrc); |
71 | 71 | ||
72 | switch (vconn) { | 72 | switch (vconn) { |
73 | Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkvideosink.cpp | 73 | diff --git a/sys/decklink/gstdecklinkvideosink.cpp b/sys/decklink/gstdecklinkvideosink.cpp |
74 | =================================================================== | 74 | index e3a6775..f1a5aae 100644 |
75 | --- gst-plugins-bad-1.10.2.orig/sys/decklink/gstdecklinkvideosink.cpp | 75 | --- a/sys/decklink/gstdecklinkvideosink.cpp |
76 | +++ gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkvideosink.cpp | 76 | +++ b/sys/decklink/gstdecklinkvideosink.cpp |
77 | @@ -285,7 +285,7 @@ reset_framerate (GstCapsFeatures * featu | 77 | @@ -286,7 +286,7 @@ reset_framerate (GstCapsFeatures * features, GstStructure * structure, |
78 | gpointer user_data) | 78 | gpointer user_data) |
79 | { | 79 | { |
80 | gst_structure_set (structure, "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, | 80 | gst_structure_set (structure, "framerate", GST_TYPE_FRACTION_RANGE, 0, 1, |
@@ -83,3 +83,6 @@ Index: gst-plugins-bad-1.10.2/sys/decklink/gstdecklinkvideosink.cpp | |||
83 | 83 | ||
84 | return TRUE; | 84 | return TRUE; |
85 | } | 85 | } |
86 | -- | ||
87 | 2.28.0 | ||
88 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/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 4b6591c0d8..b816709066 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad/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,7 +1,7 @@ | |||
1 | From f41caae14b618ab815ede3c408e7482b00316e3e Mon Sep 17 00:00:00 2001 | 1 | From f19ff66640f2f472c4e9d9055253032d34e125c6 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 4/4] opencv: resolve missing opencv data dir in yocto build |
5 | 5 | ||
6 | When Yocto build is performed, opencv searches for data dir using simple | 6 | When Yocto build is performed, opencv searches for data dir using simple |
7 | 'test' command, this fails because pkg-config provides an absolute | 7 | 'test' command, this fails because pkg-config provides an absolute |
@@ -16,7 +16,7 @@ Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> | |||
16 | 1 file changed, 4 insertions(+), 3 deletions(-) | 16 | 1 file changed, 4 insertions(+), 3 deletions(-) |
17 | 17 | ||
18 | diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build | 18 | diff --git a/ext/opencv/meson.build b/ext/opencv/meson.build |
19 | index f38b55dfe..a26403482 100644 | 19 | index 0b0b3fc..0ed3344 100644 |
20 | --- a/ext/opencv/meson.build | 20 | --- a/ext/opencv/meson.build |
21 | +++ b/ext/opencv/meson.build | 21 | +++ b/ext/opencv/meson.build |
22 | @@ -78,20 +78,21 @@ else | 22 | @@ -78,20 +78,21 @@ else |
@@ -45,5 +45,5 @@ index f38b55dfe..a26403482 100644 | |||
45 | gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv4"' | 45 | gstopencv_cargs += '-DOPENCV_PATH_NAME="opencv4"' |
46 | else | 46 | else |
47 | -- | 47 | -- |
48 | 2.17.1 | 48 | 2.28.0 |
49 | 49 | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.bb index 99176b2571..d209107805 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.2.bb +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.18.0.bb | |||
@@ -1,15 +1,13 @@ | |||
1 | require gstreamer1.0-plugins-common.inc | 1 | require gstreamer1.0-plugins-common.inc |
2 | 2 | ||
3 | SRC_URI = " \ | 3 | SRC_URI = "https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ |
4 | https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-${PV}.tar.xz \ | 4 | file://0001-fix-maybe-uninitialized-warnings-when-compiling-with.patch \ |
5 | file://0001-meson-build-gir-even-when-cross-compiling-if-introsp.patch \ | 5 | file://0002-avoid-including-sys-poll.h-directly.patch \ |
6 | file://fix-maybe-uninitialized-warnings-when-compiling-with-Os.patch \ | 6 | file://0003-ensure-valid-sentinals-for-gst_structure_get-etc.patch \ |
7 | file://avoid-including-sys-poll.h-directly.patch \ | 7 | file://0004-opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ |
8 | file://ensure-valid-sentinels-for-gst_structure_get-etc.patch \ | 8 | " |
9 | file://opencv-resolve-missing-opencv-data-dir-in-yocto-buil.patch \ | 9 | SRC_URI[md5sum] = "c1b5f2fb2d76ace6a3d04df73a8c72ea" |
10 | " | 10 | SRC_URI[sha256sum] = "f382ab1caddd64aaa7acb7c4787487f63fd39bd0fde9c757655cbaa457c1185f" |
11 | SRC_URI[md5sum] = "ccc7404230afddec723bbdb63c89feec" | ||
12 | SRC_URI[sha256sum] = "f1cb7aa2389569a5343661aae473f0a940a90b872001824bc47fa8072a041e74" | ||
13 | 11 | ||
14 | S = "${WORKDIR}/gst-plugins-bad-${PV}" | 12 | S = "${WORKDIR}/gst-plugins-bad-${PV}" |
15 | 13 | ||
@@ -75,10 +73,9 @@ PACKAGECONFIG[srtp] = "-Dsrtp=enabled,-Dsrtp=disabled,libsrtp" | |||
75 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" | 73 | PACKAGECONFIG[tinyalsa] = "-Dtinyalsa=enabled,-Dtinyalsa=disabled,tinyalsa" |
76 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" | 74 | PACKAGECONFIG[ttml] = "-Dttml=enabled,-Dttml=disabled,libxml2 pango cairo" |
77 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" | 75 | PACKAGECONFIG[uvch264] = "-Duvch264=enabled,-Duvch264=disabled,libusb1 libgudev" |
78 | PACKAGECONFIG[vdpau] = "-Dvdpau=enabled,-Dvdpau=disabled,libvdpau" | ||
79 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" | 76 | PACKAGECONFIG[voaacenc] = "-Dvoaacenc=enabled,-Dvoaacenc=disabled,vo-aacenc" |
80 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" | 77 | PACKAGECONFIG[voamrwbenc] = "-Dvoamrwbenc=enabled,-Dvoamrwbenc=disabled,vo-amrwbenc" |
81 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader" | 78 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader shaderc-native" |
82 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" | 79 | PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,wayland-native wayland wayland-protocols libdrm" |
83 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" | 80 | PACKAGECONFIG[webp] = "-Dwebp=enabled,-Dwebp=disabled,libwebp" |
84 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" | 81 | PACKAGECONFIG[webrtc] = "-Dwebrtc=enabled,-Dwebrtc=disabled,libnice" |
@@ -93,6 +90,7 @@ PACKAGECONFIG[zbar] = "-Dzbar=enabled,-Dzbar=disabled,zbar" | |||
93 | # winscreencap wpe x265 | 90 | # winscreencap wpe x265 |
94 | 91 | ||
95 | EXTRA_OEMESON += " \ | 92 | EXTRA_OEMESON += " \ |
93 | -Ddoc=disabled \ | ||
96 | -Ddecklink=enabled \ | 94 | -Ddecklink=enabled \ |
97 | -Ddvb=enabled \ | 95 | -Ddvb=enabled \ |
98 | -Dfbdev=enabled \ | 96 | -Dfbdev=enabled \ |
@@ -118,8 +116,7 @@ EXTRA_OEMESON += " \ | |||
118 | -Dmpeg2enc=disabled \ | 116 | -Dmpeg2enc=disabled \ |
119 | -Dmplex=disabled \ | 117 | -Dmplex=disabled \ |
120 | -Dmusepack=disabled \ | 118 | -Dmusepack=disabled \ |
121 | -Dnvdec=disabled \ | 119 | -Dnvcodec=disabled \ |
122 | -Dnvenc=disabled \ | ||
123 | -Dofa=disabled \ | 120 | -Dofa=disabled \ |
124 | -Dopenexr=disabled \ | 121 | -Dopenexr=disabled \ |
125 | -Dopenni2=disabled \ | 122 | -Dopenni2=disabled \ |
@@ -134,7 +131,6 @@ EXTRA_OEMESON += " \ | |||
134 | -Dwinscreencap=disabled \ | 131 | -Dwinscreencap=disabled \ |
135 | -Dwpe=disabled \ | 132 | -Dwpe=disabled \ |
136 | -Dx265=disabled \ | 133 | -Dx265=disabled \ |
137 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "-Dyadif=disabled", "", d)} \ | ||
138 | " | 134 | " |
139 | 135 | ||
140 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | 136 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" |
@@ -144,4 +140,6 @@ ARM_INSTRUCTION_SET_armv5 = "arm" | |||
144 | 140 | ||
145 | FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" | 141 | FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" |
146 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" | 142 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" |
143 | FILES_${PN}-transcode += "${datadir}/gstreamer-1.0/encoding-profiles" | ||
147 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" | 144 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" |
145 | |||