diff options
author | Cristinel Panfir <cristinel.panfir@nxp.com> | 2019-12-20 13:54:35 +0200 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2019-12-20 16:54:20 -0300 |
commit | 1eb3c0385a8a2c6815492395cea5b280d31c73bd (patch) | |
tree | e5aef3f9d635c71621317180149f1cf44473e69f | |
parent | 56042bd177935b167043dd49e38f1ad857cd9afb (diff) | |
download | meta-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 @@ | |||
1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc | 1 | require recipes-multimedia/gstreamer/gstreamer1.0-plugins.inc |
2 | 2 | ||
3 | LICENSE = "GPLv2+ & LGPLv2+" | 3 | LICENSE = "GPLv2+ & LGPLv2+" |
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=c54ce9345727175ff66d17b67ff51f58 \ | 4 | LIC_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 | ||
8 | DEPENDS += "iso-codes util-linux" | 7 | DEPENDS += "iso-codes util-linux" |
8 | DEPENDS_append_imxgpu2d = " virtual/libg2d" | ||
9 | 9 | ||
10 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-base.git;protocol=https" | 10 | PV = "1.16.0.imx" |
11 | SRCBRANCH = "MM_04.04.05_1902_L4.14.98_GA" | 11 | |
12 | FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/poky/meta/recipes-multimedia/gstreamer/files:" | ||
13 | FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/poky/meta/recipes-multimedia/gstreamer/${PN}:" | ||
14 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
12 | 15 | ||
16 | GST1.0-PLUGINS-BASE_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-base.git;protocol=https" | ||
17 | SRCBRANCH = "MM_04.05.01_1909_L4.19.35" | ||
18 | SRCREV = "df30480711d68a1c1d2152bf4d6a7b245a85f967" | ||
13 | SRC_URI = " \ | 19 | SRC_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 | " |
22 | SRCREV = "f62f8ab685e549eefaecdb1e700239a5a408fcad" | ||
23 | |||
24 | DEFAULT_PREFERENCE = "-1" | ||
25 | |||
26 | EXTRA_AUTORECONF = "" | ||
27 | 27 | ||
28 | S = "${WORKDIR}/git" | 28 | S = "${WORKDIR}/git" |
29 | 29 | ||
30 | # Enable pango lib | 30 | inherit gettext use-imx-headers |
31 | PACKAGECONFIG_append = " pango " | ||
32 | 31 | ||
33 | # Disable introspection to fix [GstGL-1.0.gir] Error | 32 | DEFAULT_PREFERENCE = "-1" |
34 | EXTRA_OECONF_append = " --disable-introspection --disable-opengl --enable-wayland" | ||
35 | 33 | ||
36 | inherit gettext use-imx-headers | 34 | EXTRA_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 | ||
38 | PACKAGES_DYNAMIC =+ "^libgst.*" | 38 | PACKAGES_DYNAMIC =+ "^libgst.*" |
39 | 39 | ||
40 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" | ||
41 | |||
40 | PACKAGECONFIG ??= " \ | 42 | PACKAGECONFIG ??= " \ |
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 | ||
46 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" | 51 | X11DEPENDS = "virtual/libx11 libsm libxrender libxv" |
@@ -57,20 +62,29 @@ PACKAGECONFIG[theora] = "--enable-theora,--disable-theora,libtheora" | |||
57 | PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" | 62 | PACKAGECONFIG[visual] = "--enable-libvisual,--disable-libvisual,libvisual" |
58 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" | 63 | PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis" |
59 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" | 64 | PACKAGECONFIG[x11] = "${X11ENABLEOPTS},${X11DISABLEOPTS},${X11DEPENDS}" |
65 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
66 | PACKAGECONFIG[gio-unix-2.0] = "--enable-gio_unix_2_0,--disable-gio_unix_2_0,glib-2.0" | ||
67 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
68 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | ||
69 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | ||
70 | PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib" | ||
60 | 71 | ||
72 | # Disable introspection to fix [GstGL-1.0.gir] Error | ||
61 | EXTRA_OECONF += " \ | 73 | EXTRA_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 | ||
66 | CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" | 81 | FILES_${PN} += "${libdir}/gstreamer-1.0/include" |
67 | |||
68 | FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" | 82 | FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" |
69 | 83 | ||
84 | CACHED_CONFIGUREVARS_append_x86 = " ac_cv_header_emmintrin_h=no ac_cv_header_xmmintrin_h=no" | ||
85 | |||
70 | do_compile_prepend() { | 86 | do_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 | ||
74 | FILES_${PN} += "${libdir}/gstreamer-1.0/include" | ||
75 | |||
76 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 90 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |