summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristinel Panfir <cristinel.panfir@nxp.com>2019-12-20 13:54:35 +0200
committerOtavio Salvador <otavio@ossystems.com.br>2019-12-20 16:54:20 -0300
commit1eb3c0385a8a2c6815492395cea5b280d31c73bd (patch)
treee5aef3f9d635c71621317180149f1cf44473e69f
parent56042bd177935b167043dd49e38f1ad857cd9afb (diff)
downloadmeta-freescale-1eb3c0385a8a2c6815492395cea5b280d31c73bd.tar.gz
gstreamer1.0-plugins-base: Upgrade to 1.16
Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch)0
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0003-riff-add-missing-include-directories-when-calling-in.patch (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0003-riff-add-missing-include-directories-when-calling-in.patch)0
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch)0
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/make-gio_unix_2_0-dependency-configurable.patch (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch)0
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb)52
5 files changed, 33 insertions, 19 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
index 4b6cfdd6..4b6cfdd6 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0003-riff-add-missing-include-directories-when-calling-in.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
index 9b66f7f4..9b66f7f4 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0003-riff-add-missing-include-directories-when-calling-in.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
index 4adf6054..4adf6054 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/make-gio_unix_2_0-dependency-configurable.patch
index 23950b67..23950b67 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.14.imx/make-gio_unix_2_0-dependency-configurable.patch
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base-1.16.imx/make-gio_unix_2_0-dependency-configurable.patch
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.imx.bb
index d329dbac..416982cc 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.14.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.imx.bb
@@ -1,46 +1,51 @@
1require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc 1require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc
2 2
3LICENSE = "GPLv2+ & LGPLv2+" 3LICENSE = "GPLv2+ & LGPLv2+"
4LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ 4LIC_FILES_CHKSUM = "file://COPYING;md5=6762ed442b3822387a51c92d928ead0d \
5 file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
6 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607" 5 file://common/coverage/coverage-report.pl;beginline=2;endline=17;md5=a4e1830fce078028c8f0974161272607"
7 6
8DEPENDS += "iso-codes util-linux" 7DEPENDS += "iso-codes util-linux"
8DEPENDS_append_imxgpu2d = " virtual/libg2d"
9 9
10GST1.0-PLUGINS-BASE_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-base.git;protocol=https" 10PV = "1.16.0.imx"
11SRCBRANCH = "MM_04.04.05_1902_L4.14.98_GA" 11
12FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/poky/meta/recipes-multimedia/gstreamer/files:"
13FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/poky/meta/recipes-multimedia/gstreamer/${PN}:"
14FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
12 15
16GST1.0-PLUGINS-BASE_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-base.git;protocol=https"
17SRCBRANCH = "MM_04.05.01_1909_L4.19.35"
18SRCREV = "df30480711d68a1c1d2152bf4d6a7b245a85f967"
13SRC_URI = " \ 19SRC_URI = " \
14 ${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} \ 20 ${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} \
15 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \ 21 file://0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch \
16 file://make-gio_unix_2_0-dependency-configurable.patch \ 22 file://make-gio_unix_2_0-dependency-configurable.patch \
17 file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \
18 file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \ 23 file://0002-Makefile.am-prefix-calls-to-pkg-config-with-PKG_CONF.patch \
19 file://0003-riff-add-missing-include-directories-when-calling-in.patch \ 24 file://0003-riff-add-missing-include-directories-when-calling-in.patch \
20 file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \ 25 file://0004-rtsp-drop-incorrect-reference-to-gstreamer-sdp-in-Ma.patch \
21" 26"
22SRCREV = "f62f8ab685e549eefaecdb1e700239a5a408fcad"
23
24DEFAULT_PREFERENCE = "-1"
25
26EXTRA_AUTORECONF = ""
27 27
28S = "${WORKDIR}/git" 28S = "${WORKDIR}/git"
29 29
30# Enable pango lib 30inherit gettext use-imx-headers
31PACKAGECONFIG_append = " pango "
32 31
33# Disable introspection to fix [GstGL-1.0.gir] Error 32DEFAULT_PREFERENCE = "-1"
34EXTRA_OECONF_append = " --disable-introspection --disable-opengl --enable-wayland"
35 33
36inherit gettext use-imx-headers 34EXTRA_AUTORECONF = ""
37 35
36# opengl packageconfig factored out to make it easy for distros
37# and BSP layers to pick either (desktop) opengl, gles2, or no GL
38PACKAGES_DYNAMIC =+ "^libgst.*" 38PACKAGES_DYNAMIC =+ "^libgst.*"
39 39
40PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
41
40PACKAGECONFIG ??= " \ 42PACKAGECONFIG ??= " \
41 ${GSTREAMER_ORC} \ 43 ${GSTREAMER_ORC} \
42 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \ 44 ${@bb.utils.filter('DISTRO_FEATURES', 'alsa x11', d)} \
43 ogg pango theora vorbis \ 45 ogg pango theora vorbis \
46 ${PACKAGECONFIG_GL} \
47 gio-unix-2.0 zlib \
48 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \
44" 49"
45 50
46X11DEPENDS = "virtual/libx11 libsm libxrender libxv" 51X11DEPENDS = "virtual/libx11 libsm libxrender libxv"
@@ -57,20 +62,29 @@ PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora"
57PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" 62PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual"
58PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" 63PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis"
59PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" 64PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}"
65PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl"
66PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0"
67PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2"
68PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu"
69PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm"
70PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
60 71
72# Disable introspection to fix [GstGL-1.0.gir] Error
61EXTRA_OECONF += " \ 73EXTRA_OECONF += " \
62 --enable-zlib \ 74 --enable-zlib \
63 CPPFLAGS="-I${STAGING_INCDIR_IMX}" \ 75 CPPFLAGS="-I${STAGING_INCDIR_IMX}" \
76 --disable-introspection \
77 --disable-opengl \
78 --enable-wayland \
64" 79"
65 80
66CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" 81FILES_${PN} += "${libdir}/gstreamer-1.0/include"
67
68FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" 82FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict"
69 83
84CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no"
85
70do_compile_prepend() { 86do_compile_prepend() {
71 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" 87 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"
72} 88}
73 89
74FILES_${PN} += "${libdir}/gstreamer-1.0/include"
75
76COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 90COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"