diff options
Diffstat (limited to 'meta')
16 files changed, 376 insertions, 293 deletions
diff --git a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch b/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch index 2cab87f9ec..1b7f115083 100644 --- a/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch +++ b/meta/recipes-multimedia/gstreamer/files/0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 90916f96262fa7b27a0a99788c69f9fd6df11000 Mon Sep 17 00:00:00 2001 | 1 | From 2b0436f9a07773fae8c74df902d7024e8bfc3512 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 24 Nov 2015 16:46:27 +0200 | 3 | Date: Tue, 24 Nov 2015 16:46:27 +0200 |
4 | Subject: [PATCH] introspection.m4: prefix pkgconfig paths with | 4 | Subject: [PATCH] introspection.m4: prefix pkgconfig paths with |
@@ -10,12 +10,13 @@ is later supplied to g-ir-scanner. | |||
10 | 10 | ||
11 | Upstream-Status: Pending [review on oe-core list] | 11 | Upstream-Status: Pending [review on oe-core list] |
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
13 | |||
13 | --- | 14 | --- |
14 | common/m4/introspection.m4 | 12 ++++++------ | 15 | common/m4/introspection.m4 | 8 ++++---- |
15 | 1 file changed, 6 insertions(+), 6 deletions(-) | 16 | 1 file changed, 4 insertions(+), 4 deletions(-) |
16 | 17 | ||
17 | diff --git a/common/m4/introspection.m4 b/common/m4/introspection.m4 | 18 | diff --git a/common/m4/introspection.m4 b/common/m4/introspection.m4 |
18 | index 162be57..217a6ae 100644 | 19 | index 162be57..933f979 100644 |
19 | --- a/common/m4/introspection.m4 | 20 | --- a/common/m4/introspection.m4 |
20 | +++ b/common/m4/introspection.m4 | 21 | +++ b/common/m4/introspection.m4 |
21 | @@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], | 22 | @@ -54,14 +54,14 @@ m4_define([_GOBJECT_INTROSPECTION_CHECK_INTERNAL], |
@@ -37,6 +38,3 @@ index 162be57..217a6ae 100644 | |||
37 | INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" | 38 | INTROSPECTION_INIT="extern void gst_init(gint*,gchar**); gst_init(NULL,NULL);" |
38 | fi | 39 | fi |
39 | AC_SUBST(INTROSPECTION_SCANNER) | 40 | AC_SUBST(INTROSPECTION_SCANNER) |
40 | -- | ||
41 | 2.6.2 | ||
42 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc deleted file mode 100644 index 08130c1da4..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base.inc +++ /dev/null | |||
@@ -1,50 +0,0 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | SRC_URI_append = "\ | ||
4 | file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ | ||
5 | file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \ | ||
6 | file://0003-riff-add-missing-include-directories-when-calling-in.patch \ | ||
7 | file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \ | ||
8 | " | ||
9 | |||
10 | LICENSE = "GPLv2+ & LGPLv2+" | ||
11 | |||
12 | DEPENDS += "iso-codes util-linux zlib" | ||
13 | |||
14 | inherit gettext | ||
15 | |||
16 | PACKAGES_DYNAMIC =+ "^libgst.*" | ||
17 | |||
18 | PACKAGECONFIG ??= " \ | ||
19 | ${GSTREAMER_ORC} \ | ||
20 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ | ||
21 | gio-unix-2.0 ogg pango theora vorbis \ | ||
22 | " | ||
23 | |||
24 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | ||
25 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
26 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
27 | |||
28 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
29 | PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia" | ||
30 | PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0" | ||
31 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" | ||
32 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" | ||
33 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
34 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
35 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | ||
36 | PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" | ||
37 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | ||
38 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
39 | |||
40 | EXTRA_OECONF += " \ | ||
41 | --enable-zlib \ | ||
42 | " | ||
43 | |||
44 | CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" | ||
45 | |||
46 | FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" | ||
47 | |||
48 | do_compile_prepend() { | ||
49 | export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/tag/.libs:${B}/gst-libs/gst/video/.libs:${B}/gst-libs/gst/audio/.libs:${B}/gst-libs/gst/rtp/.libs" | ||
50 | } | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch index 094bdac846..128c7f8cb6 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch | |||
@@ -1,16 +1,18 @@ | |||
1 | From f1d9652351e7754c63003104eceb526af424c7e0 Mon Sep 17 00:00:00 2001 | 1 | From 4d6ea58f96b9744af8d899ddca22c2695ac74b5b Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Fri, 20 Nov 2015 16:53:04 +0200 | 3 | Date: Thu, 5 Apr 2018 10:15:08 +0800 |
4 | Subject: [PATCH 1/4] Makefile.am: don't hardcode libtool name when running | 4 | Subject: [PATCH] Makefile.am: don't hardcode libtool name when running |
5 | introspection tools | 5 | introspection tools |
6 | 6 | ||
7 | Upstream-Status: Pending [review on oe-core maillist] | 7 | Upstream-Status: Pending [review on oe-core maillist] |
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
9 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
10 | |||
9 | --- | 11 | --- |
10 | gst-libs/gst/allocators/Makefile.am | 2 +- | 12 | gst-libs/gst/allocators/Makefile.am | 2 +- |
11 | gst-libs/gst/app/Makefile.am | 2 +- | 13 | gst-libs/gst/app/Makefile.am | 2 +- |
12 | gst-libs/gst/audio/Makefile.am | 2 +- | 14 | gst-libs/gst/audio/Makefile.am | 2 +- |
13 | gst-libs/gst/fft/Makefile.am | 2 +- | 15 | gst-libs/gst/gl/Makefile.am | 2 +- |
14 | gst-libs/gst/pbutils/Makefile.am | 2 +- | 16 | gst-libs/gst/pbutils/Makefile.am | 2 +- |
15 | gst-libs/gst/riff/Makefile.am | 2 +- | 17 | gst-libs/gst/riff/Makefile.am | 2 +- |
16 | gst-libs/gst/rtp/Makefile.am | 2 +- | 18 | gst-libs/gst/rtp/Makefile.am | 2 +- |
@@ -21,10 +23,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
21 | 11 files changed, 11 insertions(+), 11 deletions(-) | 23 | 11 files changed, 11 insertions(+), 11 deletions(-) |
22 | 24 | ||
23 | diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am | 25 | diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am |
24 | index 9361bf9..bc7f53a 100644 | 26 | index 1957d28..1ecc950 100644 |
25 | --- a/gst-libs/gst/allocators/Makefile.am | 27 | --- a/gst-libs/gst/allocators/Makefile.am |
26 | +++ b/gst-libs/gst/allocators/Makefile.am | 28 | +++ b/gst-libs/gst/allocators/Makefile.am |
27 | @@ -38,7 +38,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@ | 29 | @@ -42,7 +42,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@ |
28 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 30 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
29 | --library=libgstallocators-@GST_API_VERSION@.la \ | 31 | --library=libgstallocators-@GST_API_VERSION@.la \ |
30 | --include=Gst-@GST_API_VERSION@ \ | 32 | --include=Gst-@GST_API_VERSION@ \ |
@@ -34,10 +36,10 @@ index 9361bf9..bc7f53a 100644 | |||
34 | --pkg-export gstreamer-allocators-@GST_API_VERSION@ \ | 36 | --pkg-export gstreamer-allocators-@GST_API_VERSION@ \ |
35 | --output $@ \ | 37 | --output $@ \ |
36 | diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am | 38 | diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am |
37 | index 6d6de8d..dcc2fe0 100644 | 39 | index 52f6ad3..5bfd606 100644 |
38 | --- a/gst-libs/gst/app/Makefile.am | 40 | --- a/gst-libs/gst/app/Makefile.am |
39 | +++ b/gst-libs/gst/app/Makefile.am | 41 | +++ b/gst-libs/gst/app/Makefile.am |
40 | @@ -53,7 +53,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO | 42 | @@ -56,7 +56,7 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO |
41 | --library=libgstapp-@GST_API_VERSION@.la \ | 43 | --library=libgstapp-@GST_API_VERSION@.la \ |
42 | --include=Gst-@GST_API_VERSION@ \ | 44 | --include=Gst-@GST_API_VERSION@ \ |
43 | --include=GstBase-@GST_API_VERSION@ \ | 45 | --include=GstBase-@GST_API_VERSION@ \ |
@@ -47,10 +49,10 @@ index 6d6de8d..dcc2fe0 100644 | |||
47 | --pkg gstreamer-base-@GST_API_VERSION@ \ | 49 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
48 | --pkg-export gstreamer-app-@GST_API_VERSION@ \ | 50 | --pkg-export gstreamer-app-@GST_API_VERSION@ \ |
49 | diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am | 51 | diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am |
50 | index 275d222..2374196 100644 | 52 | index 2922245..7fb65f2 100644 |
51 | --- a/gst-libs/gst/audio/Makefile.am | 53 | --- a/gst-libs/gst/audio/Makefile.am |
52 | +++ b/gst-libs/gst/audio/Makefile.am | 54 | +++ b/gst-libs/gst/audio/Makefile.am |
53 | @@ -116,7 +116,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE | 55 | @@ -184,7 +184,7 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE |
54 | --include=Gst-@GST_API_VERSION@ \ | 56 | --include=Gst-@GST_API_VERSION@ \ |
55 | --include=GstBase-@GST_API_VERSION@ \ | 57 | --include=GstBase-@GST_API_VERSION@ \ |
56 | --include=GstTag-@GST_API_VERSION@ \ | 58 | --include=GstTag-@GST_API_VERSION@ \ |
@@ -59,24 +61,24 @@ index 275d222..2374196 100644 | |||
59 | --pkg gstreamer-@GST_API_VERSION@ \ | 61 | --pkg gstreamer-@GST_API_VERSION@ \ |
60 | --pkg gstreamer-base-@GST_API_VERSION@ \ | 62 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
61 | --pkg-export gstreamer-audio-@GST_API_VERSION@ \ | 63 | --pkg-export gstreamer-audio-@GST_API_VERSION@ \ |
62 | diff --git a/gst-libs/gst/fft/Makefile.am b/gst-libs/gst/fft/Makefile.am | 64 | diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am |
63 | index 09b3d68..f545354 100644 | 65 | index a3bbc94..16f829f 100644 |
64 | --- a/gst-libs/gst/fft/Makefile.am | 66 | --- a/gst-libs/gst/gl/Makefile.am |
65 | +++ b/gst-libs/gst/fft/Makefile.am | 67 | +++ b/gst-libs/gst/gl/Makefile.am |
66 | @@ -65,7 +65,7 @@ GstFft-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstfft-@GST_API_VERSIO | 68 | @@ -192,7 +192,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ |
67 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | ||
68 | --library=libgstfft-@GST_API_VERSION@.la \ | ||
69 | --include=Gst-@GST_API_VERSION@ \ | 69 | --include=Gst-@GST_API_VERSION@ \ |
70 | --include=GstBase-@GST_API_VERSION@ \ | ||
71 | --include=GstVideo-@GST_API_VERSION@ \ | ||
70 | - --libtool="$(top_builddir)/libtool" \ | 72 | - --libtool="$(top_builddir)/libtool" \ |
71 | + --libtool="$(LIBTOOL)" \ | 73 | + --libtool="$(LIBTOOL)" \ |
72 | --pkg gstreamer-@GST_API_VERSION@ \ | 74 | --pkg gstreamer-@GST_API_VERSION@ \ |
73 | --pkg-export gstreamer-fft-@GST_API_VERSION@ \ | 75 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
74 | --output $@ \ | 76 | --pkg gstreamer-video-@GST_API_VERSION@ \ |
75 | diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am | 77 | diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am |
76 | index 64d5eb0..91dc214 100644 | 78 | index ae51993..35a6e44 100644 |
77 | --- a/gst-libs/gst/pbutils/Makefile.am | 79 | --- a/gst-libs/gst/pbutils/Makefile.am |
78 | +++ b/gst-libs/gst/pbutils/Makefile.am | 80 | +++ b/gst-libs/gst/pbutils/Makefile.am |
79 | @@ -99,7 +99,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP | 81 | @@ -103,7 +103,7 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP |
80 | --include=GstTag-@GST_API_VERSION@ \ | 82 | --include=GstTag-@GST_API_VERSION@ \ |
81 | --include=GstVideo-@GST_API_VERSION@ \ | 83 | --include=GstVideo-@GST_API_VERSION@ \ |
82 | --include=GstAudio-@GST_API_VERSION@ \ | 84 | --include=GstAudio-@GST_API_VERSION@ \ |
@@ -86,10 +88,10 @@ index 64d5eb0..91dc214 100644 | |||
86 | --pkg gstreamer-tag-@GST_API_VERSION@ \ | 88 | --pkg gstreamer-tag-@GST_API_VERSION@ \ |
87 | --pkg gstreamer-video-@GST_API_VERSION@ \ | 89 | --pkg gstreamer-video-@GST_API_VERSION@ \ |
88 | diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am | 90 | diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am |
89 | index 83d83cb..3bd8fc0 100644 | 91 | index fb53f06..e66ef4f 100644 |
90 | --- a/gst-libs/gst/riff/Makefile.am | 92 | --- a/gst-libs/gst/riff/Makefile.am |
91 | +++ b/gst-libs/gst/riff/Makefile.am | 93 | +++ b/gst-libs/gst/riff/Makefile.am |
92 | @@ -47,7 +47,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) | 94 | @@ -49,7 +49,7 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) |
93 | # --include=GstAudio-@GST_API_VERSION@ \ | 95 | # --include=GstAudio-@GST_API_VERSION@ \ |
94 | # --include=GstTag-@GST_API_VERSION@ \ | 96 | # --include=GstTag-@GST_API_VERSION@ \ |
95 | # --include=Gst-@GST_API_VERSION@ \ | 97 | # --include=Gst-@GST_API_VERSION@ \ |
@@ -99,10 +101,10 @@ index 83d83cb..3bd8fc0 100644 | |||
99 | # --pkg gstreamer-tag-@GST_API_VERSION@ \ | 101 | # --pkg gstreamer-tag-@GST_API_VERSION@ \ |
100 | # --pkg gstreamer-audio-@GST_API_VERSION@ \ | 102 | # --pkg gstreamer-audio-@GST_API_VERSION@ \ |
101 | diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am | 103 | diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am |
102 | index fdd01c1..f5445c1 100644 | 104 | index a6f971d..77ebeeb 100644 |
103 | --- a/gst-libs/gst/rtp/Makefile.am | 105 | --- a/gst-libs/gst/rtp/Makefile.am |
104 | +++ b/gst-libs/gst/rtp/Makefile.am | 106 | +++ b/gst-libs/gst/rtp/Makefile.am |
105 | @@ -65,7 +65,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO | 107 | @@ -69,7 +69,7 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO |
106 | --library=libgstrtp-@GST_API_VERSION@.la \ | 108 | --library=libgstrtp-@GST_API_VERSION@.la \ |
107 | --include=Gst-@GST_API_VERSION@ \ | 109 | --include=Gst-@GST_API_VERSION@ \ |
108 | --include=GstBase-@GST_API_VERSION@ \ | 110 | --include=GstBase-@GST_API_VERSION@ \ |
@@ -112,10 +114,10 @@ index fdd01c1..f5445c1 100644 | |||
112 | --pkg gstreamer-base-@GST_API_VERSION@ \ | 114 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
113 | --pkg-export gstreamer-rtp-@GST_API_VERSION@ \ | 115 | --pkg-export gstreamer-rtp-@GST_API_VERSION@ \ |
114 | diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am | 116 | diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am |
115 | index ede5706..9b0b258 100644 | 117 | index ceb07f4..db9d0fd 100644 |
116 | --- a/gst-libs/gst/rtsp/Makefile.am | 118 | --- a/gst-libs/gst/rtsp/Makefile.am |
117 | +++ b/gst-libs/gst/rtsp/Makefile.am | 119 | +++ b/gst-libs/gst/rtsp/Makefile.am |
118 | @@ -72,7 +72,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS | 120 | @@ -76,7 +76,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS |
119 | --include=Gio-2.0 \ | 121 | --include=Gio-2.0 \ |
120 | --include=Gst-@GST_API_VERSION@ \ | 122 | --include=Gst-@GST_API_VERSION@ \ |
121 | --include=GstSdp-@GST_API_VERSION@ \ | 123 | --include=GstSdp-@GST_API_VERSION@ \ |
@@ -125,10 +127,10 @@ index ede5706..9b0b258 100644 | |||
125 | --pkg gstreamer-@GST_API_VERSION@ \ | 127 | --pkg gstreamer-@GST_API_VERSION@ \ |
126 | --pkg gstreamer-sdp-@GST_API_VERSION@ \ | 128 | --pkg gstreamer-sdp-@GST_API_VERSION@ \ |
127 | diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am | 129 | diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am |
128 | index a90f30b..0e149b8 100644 | 130 | index e197e9b..6e05cc7 100644 |
129 | --- a/gst-libs/gst/sdp/Makefile.am | 131 | --- a/gst-libs/gst/sdp/Makefile.am |
130 | +++ b/gst-libs/gst/sdp/Makefile.am | 132 | +++ b/gst-libs/gst/sdp/Makefile.am |
131 | @@ -32,7 +32,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO | 133 | @@ -34,7 +34,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO |
132 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 134 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
133 | --library=libgstsdp-@GST_API_VERSION@.la \ | 135 | --library=libgstsdp-@GST_API_VERSION@.la \ |
134 | --include=Gst-@GST_API_VERSION@ \ | 136 | --include=Gst-@GST_API_VERSION@ \ |
@@ -138,10 +140,10 @@ index a90f30b..0e149b8 100644 | |||
138 | --pkg-export gstreamer-sdp-@GST_API_VERSION@ \ | 140 | --pkg-export gstreamer-sdp-@GST_API_VERSION@ \ |
139 | --output $@ \ | 141 | --output $@ \ |
140 | diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am | 142 | diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am |
141 | index c534a4d..cafafd3 100644 | 143 | index 0247c33..c86515b 100644 |
142 | --- a/gst-libs/gst/tag/Makefile.am | 144 | --- a/gst-libs/gst/tag/Makefile.am |
143 | +++ b/gst-libs/gst/tag/Makefile.am | 145 | +++ b/gst-libs/gst/tag/Makefile.am |
144 | @@ -45,7 +45,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO | 146 | @@ -66,7 +66,7 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO |
145 | --library=libgsttag-@GST_API_VERSION@.la \ | 147 | --library=libgsttag-@GST_API_VERSION@.la \ |
146 | --include=Gst-@GST_API_VERSION@ \ | 148 | --include=Gst-@GST_API_VERSION@ \ |
147 | --include=GstBase-@GST_API_VERSION@ \ | 149 | --include=GstBase-@GST_API_VERSION@ \ |
@@ -151,10 +153,10 @@ index c534a4d..cafafd3 100644 | |||
151 | --pkg gstreamer-base-@GST_API_VERSION@ \ | 153 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
152 | --pkg-export gstreamer-tag-@GST_API_VERSION@ \ | 154 | --pkg-export gstreamer-tag-@GST_API_VERSION@ \ |
153 | diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am | 155 | diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am |
154 | index 5d31fa1..ac64eb3 100644 | 156 | index 9fc1ccf..0f8455f 100644 |
155 | --- a/gst-libs/gst/video/Makefile.am | 157 | --- a/gst-libs/gst/video/Makefile.am |
156 | +++ b/gst-libs/gst/video/Makefile.am | 158 | +++ b/gst-libs/gst/video/Makefile.am |
157 | @@ -116,7 +116,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE | 159 | @@ -124,7 +124,7 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE |
158 | --library=libgstvideo-@GST_API_VERSION@.la \ | 160 | --library=libgstvideo-@GST_API_VERSION@.la \ |
159 | --include=Gst-@GST_API_VERSION@ \ | 161 | --include=Gst-@GST_API_VERSION@ \ |
160 | --include=GstBase-@GST_API_VERSION@ \ | 162 | --include=GstBase-@GST_API_VERSION@ \ |
@@ -163,6 +165,3 @@ index 5d31fa1..ac64eb3 100644 | |||
163 | --pkg gstreamer-@GST_API_VERSION@ \ | 165 | --pkg gstreamer-@GST_API_VERSION@ \ |
164 | --pkg gstreamer-base-@GST_API_VERSION@ \ | 166 | --pkg gstreamer-base-@GST_API_VERSION@ \ |
165 | --pkg-export gstreamer-video-@GST_API_VERSION@ \ | 167 | --pkg-export gstreamer-video-@GST_API_VERSION@ \ |
166 | -- | ||
167 | 2.6.2 | ||
168 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gl-pick-up-GstVideo-1.0.gir-from-local-build-dir.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gl-pick-up-GstVideo-1.0.gir-from-local-build-dir.patch new file mode 100644 index 0000000000..eba72db96b --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gl-pick-up-GstVideo-1.0.gir-from-local-build-dir.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 1a7c457cf209e853148865f196edc12ba8d5c10c Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= <tim@centricular.com> | ||
3 | Date: Tue, 27 Mar 2018 10:43:16 +0100 | ||
4 | Subject: [PATCH] gl: pick up GstVideo-1.0.gir from local build dir | ||
5 | |||
6 | https://bugzilla.gnome.org/show_bug.cgi?id=794708 | ||
7 | |||
8 | Upstream-Status: Backport [https://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1.14&id=9261296858cb149767ceac44fd6bd13cc0de0d21] | ||
9 | |||
10 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
11 | |||
12 | --- | ||
13 | gst-libs/gst/gl/Makefile.am | 5 +++-- | ||
14 | 1 file changed, 3 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am | ||
17 | index fc15a6d..ab6cc55 100644 | ||
18 | --- a/gst-libs/gst/gl/Makefile.am | ||
19 | +++ b/gst-libs/gst/gl/Makefile.am | ||
20 | @@ -185,9 +185,10 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ | ||
21 | -I$(top_builddir)/gst-libs \ | ||
22 | $(GST_PLUGINS_BASE_CFLAGS) \ | ||
23 | $(GL_CFLAGS) \ | ||
24 | + --add-include-path="$(top_builddir)/gst-libs/gst/video/" \ | ||
25 | --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | ||
26 | --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ | ||
27 | - --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
28 | + --library-path="$(top_builddir)/gst-libs/gst/video/" \ | ||
29 | --library=libgstgl-@GST_API_VERSION@.la \ | ||
30 | --include=Gst-@GST_API_VERSION@ \ | ||
31 | --include=GstBase-@GST_API_VERSION@ \ | ||
32 | @@ -216,9 +217,9 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) | ||
33 | $(INTROSPECTION_COMPILER) \ | ||
34 | --includedir=$(srcdir) \ | ||
35 | --includedir=$(builddir) \ | ||
36 | + --includedir="$(top_builddir)/gst-libs/gst/video/" \ | ||
37 | --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | ||
38 | --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ | ||
39 | - --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
40 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | ||
41 | |||
42 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch new file mode 100644 index 0000000000..251dc172cb --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch | |||
@@ -0,0 +1,29 @@ | |||
1 | From 61a672e79c8cb1aeeeda4c968997c577ac73a8f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 12 May 2017 16:47:12 +0300 | ||
4 | Subject: [PATCH] gstreamer-gl.pc.in: don't append GL_CFLAGS to CFLAGS | ||
5 | |||
6 | Dependencies' include directories should not be added in this way; | ||
7 | it causes problems when cross-compiling in sysroot environments. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
13 | --- | ||
14 | pkgconfig/gstreamer-gl.pc.in | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/pkgconfig/gstreamer-gl.pc.in b/pkgconfig/gstreamer-gl.pc.in | ||
18 | index dc672a9..8c290ba 100644 | ||
19 | --- a/pkgconfig/gstreamer-gl.pc.in | ||
20 | +++ b/pkgconfig/gstreamer-gl.pc.in | ||
21 | @@ -13,4 +13,4 @@ Version: @VERSION@ | ||
22 | Requires: gstreamer-video-@GST_API_VERSION@ gstreamer-base-@GST_API_VERSION@ gstreamer-@GST_API_VERSION@ | ||
23 | |||
24 | Libs: -L${libdir} -lgstgl-@GST_API_VERSION@ | ||
25 | -Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include @GL_CFLAGS@ | ||
26 | +Cflags: -I${includedir} -I${libdir}/gstreamer-@GST_API_VERSION@/include | ||
27 | -- | ||
28 | 2.7.4 | ||
29 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch index 6616e2cf0d..377c89a11d 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch | |||
@@ -1,16 +1,18 @@ | |||
1 | From 990b653c7b6de1937ec759019982d6c5f15770f7 Mon Sep 17 00:00:00 2001 | 1 | From 77b88eae845060d38cf788651f66a7ae98f9b199 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 26 Oct 2015 16:38:18 +0200 | 3 | Date: Thu, 5 Apr 2018 10:26:25 +0800 |
4 | Subject: [PATCH 2/4] Makefile.am: prefix calls to pkg-config with | 4 | Subject: [PATCH] Makefile.am: prefix calls to pkg-config with |
5 | PKG_CONFIG_SYSROOT_DIR | 5 | PKG_CONFIG_SYSROOT_DIR |
6 | 6 | ||
7 | Upstream-Status: Pending [review on oe-core maillist] | 7 | Upstream-Status: Pending [review on oe-core maillist] |
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
9 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
10 | |||
9 | --- | 11 | --- |
10 | gst-libs/gst/allocators/Makefile.am | 4 ++-- | 12 | gst-libs/gst/allocators/Makefile.am | 4 ++-- |
11 | gst-libs/gst/app/Makefile.am | 4 ++-- | 13 | gst-libs/gst/app/Makefile.am | 4 ++-- |
12 | gst-libs/gst/audio/Makefile.am | 12 ++++++------ | 14 | gst-libs/gst/audio/Makefile.am | 12 ++++++------ |
13 | gst-libs/gst/fft/Makefile.am | 4 ++-- | 15 | gst-libs/gst/gl/Makefile.am | 12 ++++++------ |
14 | gst-libs/gst/pbutils/Makefile.am | 12 ++++++------ | 16 | gst-libs/gst/pbutils/Makefile.am | 12 ++++++------ |
15 | gst-libs/gst/riff/Makefile.am | 8 ++++---- | 17 | gst-libs/gst/riff/Makefile.am | 8 ++++---- |
16 | gst-libs/gst/rtp/Makefile.am | 8 ++++---- | 18 | gst-libs/gst/rtp/Makefile.am | 8 ++++---- |
@@ -18,13 +20,13 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
18 | gst-libs/gst/sdp/Makefile.am | 4 ++-- | 20 | gst-libs/gst/sdp/Makefile.am | 4 ++-- |
19 | gst-libs/gst/tag/Makefile.am | 8 ++++---- | 21 | gst-libs/gst/tag/Makefile.am | 8 ++++---- |
20 | gst-libs/gst/video/Makefile.am | 8 ++++---- | 22 | gst-libs/gst/video/Makefile.am | 8 ++++---- |
21 | 11 files changed, 38 insertions(+), 38 deletions(-) | 23 | 11 files changed, 42 insertions(+), 42 deletions(-) |
22 | 24 | ||
23 | Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am | 25 | diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am |
24 | =================================================================== | 26 | index 1ecc950..d6417ac 100644 |
25 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/allocators/Makefile.am | 27 | --- a/gst-libs/gst/allocators/Makefile.am |
26 | +++ gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am | 28 | +++ b/gst-libs/gst/allocators/Makefile.am |
27 | @@ -36,7 +36,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(I | 29 | @@ -39,7 +39,7 @@ GstAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstallocators-@ |
28 | --c-include "gst/allocators/allocators.h" \ | 30 | --c-include "gst/allocators/allocators.h" \ |
29 | -I$(top_srcdir)/gst-libs \ | 31 | -I$(top_srcdir)/gst-libs \ |
30 | -I$(top_builddir)/gst-libs \ | 32 | -I$(top_builddir)/gst-libs \ |
@@ -33,7 +35,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am | |||
33 | --library=libgstallocators-@GST_API_VERSION@.la \ | 35 | --library=libgstallocators-@GST_API_VERSION@.la \ |
34 | --include=Gst-@GST_API_VERSION@ \ | 36 | --include=Gst-@GST_API_VERSION@ \ |
35 | --libtool="$(LIBTOOL)" \ | 37 | --libtool="$(LIBTOOL)" \ |
36 | @@ -60,7 +60,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 38 | @@ -63,7 +63,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
37 | $(INTROSPECTION_COMPILER) \ | 39 | $(INTROSPECTION_COMPILER) \ |
38 | --includedir=$(srcdir) \ | 40 | --includedir=$(srcdir) \ |
39 | --includedir=$(builddir) \ | 41 | --includedir=$(builddir) \ |
@@ -42,11 +44,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/allocators/Makefile.am | |||
42 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 44 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
43 | 45 | ||
44 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) | 46 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) |
45 | Index: gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am | 47 | diff --git a/gst-libs/gst/app/Makefile.am b/gst-libs/gst/app/Makefile.am |
46 | =================================================================== | 48 | index 5bfd606..6441674 100644 |
47 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/app/Makefile.am | 49 | --- a/gst-libs/gst/app/Makefile.am |
48 | +++ gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am | 50 | +++ b/gst-libs/gst/app/Makefile.am |
49 | @@ -48,8 +48,8 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPE | 51 | @@ -51,8 +51,8 @@ GstApp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstapp-@GST_API_VERSIO |
50 | --c-include "gst/app/app.h" \ | 52 | --c-include "gst/app/app.h" \ |
51 | -I$(top_srcdir)/gst-libs \ | 53 | -I$(top_srcdir)/gst-libs \ |
52 | -I$(top_builddir)/gst-libs \ | 54 | -I$(top_builddir)/gst-libs \ |
@@ -57,11 +59,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/app/Makefile.am | |||
57 | --library=libgstapp-@GST_API_VERSION@.la \ | 59 | --library=libgstapp-@GST_API_VERSION@.la \ |
58 | --include=Gst-@GST_API_VERSION@ \ | 60 | --include=Gst-@GST_API_VERSION@ \ |
59 | --include=GstBase-@GST_API_VERSION@ \ | 61 | --include=GstBase-@GST_API_VERSION@ \ |
60 | Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am | 62 | diff --git a/gst-libs/gst/audio/Makefile.am b/gst-libs/gst/audio/Makefile.am |
61 | =================================================================== | 63 | index 7fb65f2..5379f79 100644 |
62 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/audio/Makefile.am | 64 | --- a/gst-libs/gst/audio/Makefile.am |
63 | +++ gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am | 65 | +++ b/gst-libs/gst/audio/Makefile.am |
64 | @@ -167,12 +167,12 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROS | 66 | @@ -174,12 +174,12 @@ GstAudio-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstaudio-@GST_API_VE |
65 | -I$(top_srcdir)/gst-libs \ | 67 | -I$(top_srcdir)/gst-libs \ |
66 | -I$(top_builddir)/gst-libs \ | 68 | -I$(top_builddir)/gst-libs \ |
67 | --c-include "gst/audio/audio.h" \ | 69 | --c-include "gst/audio/audio.h" \ |
@@ -78,7 +80,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am | |||
78 | --library-path="$(top_builddir)/gst-libs/gst/tag/" \ | 80 | --library-path="$(top_builddir)/gst-libs/gst/tag/" \ |
79 | --include=Gst-@GST_API_VERSION@ \ | 81 | --include=Gst-@GST_API_VERSION@ \ |
80 | --include=GstBase-@GST_API_VERSION@ \ | 82 | --include=GstBase-@GST_API_VERSION@ \ |
81 | @@ -201,8 +201,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 83 | @@ -208,8 +208,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
82 | --includedir=$(srcdir) \ | 84 | --includedir=$(srcdir) \ |
83 | --includedir=$(builddir) \ | 85 | --includedir=$(builddir) \ |
84 | --includedir="$(top_builddir)/gst-libs/gst/tag/" \ | 86 | --includedir="$(top_builddir)/gst-libs/gst/tag/" \ |
@@ -89,33 +91,41 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/audio/Makefile.am | |||
89 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 91 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
90 | 92 | ||
91 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) | 93 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) |
92 | Index: gst-plugins-base-1.12.3/gst-libs/gst/fft/Makefile.am | 94 | diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am |
93 | =================================================================== | 95 | index 16f829f..fc15a6d 100644 |
94 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/fft/Makefile.am | 96 | --- a/gst-libs/gst/gl/Makefile.am |
95 | +++ gst-plugins-base-1.12.3/gst-libs/gst/fft/Makefile.am | 97 | +++ b/gst-libs/gst/gl/Makefile.am |
96 | @@ -63,7 +63,7 @@ GstFft-@GST_API_VERSION@.gir: $(INTROSPE | 98 | @@ -185,9 +185,9 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ |
97 | --c-include "gst/fft/fft.h" \ | ||
98 | -I$(top_srcdir)/gst-libs \ | ||
99 | -I$(top_builddir)/gst-libs \ | 99 | -I$(top_builddir)/gst-libs \ |
100 | $(GST_PLUGINS_BASE_CFLAGS) \ | ||
101 | $(GL_CFLAGS) \ | ||
100 | - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 102 | - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
103 | - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ | ||
104 | - --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
101 | + --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 105 | + --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
102 | --library=libgstfft-@GST_API_VERSION@.la \ | 106 | + --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ |
107 | + --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
108 | --library=libgstgl-@GST_API_VERSION@.la \ | ||
103 | --include=Gst-@GST_API_VERSION@ \ | 109 | --include=Gst-@GST_API_VERSION@ \ |
104 | --libtool="$(LIBTOOL)" \ | 110 | --include=GstBase-@GST_API_VERSION@ \ |
105 | @@ -87,7 +87,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 111 | @@ -216,9 +216,9 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
106 | $(INTROSPECTION_COMPILER) \ | 112 | $(INTROSPECTION_COMPILER) \ |
107 | --includedir=$(srcdir) \ | 113 | --includedir=$(srcdir) \ |
108 | --includedir=$(builddir) \ | 114 | --includedir=$(builddir) \ |
109 | - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 115 | - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
116 | - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ | ||
117 | - --includedir=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
110 | + --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 118 | + --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
119 | + --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-base-@GST_API_VERSION@` \ | ||
120 | + --includedir=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
111 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 121 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
112 | 122 | ||
113 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) | 123 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) |
114 | Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am | 124 | diff --git a/gst-libs/gst/pbutils/Makefile.am b/gst-libs/gst/pbutils/Makefile.am |
115 | =================================================================== | 125 | index 35a6e44..49d6894 100644 |
116 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/pbutils/Makefile.am | 126 | --- a/gst-libs/gst/pbutils/Makefile.am |
117 | +++ gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am | 127 | +++ b/gst-libs/gst/pbutils/Makefile.am |
118 | @@ -85,14 +85,14 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTR | 128 | @@ -88,14 +88,14 @@ GstPbutils-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstpbutils-@GST_AP |
119 | --c-include "gst/pbutils/pbutils.h" \ | 129 | --c-include "gst/pbutils/pbutils.h" \ |
120 | -I$(top_srcdir)/gst-libs \ | 130 | -I$(top_srcdir)/gst-libs \ |
121 | -I$(top_builddir)/gst-libs \ | 131 | -I$(top_builddir)/gst-libs \ |
@@ -134,7 +144,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am | |||
134 | --library-path="$(top_builddir)/gst-libs/gst/tag/" \ | 144 | --library-path="$(top_builddir)/gst-libs/gst/tag/" \ |
135 | --library-path="$(top_builddir)/gst-libs/gst/video/" \ | 145 | --library-path="$(top_builddir)/gst-libs/gst/video/" \ |
136 | --library-path="$(top_builddir)/gst-libs/gst/audio/" \ | 146 | --library-path="$(top_builddir)/gst-libs/gst/audio/" \ |
137 | @@ -125,8 +125,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 147 | @@ -128,8 +128,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
138 | $(INTROSPECTION_COMPILER) \ | 148 | $(INTROSPECTION_COMPILER) \ |
139 | --includedir=$(srcdir) \ | 149 | --includedir=$(srcdir) \ |
140 | --includedir=$(builddir) \ | 150 | --includedir=$(builddir) \ |
@@ -145,11 +155,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/pbutils/Makefile.am | |||
145 | --includedir="$(top_builddir)/gst-libs/gst/tag/" \ | 155 | --includedir="$(top_builddir)/gst-libs/gst/tag/" \ |
146 | --includedir="$(top_builddir)/gst-libs/gst/video/" \ | 156 | --includedir="$(top_builddir)/gst-libs/gst/video/" \ |
147 | --includedir="$(top_builddir)/gst-libs/gst/audio/" \ | 157 | --includedir="$(top_builddir)/gst-libs/gst/audio/" \ |
148 | Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am | 158 | diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am |
149 | =================================================================== | 159 | index e66ef4f..c8c588a 100644 |
150 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/riff/Makefile.am | 160 | --- a/gst-libs/gst/riff/Makefile.am |
151 | +++ gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am | 161 | +++ b/gst-libs/gst/riff/Makefile.am |
152 | @@ -42,8 +42,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS | 162 | @@ -43,8 +43,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) |
153 | # --c-include "gst/riff/riff.h" \ | 163 | # --c-include "gst/riff/riff.h" \ |
154 | # --add-include-path=$(builddir)/../tag \ | 164 | # --add-include-path=$(builddir)/../tag \ |
155 | # --add-include-path=$(builddir)/../audio \ | 165 | # --add-include-path=$(builddir)/../audio \ |
@@ -160,7 +170,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am | |||
160 | # --library=libgstriff-@GST_API_VERSION@.la \ | 170 | # --library=libgstriff-@GST_API_VERSION@.la \ |
161 | # --include=GstAudio-@GST_API_VERSION@ \ | 171 | # --include=GstAudio-@GST_API_VERSION@ \ |
162 | # --include=GstTag-@GST_API_VERSION@ \ | 172 | # --include=GstTag-@GST_API_VERSION@ \ |
163 | @@ -74,8 +74,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS | 173 | @@ -75,8 +75,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) |
164 | # --includedir=$(builddir) \ | 174 | # --includedir=$(builddir) \ |
165 | # --includedir=$(builddir)/../tag \ | 175 | # --includedir=$(builddir)/../tag \ |
166 | # --includedir=$(builddir)/../audio \ | 176 | # --includedir=$(builddir)/../audio \ |
@@ -171,11 +181,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/riff/Makefile.am | |||
171 | # $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 181 | # $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
172 | # | 182 | # |
173 | #CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) | 183 | #CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) |
174 | Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am | 184 | diff --git a/gst-libs/gst/rtp/Makefile.am b/gst-libs/gst/rtp/Makefile.am |
175 | =================================================================== | 185 | index 77ebeeb..9aee788 100644 |
176 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/rtp/Makefile.am | 186 | --- a/gst-libs/gst/rtp/Makefile.am |
177 | +++ gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am | 187 | +++ b/gst-libs/gst/rtp/Makefile.am |
178 | @@ -61,8 +61,8 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPE | 188 | @@ -64,8 +64,8 @@ GstRtp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtp-@GST_API_VERSIO |
179 | --c-include "gst/rtp/rtp.h" \ | 189 | --c-include "gst/rtp/rtp.h" \ |
180 | -I$(top_builddir)/gst-libs \ | 190 | -I$(top_builddir)/gst-libs \ |
181 | -I$(top_srcdir)/gst-libs \ | 191 | -I$(top_srcdir)/gst-libs \ |
@@ -186,7 +196,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am | |||
186 | --library=libgstrtp-@GST_API_VERSION@.la \ | 196 | --library=libgstrtp-@GST_API_VERSION@.la \ |
187 | --include=Gst-@GST_API_VERSION@ \ | 197 | --include=Gst-@GST_API_VERSION@ \ |
188 | --include=GstBase-@GST_API_VERSION@ \ | 198 | --include=GstBase-@GST_API_VERSION@ \ |
189 | @@ -89,8 +89,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 199 | @@ -92,8 +92,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
190 | $(INTROSPECTION_COMPILER) \ | 200 | $(INTROSPECTION_COMPILER) \ |
191 | --includedir=$(srcdir) \ | 201 | --includedir=$(srcdir) \ |
192 | --includedir=$(builddir) \ | 202 | --includedir=$(builddir) \ |
@@ -197,11 +207,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtp/Makefile.am | |||
197 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 207 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
198 | 208 | ||
199 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) | 209 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) |
200 | Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am | 210 | diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am |
201 | =================================================================== | 211 | index db9d0fd..79027cb 100644 |
202 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/rtsp/Makefile.am | 212 | --- a/gst-libs/gst/rtsp/Makefile.am |
203 | +++ gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am | 213 | +++ b/gst-libs/gst/rtsp/Makefile.am |
204 | @@ -68,7 +68,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSP | 214 | @@ -71,7 +71,7 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS |
205 | -I$(top_builddir)/gst-libs \ | 215 | -I$(top_builddir)/gst-libs \ |
206 | -I$(top_srcdir)/gst-libs \ | 216 | -I$(top_srcdir)/gst-libs \ |
207 | --add-include-path=$(builddir)/../sdp \ | 217 | --add-include-path=$(builddir)/../sdp \ |
@@ -210,7 +220,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am | |||
210 | --library=libgstrtsp-@GST_API_VERSION@.la \ | 220 | --library=libgstrtsp-@GST_API_VERSION@.la \ |
211 | --include=Gio-2.0 \ | 221 | --include=Gio-2.0 \ |
212 | --include=Gst-@GST_API_VERSION@ \ | 222 | --include=Gst-@GST_API_VERSION@ \ |
213 | @@ -98,7 +98,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 223 | @@ -101,7 +101,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
214 | --includedir=$(srcdir) \ | 224 | --includedir=$(srcdir) \ |
215 | --includedir=$(builddir) \ | 225 | --includedir=$(builddir) \ |
216 | --includedir=$(builddir)/../sdp \ | 226 | --includedir=$(builddir)/../sdp \ |
@@ -219,11 +229,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/rtsp/Makefile.am | |||
219 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 229 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
220 | 230 | ||
221 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) | 231 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) |
222 | Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am | 232 | diff --git a/gst-libs/gst/sdp/Makefile.am b/gst-libs/gst/sdp/Makefile.am |
223 | =================================================================== | 233 | index 6e05cc7..c7cf514 100644 |
224 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/sdp/Makefile.am | 234 | --- a/gst-libs/gst/sdp/Makefile.am |
225 | +++ gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am | 235 | +++ b/gst-libs/gst/sdp/Makefile.am |
226 | @@ -30,7 +30,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPE | 236 | @@ -31,7 +31,7 @@ GstSdp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstsdp-@GST_API_VERSIO |
227 | --warn-all \ | 237 | --warn-all \ |
228 | --c-include "gst/sdp/sdp.h" \ | 238 | --c-include "gst/sdp/sdp.h" \ |
229 | -I$(top_srcdir)/gst-libs \ | 239 | -I$(top_srcdir)/gst-libs \ |
@@ -232,7 +242,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am | |||
232 | --library=libgstsdp-@GST_API_VERSION@.la \ | 242 | --library=libgstsdp-@GST_API_VERSION@.la \ |
233 | --include=Gst-@GST_API_VERSION@ \ | 243 | --include=Gst-@GST_API_VERSION@ \ |
234 | --libtool="$(LIBTOOL)" \ | 244 | --libtool="$(LIBTOOL)" \ |
235 | @@ -54,7 +54,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 245 | @@ -55,7 +55,7 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
236 | $(INTROSPECTION_COMPILER) \ | 246 | $(INTROSPECTION_COMPILER) \ |
237 | --includedir=$(srcdir) \ | 247 | --includedir=$(srcdir) \ |
238 | --includedir=$(builddir) \ | 248 | --includedir=$(builddir) \ |
@@ -241,11 +251,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/sdp/Makefile.am | |||
241 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 251 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
242 | 252 | ||
243 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) | 253 | CLEANFILES = $(BUILT_GIRSOURCES) $(typelibs_DATA) |
244 | Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am | 254 | diff --git a/gst-libs/gst/tag/Makefile.am b/gst-libs/gst/tag/Makefile.am |
245 | =================================================================== | 255 | index c86515b..363e6d2 100644 |
246 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/tag/Makefile.am | 256 | --- a/gst-libs/gst/tag/Makefile.am |
247 | +++ gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am | 257 | +++ b/gst-libs/gst/tag/Makefile.am |
248 | @@ -59,8 +59,8 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPE | 258 | @@ -61,8 +61,8 @@ GstTag-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgsttag-@GST_API_VERSIO |
249 | --c-include "gst/tag/tag.h" \ | 259 | --c-include "gst/tag/tag.h" \ |
250 | -I$(top_srcdir)/gst-libs \ | 260 | -I$(top_srcdir)/gst-libs \ |
251 | -I$(top_builddir)/gst-libs \ | 261 | -I$(top_builddir)/gst-libs \ |
@@ -256,7 +266,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am | |||
256 | --library=libgsttag-@GST_API_VERSION@.la \ | 266 | --library=libgsttag-@GST_API_VERSION@.la \ |
257 | --include=Gst-@GST_API_VERSION@ \ | 267 | --include=Gst-@GST_API_VERSION@ \ |
258 | --include=GstBase-@GST_API_VERSION@ \ | 268 | --include=GstBase-@GST_API_VERSION@ \ |
259 | @@ -87,8 +87,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 269 | @@ -89,8 +89,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
260 | $(INTROSPECTION_COMPILER) \ | 270 | $(INTROSPECTION_COMPILER) \ |
261 | --includedir=$(srcdir) \ | 271 | --includedir=$(srcdir) \ |
262 | --includedir=$(builddir) \ | 272 | --includedir=$(builddir) \ |
@@ -267,11 +277,11 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/tag/Makefile.am | |||
267 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) | 277 | $(INTROSPECTION_COMPILER_OPTS) $< -o $(@F) |
268 | 278 | ||
269 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) | 279 | CLEANFILES += $(BUILT_GIRSOURCES) $(typelibs_DATA) |
270 | Index: gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am | 280 | diff --git a/gst-libs/gst/video/Makefile.am b/gst-libs/gst/video/Makefile.am |
271 | =================================================================== | 281 | index 0f8455f..8c9955c 100644 |
272 | --- gst-plugins-base-1.12.3.orig/gst-libs/gst/video/Makefile.am | 282 | --- a/gst-libs/gst/video/Makefile.am |
273 | +++ gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am | 283 | +++ b/gst-libs/gst/video/Makefile.am |
274 | @@ -116,8 +116,8 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROS | 284 | @@ -119,8 +119,8 @@ GstVideo-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstvideo-@GST_API_VE |
275 | --c-include "gst/video/video.h" \ | 285 | --c-include "gst/video/video.h" \ |
276 | -I$(top_srcdir)/gst-libs \ | 286 | -I$(top_srcdir)/gst-libs \ |
277 | -I$(top_builddir)/gst-libs \ | 287 | -I$(top_builddir)/gst-libs \ |
@@ -282,7 +292,7 @@ Index: gst-plugins-base-1.12.3/gst-libs/gst/video/Makefile.am | |||
282 | --library=libgstvideo-@GST_API_VERSION@.la \ | 292 | --library=libgstvideo-@GST_API_VERSION@.la \ |
283 | --include=Gst-@GST_API_VERSION@ \ | 293 | --include=Gst-@GST_API_VERSION@ \ |
284 | --include=GstBase-@GST_API_VERSION@ \ | 294 | --include=GstBase-@GST_API_VERSION@ \ |
285 | @@ -144,8 +144,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir= | 295 | @@ -147,8 +147,8 @@ typelibs_DATA = $(BUILT_GIRSOURCES:.gir=.typelib) |
286 | $(INTROSPECTION_COMPILER) \ | 296 | $(INTROSPECTION_COMPILER) \ |
287 | --includedir=$(srcdir) \ | 297 | --includedir=$(srcdir) \ |
288 | --includedir=$(builddir) \ | 298 | --includedir=$(builddir) \ |
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch index 9b66f7f49d..98ffdb1c10 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-riff-add-missing-include-directories-when-calling-in.patch | |||
@@ -1,20 +1,21 @@ | |||
1 | From 3c2c2d5dd08aa30ed0e8acd8566ec99412bb8209 Mon Sep 17 00:00:00 2001 | 1 | From b9765efb1696e3e2e79f2955f759be199fe34882 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 26 Oct 2015 17:29:37 +0200 | 3 | Date: Mon, 26 Oct 2015 17:29:37 +0200 |
4 | Subject: [PATCH 3/4] riff: add missing include directories when calling | 4 | Subject: [PATCH] riff: add missing include directories when calling |
5 | introspection scanner | 5 | introspection scanner |
6 | 6 | ||
7 | Upstream-Status: Pending [review on oe-core maillist] | 7 | Upstream-Status: Pending [review on oe-core maillist] |
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | gst-libs/gst/riff/Makefile.am | 2 ++ | 11 | gst-libs/gst/riff/Makefile.am | 2 ++ |
11 | 1 file changed, 2 insertions(+) | 12 | 1 file changed, 2 insertions(+) |
12 | 13 | ||
13 | diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am | 14 | diff --git a/gst-libs/gst/riff/Makefile.am b/gst-libs/gst/riff/Makefile.am |
14 | index 0a115cc..5057a58 100644 | 15 | index c8c588a..c096453 100644 |
15 | --- a/gst-libs/gst/riff/Makefile.am | 16 | --- a/gst-libs/gst/riff/Makefile.am |
16 | +++ b/gst-libs/gst/riff/Makefile.am | 17 | +++ b/gst-libs/gst/riff/Makefile.am |
17 | @@ -39,6 +39,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) | 18 | @@ -41,6 +41,8 @@ libgstriff_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLAGS) |
18 | # --strip-prefix=Gst \ | 19 | # --strip-prefix=Gst \ |
19 | # --warn-all \ | 20 | # --warn-all \ |
20 | # --c-include "gst/riff/riff.h" \ | 21 | # --c-include "gst/riff/riff.h" \ |
@@ -23,6 +24,3 @@ index 0a115cc..5057a58 100644 | |||
23 | # --add-include-path=$(builddir)/../tag \ | 24 | # --add-include-path=$(builddir)/../tag \ |
24 | # --add-include-path=$(builddir)/../audio \ | 25 | # --add-include-path=$(builddir)/../audio \ |
25 | # --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | 26 | # --add-include-path=$(PKG_CONFIG_SYSROOT_DIR)`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ |
26 | -- | ||
27 | 2.6.2 | ||
28 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-ssaparse-enhance-SSA-text-lines-parsing.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-ssaparse-enhance-SSA-text-lines-parsing.patch index 9fbebd5700..9e95524057 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-ssaparse-enhance-SSA-text-lines-parsing.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0003-ssaparse-enhance-SSA-text-lines-parsing.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From be6163cfa3a255493f9d75bad9541cbfe1723fee Mon Sep 17 00:00:00 2001 | 1 | From 918c96b24d10f61b7455b4cef3bab490849d0d77 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 3/4] ssaparse: enhance SSA text lines parsing. | 4 | Subject: [PATCH] ssaparse: enhance SSA text lines parsing. |
5 | 5 | ||
6 | some parser will pass in the original ssa text line which starts with "Dialog:" | 6 | some parser will pass in the original ssa text line which starts with "Dialog:" |
7 | and there's are maybe multiple Dialog lines in one input buffer. | 7 | and there's are maybe multiple Dialog lines in one input buffer. |
@@ -10,13 +10,18 @@ Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747496] | |||
10 | 10 | ||
11 | Signed-off-by: Mingke Wang <mingke.wang@freescale.com> | 11 | Signed-off-by: Mingke Wang <mingke.wang@freescale.com> |
12 | 12 | ||
13 | --- | ||
14 | gst/subparse/gstssaparse.c | 150 ++++++++++++++++++++++++++++++++++++++++----- | ||
15 | 1 file changed, 134 insertions(+), 16 deletions(-) | ||
16 | mode change 100644 => 100755 gst/subparse/gstssaparse.c | ||
17 | |||
13 | diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c | 18 | diff --git a/gst/subparse/gstssaparse.c b/gst/subparse/gstssaparse.c |
14 | old mode 100644 | 19 | old mode 100644 |
15 | new mode 100755 | 20 | new mode 100755 |
16 | index 06ecef9..0ab5dce | 21 | index c849c08..4b9636c |
17 | --- a/gst/subparse/gstssaparse.c | 22 | --- a/gst/subparse/gstssaparse.c |
18 | +++ b/gst/subparse/gstssaparse.c | 23 | +++ b/gst/subparse/gstssaparse.c |
19 | @@ -260,6 +260,7 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) | 24 | @@ -262,6 +262,7 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) |
20 | * gst_ssa_parse_push_line: | 25 | * gst_ssa_parse_push_line: |
21 | * @parse: caller element | 26 | * @parse: caller element |
22 | * @txt: text to push | 27 | * @txt: text to push |
@@ -24,7 +29,7 @@ index 06ecef9..0ab5dce | |||
24 | * @start: timestamp for the buffer | 29 | * @start: timestamp for the buffer |
25 | * @duration: duration for the buffer | 30 | * @duration: duration for the buffer |
26 | * | 31 | * |
27 | @@ -269,27 +270,133 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) | 32 | @@ -271,27 +272,133 @@ gst_ssa_parse_remove_override_codes (GstSsaParse * parse, gchar * txt) |
28 | * Returns: result of the push of the created buffer | 33 | * Returns: result of the push of the created buffer |
29 | */ | 34 | */ |
30 | static GstFlowReturn | 35 | static GstFlowReturn |
@@ -169,7 +174,7 @@ index 06ecef9..0ab5dce | |||
169 | GST_LOG_OBJECT (parse, "Text : %s", t); | 174 | GST_LOG_OBJECT (parse, "Text : %s", t); |
170 | 175 | ||
171 | if (gst_ssa_parse_remove_override_codes (parse, t)) { | 176 | if (gst_ssa_parse_remove_override_codes (parse, t)) { |
172 | @@ -307,13 +414,22 @@ gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt, | 177 | @@ -309,13 +416,22 @@ gst_ssa_parse_push_line (GstSsaParse * parse, gchar * txt, |
173 | gst_buffer_fill (buf, 0, escaped, len + 1); | 178 | gst_buffer_fill (buf, 0, escaped, len + 1); |
174 | gst_buffer_set_size (buf, len); | 179 | gst_buffer_set_size (buf, len); |
175 | g_free (escaped); | 180 | g_free (escaped); |
@@ -196,7 +201,7 @@ index 06ecef9..0ab5dce | |||
196 | 201 | ||
197 | ret = gst_pad_push (parse->srcpad, buf); | 202 | ret = gst_pad_push (parse->srcpad, buf); |
198 | 203 | ||
199 | @@ -333,6 +449,7 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) | 204 | @@ -335,6 +451,7 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) |
200 | GstClockTime ts; | 205 | GstClockTime ts; |
201 | gchar *txt; | 206 | gchar *txt; |
202 | GstMapInfo map; | 207 | GstMapInfo map; |
@@ -204,7 +209,7 @@ index 06ecef9..0ab5dce | |||
204 | 209 | ||
205 | if (G_UNLIKELY (!parse->framed)) | 210 | if (G_UNLIKELY (!parse->framed)) |
206 | goto not_framed; | 211 | goto not_framed; |
207 | @@ -350,13 +467,14 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) | 212 | @@ -352,13 +469,14 @@ gst_ssa_parse_chain (GstPad * sinkpad, GstObject * parent, GstBuffer * buf) |
208 | /* make double-sure it's 0-terminated and all */ | 213 | /* make double-sure it's 0-terminated and all */ |
209 | gst_buffer_map (buf, &map, GST_MAP_READ); | 214 | gst_buffer_map (buf, &map, GST_MAP_READ); |
210 | txt = g_strndup ((gchar *) map.data, map.size); | 215 | txt = g_strndup ((gchar *) map.data, map.size); |
@@ -220,6 +225,3 @@ index 06ecef9..0ab5dce | |||
220 | 225 | ||
221 | if (ret != GST_FLOW_OK && GST_CLOCK_TIME_IS_VALID (ts)) { | 226 | if (ret != GST_FLOW_OK && GST_CLOCK_TIME_IS_VALID (ts)) { |
222 | GstSegment segment; | 227 | GstSegment segment; |
223 | -- | ||
224 | 1.7.9.5 | ||
225 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch index 4adf605460..aaeb611fec 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch | |||
@@ -1,20 +1,21 @@ | |||
1 | From 4330915d88dc4dd46eb4c28d756482b767c2747f Mon Sep 17 00:00:00 2001 | 1 | From 53b5868491cf99ee797192395dbfeb69df23edd2 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Mon, 26 Oct 2015 17:30:14 +0200 | 3 | Date: Mon, 26 Oct 2015 17:30:14 +0200 |
4 | Subject: [PATCH 4/4] rtsp: drop incorrect reference to gstreamer-sdp in | 4 | Subject: [PATCH] rtsp: drop incorrect reference to gstreamer-sdp in |
5 | Makefile.am | 5 | Makefile.am |
6 | 6 | ||
7 | Upstream-Status: Pending [review on oe-core maillist] | 7 | Upstream-Status: Pending [review on oe-core maillist] |
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | gst-libs/gst/rtsp/Makefile.am | 1 - | 11 | gst-libs/gst/rtsp/Makefile.am | 1 - |
11 | 1 file changed, 1 deletion(-) | 12 | 1 file changed, 1 deletion(-) |
12 | 13 | ||
13 | diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am | 14 | diff --git a/gst-libs/gst/rtsp/Makefile.am b/gst-libs/gst/rtsp/Makefile.am |
14 | index 4f6d9f8..0afa370 100644 | 15 | index 79027cb..2987e23 100644 |
15 | --- a/gst-libs/gst/rtsp/Makefile.am | 16 | --- a/gst-libs/gst/rtsp/Makefile.am |
16 | +++ b/gst-libs/gst/rtsp/Makefile.am | 17 | +++ b/gst-libs/gst/rtsp/Makefile.am |
17 | @@ -75,7 +75,6 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS | 18 | @@ -79,7 +79,6 @@ GstRtsp-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstrtsp-@GST_API_VERS |
18 | --libtool="$(LIBTOOL)" \ | 19 | --libtool="$(LIBTOOL)" \ |
19 | --pkg gio-2.0 \ | 20 | --pkg gio-2.0 \ |
20 | --pkg gstreamer-@GST_API_VERSION@ \ | 21 | --pkg gstreamer-@GST_API_VERSION@ \ |
@@ -22,6 +23,3 @@ index 4f6d9f8..0afa370 100644 | |||
22 | --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ | 23 | --pkg-export gstreamer-rtsp-@GST_API_VERSION@ \ |
23 | --add-init-section="$(INTROSPECTION_INIT)" \ | 24 | --add-init-section="$(INTROSPECTION_INIT)" \ |
24 | --output $@ \ | 25 | --output $@ \ |
25 | -- | ||
26 | 2.6.2 | ||
27 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-subparse-set-need_segment-after-sink-pad-received-GS.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-subparse-set-need_segment-after-sink-pad-received-GS.patch deleted file mode 100644 index b924e38824..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0004-subparse-set-need_segment-after-sink-pad-received-GS.patch +++ /dev/null | |||
@@ -1,69 +0,0 @@ | |||
1 | From ed09c8fd2c9c2b5384b72cc70af3728be6694e64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mingke Wang <mingke.wang@freescale.com> | ||
3 | Date: Thu, 19 Mar 2015 14:20:26 +0800 | ||
4 | Subject: [PATCH 4/4] subparse: set need_segment after sink pad received | ||
5 | GST_EVENT_SEGMENT | ||
6 | |||
7 | subparse works in push mode, chain funciton will be called once | ||
8 | up stream element finished the seeking and flushing. | ||
9 | if set need_segment flag in src pad event handler, the segment | ||
10 | event will be pushed earlier, result in the subtitle text will | ||
11 | be send out to down stream from the beginning. | ||
12 | |||
13 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=747498] | ||
14 | |||
15 | Signed-off-by: Mingke Wang <mingke.wang@freescale.com> | ||
16 | |||
17 | diff --git a/gst/subparse/gstsubparse.c b/gst/subparse/gstsubparse.c | ||
18 | old mode 100644 | ||
19 | new mode 100755 | ||
20 | index b565e93..7741ccc | ||
21 | --- a/gst/subparse/gstsubparse.c | ||
22 | +++ b/gst/subparse/gstsubparse.c | ||
23 | @@ -266,22 +266,20 @@ gst_sub_parse_src_event (GstPad * pad, GstObject * parent, GstEvent * event) | ||
24 | goto beach; | ||
25 | } | ||
26 | |||
27 | + /* Apply the seek to our segment */ | ||
28 | + gst_segment_do_seek (&self->segment, rate, format, flags, | ||
29 | + start_type, start, stop_type, stop, &update); | ||
30 | + | ||
31 | + GST_DEBUG_OBJECT (self, "segment after seek: %" GST_SEGMENT_FORMAT, | ||
32 | + &self->segment); | ||
33 | + | ||
34 | /* Convert that seek to a seeking in bytes at position 0, | ||
35 | FIXME: could use an index */ | ||
36 | ret = gst_pad_push_event (self->sinkpad, | ||
37 | gst_event_new_seek (rate, GST_FORMAT_BYTES, flags, | ||
38 | GST_SEEK_TYPE_SET, 0, GST_SEEK_TYPE_NONE, 0)); | ||
39 | |||
40 | - if (ret) { | ||
41 | - /* Apply the seek to our segment */ | ||
42 | - gst_segment_do_seek (&self->segment, rate, format, flags, | ||
43 | - start_type, start, stop_type, stop, &update); | ||
44 | - | ||
45 | - GST_DEBUG_OBJECT (self, "segment after seek: %" GST_SEGMENT_FORMAT, | ||
46 | - &self->segment); | ||
47 | - | ||
48 | - self->need_segment = TRUE; | ||
49 | - } else { | ||
50 | + if (!ret) { | ||
51 | GST_WARNING_OBJECT (self, "seek to 0 bytes failed"); | ||
52 | } | ||
53 | |||
54 | @@ -1641,8 +1639,10 @@ gst_sub_parse_sink_event (GstPad * pad, GstObject * parent, GstEvent * event) | ||
55 | gst_event_parse_segment (event, &s); | ||
56 | if (s->format == GST_FORMAT_TIME) | ||
57 | gst_event_copy_segment (event, &self->segment); | ||
58 | - GST_DEBUG_OBJECT (self, "newsegment (%s)", | ||
59 | - gst_format_get_name (self->segment.format)); | ||
60 | + GST_DEBUG_OBJECT (self, "newsegment (%s) %" GST_SEGMENT_FORMAT, | ||
61 | + gst_format_get_name (self->segment.format), &self->segment); | ||
62 | + | ||
63 | + self->need_segment = TRUE; | ||
64 | |||
65 | /* if not time format, we'll either start with a 0 timestamp anyway or | ||
66 | * it's following a seek in which case we'll have saved the requested | ||
67 | -- | ||
68 | 1.7.9.5 | ||
69 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-glimagesink-Downrank-to-marginal.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-glimagesink-Downrank-to-marginal.patch new file mode 100644 index 0000000000..c81fb0f6aa --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/0009-glimagesink-Downrank-to-marginal.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From c6b37a80806f9128de47f1ccc3f2354f8d436bb6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 24 Sep 2015 19:47:32 +0300 | ||
4 | Subject: [PATCH] glimagesink: Downrank to marginal | ||
5 | |||
6 | On desktop, where there is good OpenGL, xvimagesink will come up first, | ||
7 | on other platforms, OpenGL can't be trusted because it's either software (like | ||
8 | in a VM) or broken (like on embedded)., so let ximagesink come above. | ||
9 | |||
10 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=751684] | ||
11 | |||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | --- | ||
14 | ext/gl/gstopengl.c | 2 +- | ||
15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
16 | |||
17 | diff --git a/ext/gl/gstopengl.c b/ext/gl/gstopengl.c | ||
18 | index a4b2540..0ccaacd 100644 | ||
19 | --- a/ext/gl/gstopengl.c | ||
20 | +++ b/ext/gl/gstopengl.c | ||
21 | @@ -118,7 +118,7 @@ plugin_init (GstPlugin * plugin) | ||
22 | #endif | ||
23 | |||
24 | if (!gst_element_register (plugin, "glimagesink", | ||
25 | - GST_RANK_SECONDARY, gst_gl_image_sink_bin_get_type ())) { | ||
26 | + GST_RANK_MARGINAL, gst_gl_image_sink_bin_get_type ())) { | ||
27 | return FALSE; | ||
28 | } | ||
29 | |||
30 | -- | ||
31 | 2.1.4 | ||
32 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch index c8e6287a55..a4727e23ea 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/get-caps-from-src-pad-when-query-caps.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From af0dac26f62aaceb4bf266720911953793e0fc5d Mon Sep 17 00:00:00 2001 | 1 | From 41de2ec64ab06bb58c82c1659adaa3811bc5bcf8 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 |
@@ -8,18 +8,19 @@ https://bugzilla.gnome.org/show_bug.cgi?id=728312 | |||
8 | Upstream-Status: Pending | 8 | Upstream-Status: Pending |
9 | 9 | ||
10 | Signed-off-by: zhouming <b42586@freescale.com> | 10 | Signed-off-by: zhouming <b42586@freescale.com> |
11 | |||
11 | --- | 12 | --- |
12 | gst-libs/gst/tag/gsttagdemux.c | 13 +++++++++++++ | 13 | gst-libs/gst/tag/gsttagdemux.c | 13 +++++++++++++ |
13 | 1 file changed, 13 insertions(+) | 14 | 1 file changed, 13 insertions(+) |
14 | mode change 100644 => 100755 gst-libs/gst/tag/gsttagdemux.c | 15 | mode change 100644 => 100755 gst-libs/gst/tag/gsttagdemux.c |
15 | 16 | ||
16 | diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c | 17 | diff --git a/gst-libs/gst/tag/gsttagdemux.c b/gst-libs/gst/tag/gsttagdemux.c |
17 | old mode 100644 | 18 | old mode 100644 |
18 | new mode 100755 | 19 | new mode 100755 |
19 | index 9b6c478..ae2294a | 20 | index 8a127c8..71c5d78 |
20 | --- a/gst-libs/gst/tag/gsttagdemux.c | 21 | --- a/gst-libs/gst/tag/gsttagdemux.c |
21 | +++ b/gst-libs/gst/tag/gsttagdemux.c | 22 | +++ b/gst-libs/gst/tag/gsttagdemux.c |
22 | @@ -1769,6 +1769,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) | 23 | @@ -1759,6 +1759,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query) |
23 | } | 24 | } |
24 | break; | 25 | break; |
25 | } | 26 | } |
@@ -39,6 +40,3 @@ index 9b6c478..ae2294a | |||
39 | default: | 40 | default: |
40 | res = gst_pad_query_default (pad, parent, query); | 41 | res = gst_pad_query_default (pad, parent, query); |
41 | break; | 42 | break; |
42 | -- | ||
43 | 1.7.9.5 | ||
44 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch new file mode 100644 index 0000000000..d5a7f6bdc2 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/link-with-libvchostif.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 9866f51e5e0913f1e453eb574618bf7432f38cb6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 11 Apr 2018 10:46:33 +0800 | ||
4 | Subject: [PATCH] Add -lvchostif to link when using -lEGL on rpi | ||
5 | |||
6 | This is required because libEGL from userland uses sybols | ||
7 | from this library. | ||
8 | |||
9 | lib/libEGL.so.1.0.0 121: 00000000 0 FUNC GLOBAL DEFAULT UND vc_dispmanx_element_add | ||
10 | 1552: 00000000 0 FUNC GLOBAL DEFAULT UND vc_dispmanx_element_add | ||
11 | |||
12 | These symbols are provided by libvchostif as seen below | ||
13 | |||
14 | lib/libvchostif.so | ||
15 | 252: 0000b161 192 FUNC GLOBAL DEFAULT 9 vc_dispmanx_element_add | ||
16 | 809: 0000b161 192 FUNC GLOBAL DEFAULT 9 vc_dispmanx_element_add | ||
17 | |||
18 | With this explicit link, plugins fail during runtime | ||
19 | |||
20 | (gst-plugin-scanner:571): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstomx.so': Error relocating /usr/lib/libgstgl-1.0.so.0: vc_dispmanx_element_add: symbol not found | ||
21 | (gst-plugin-scanner:571): GStreamer-WARNING **: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstopengl.so': Error relocating /usr/lib/libgstgl-1.0.so.0: vc_dispmanx_element_add: symbol not found | ||
22 | |||
23 | Upstream-Status: Pending | ||
24 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
25 | Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> | ||
26 | --- | ||
27 | m4/gst-gl.m4 | 2 +- | ||
28 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
29 | |||
30 | diff --git a/m4/gst-gl.m4 b/m4/gst-gl.m4 | ||
31 | index 1e97240..ab7774c 100644 | ||
32 | --- a/m4/gst-gl.m4 | ||
33 | +++ b/m4/gst-gl.m4 | ||
34 | @@ -231,7 +231,7 @@ case $host in | ||
35 | HAVE_EGL=yes | ||
36 | HAVE_GLES2=yes | ||
37 | HAVE_EGL_RPI=yes | ||
38 | - EGL_LIBS="-lbcm_host -lvcos -lvchiq_arm" | ||
39 | + EGL_LIBS="-lbcm_host -lvchostif -lvcos -lvchiq_arm" | ||
40 | EGL_CFLAGS="" | ||
41 | AC_DEFINE(USE_EGL_RPI, [1], [Use RPi platform]) | ||
42 | ]) | ||
43 | -- | ||
44 | 2.7.4 | ||
45 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch index 413eff0695..23950b67f2 100644 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/make-gio_unix_2_0-dependency-configurable.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 10d2a977ee1d469f0bf9059bb2d0b55fd2eecbac Mon Sep 17 00:00:00 2001 | 1 | From 7ffa6e3d00e1d8a060f3f4c2bb9a72691af05d79 Mon Sep 17 00:00:00 2001 |
2 | From: Andre McCurdy <armccurdy@gmail.com> | 2 | From: Andre McCurdy <armccurdy@gmail.com> |
3 | Date: Wed, 20 Jan 2016 13:00:00 -0800 | 3 | Date: Wed, 20 Jan 2016 13:00:00 -0800 |
4 | Subject: [PATCH] make gio_unix_2_0 dependency configurable | 4 | Subject: [PATCH] make gio_unix_2_0 dependency configurable |
@@ -17,16 +17,17 @@ instead of AG_GST_CHECK_FEATURE. | |||
17 | Upstream-Status: Pending | 17 | Upstream-Status: Pending |
18 | 18 | ||
19 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> | 19 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> |
20 | |||
20 | --- | 21 | --- |
21 | configure.ac | 7 +++++++ | 22 | configure.ac | 7 +++++++ |
22 | 1 file changed, 7 insertions(+) | 23 | 1 file changed, 7 insertions(+) |
23 | 24 | ||
24 | diff --git a/configure.ac b/configure.ac | 25 | diff --git a/configure.ac b/configure.ac |
25 | index 9c52aeb..26cacd6 100644 | 26 | index 12807bc..35a0bf3 100644 |
26 | --- a/configure.ac | 27 | --- a/configure.ac |
27 | +++ b/configure.ac | 28 | +++ b/configure.ac |
28 | @@ -752,9 +752,16 @@ AC_SUBST(FT2_CFLAGS) | 29 | @@ -806,9 +806,16 @@ AM_CONDITIONAL(HAVE_PNG, test "x$HAVE_PNG" = "xyes") |
29 | fi dnl of EXT plugins | 30 | AM_CONDITIONAL(HAVE_JPEG, test "x$HAVE_JPEG" = "xyes") |
30 | 31 | ||
31 | dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c *** | 32 | dnl *** gio-unix-2.0 for tests/check/pipelines/tcp.c *** |
32 | +AC_ARG_ENABLE([gio_unix_2_0], | 33 | +AC_ARG_ENABLE([gio_unix_2_0], |
@@ -42,6 +43,3 @@ index 9c52aeb..26cacd6 100644 | |||
42 | AM_CONDITIONAL(USE_GIO_UNIX_2_0, test "x$HAVE_GIO_UNIX_2_0" = "xyes") | 43 | AM_CONDITIONAL(USE_GIO_UNIX_2_0, test "x$HAVE_GIO_UNIX_2_0" = "xyes") |
43 | 44 | ||
44 | dnl *** finalize CFLAGS, LDFLAGS, LIBS | 45 | dnl *** finalize CFLAGS, LDFLAGS, LIBS |
45 | -- | ||
46 | 1.9.1 | ||
47 | |||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.4.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.4.bb deleted file mode 100644 index dd895bbcb1..0000000000 --- a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.12.4.bb +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | require gstreamer1.0-plugins-base.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ | ||
4 | file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \ | ||
5 | file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607" | ||
6 | |||
7 | SRC_URI = " \ | ||
8 | http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ | ||
9 | file://get-caps-from-src-pad-when-query-caps.patch \ | ||
10 | file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \ | ||
11 | file://0004-subparse-set-need_segment-after-sink-pad-received-GS.patch \ | ||
12 | file://make-gio_unix_2_0-dependency-configurable.patch \ | ||
13 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ | ||
14 | " | ||
15 | SRC_URI[md5sum] = "b35b04071f69b8ab69a7f3a497ff0131" | ||
16 | SRC_URI[sha256sum] = "4c306b03df0212f1b8903784e29bb3493319ba19ebebf13b0c56a17870292282" | ||
17 | |||
18 | S = "${WORKDIR}/gst-plugins-base-${PV}" | ||
diff --git a/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bb b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bb new file mode 100644 index 0000000000..08397a03a8 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.0.bb | |||
@@ -0,0 +1,71 @@ | |||
1 | require gstreamer1.0-plugins.inc | ||
2 | |||
3 | LICENSE = "GPLv2+ & LGPLv2+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ | ||
5 | file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \ | ||
6 | file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607" | ||
7 | |||
8 | SRC_URI = " \ | ||
9 | http://gstreamer.freedesktop.org/src/gst-plugins-base/gst-plugins-base-${PV}.tar.xz \ | ||
10 | file://get-caps-from-src-pad-when-query-caps.patch \ | ||
11 | file://0003-ssaparse-enhance-SSA-text-lines-parsing.patch \ | ||
12 | file://make-gio_unix_2_0-dependency-configurable.patch \ | ||
13 | file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ | ||
14 | file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ | ||
15 | file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \ | ||
16 | file://0003-riff-add-missing-include-directories-when-calling-in.patch \ | ||
17 | file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \ | ||
18 | file://0009-glimagesink-Downrank-to-marginal.patch \ | ||
19 | file://0001-gstreamer-gl.pc.in-don-t-append-GL_CFLAGS-to-CFLAGS.patch \ | ||
20 | file://link-with-libvchostif.patch \ | ||
21 | file://0001-gl-pick-up-GstVideo-1.0.gir-from-local-build-dir.patch \ | ||
22 | " | ||
23 | SRC_URI[md5sum] = "370271327dd23110421a9c2927ac989a" | ||
24 | SRC_URI[sha256sum] = "7e904660ff56e02b036cf7fdfb77a50a540828ca9d2614d69ba931772e5b6940" | ||
25 | |||
26 | S = "${WORKDIR}/gst-plugins-base-${PV}" | ||
27 | |||
28 | DEPENDS += "iso-codes util-linux" | ||
29 | |||
30 | inherit gettext | ||
31 | |||
32 | PACKAGES_DYNAMIC =+ "^libgst.*" | ||
33 | |||
34 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" | ||
35 | PACKAGECONFIG ??= " \ | ||
36 | ${GSTREAMER_ORC} \ | ||
37 | ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ | ||
38 | gio-unix-2.0 ogg pango theora vorbis zlib jpeg \ | ||
39 | ${PACKAGECONFIG_GL} \ | ||
40 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \ | ||
41 | " | ||
42 | |||
43 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | ||
44 | X11ENABLEOPTS = "--enable-x --enable-xvideo --enable-xshm" | ||
45 | X11DISABLEOPTS = "--disable-x --disable-xvideo --disable-xshm" | ||
46 | |||
47 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | ||
48 | PACKAGECONFIG[cdparanoia] = "--enable-cdparanoia,--disable-cdparanoia,cdparanoia" | ||
49 | PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0" | ||
50 | PACKAGECONFIG[ivorbis] = "--enable-ivorbis,--disable-ivorbis,tremor" | ||
51 | PACKAGECONFIG[ogg] = "--enable-ogg,--disable-ogg,libogg" | ||
52 | PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus" | ||
53 | PACKAGECONFIG[pango] = "--enable-pango,--disable-pango,pango" | ||
54 | PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | ||
55 | PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" | ||
56 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | ||
57 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | ||
58 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
59 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | ||
60 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
61 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
62 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | ||
63 | PACKAGECONFIG[jpeg] = ",,jpeg" | ||
64 | |||
65 | FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" | ||
66 | |||
67 | do_compile_prepend() { | ||
68 | export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/tag/.libs:${B}/gst-libs/gst/video/.libs:${B}/gst-libs/gst/audio/.libs:${B}/gst-libs/gst/rtp/.libs:${B}/gst-libs/gst/allocators/.libs" | ||
69 | } | ||
70 | |||
71 | FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" | ||