diff options
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch | 74 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch | 45 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch | 61 | ||||
| -rw-r--r-- | recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb (renamed from recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb) | 82 |
4 files changed, 134 insertions, 128 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch deleted file mode 100644 index 8d99dc6cc..000000000 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.12.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch +++ /dev/null | |||
| @@ -1,74 +0,0 @@ | |||
| 1 | From 7592e793b3906355d76ca9a59f8fea2749ea2a4e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 3 | Date: Tue, 27 Oct 2015 14:36:58 +0200 | ||
| 4 | Subject: [PATCH] Makefile.am: don't hardcode libtool name when running | ||
| 5 | introspection tools | ||
| 6 | |||
| 7 | Upstream-Status: Pending [review on oe-core list] | ||
| 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
| 9 | |||
| 10 | %% original patch: 0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch | ||
| 11 | |||
| 12 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
| 13 | --- | ||
| 14 | gst-libs/gst/allocators/Makefile.am | 2 +- | ||
| 15 | gst-libs/gst/gl/Makefile.am | 2 +- | ||
| 16 | gst-libs/gst/insertbin/Makefile.am | 2 +- | ||
| 17 | gst-libs/gst/mpegts/Makefile.am | 2 +- | ||
| 18 | 4 files changed, 4 insertions(+), 4 deletions(-) | ||
| 19 | |||
| 20 | diff --git a/gst-libs/gst/allocators/Makefile.am b/gst-libs/gst/allocators/Makefile.am | ||
| 21 | index e50d077..623f092 100644 | ||
| 22 | --- a/gst-libs/gst/allocators/Makefile.am | ||
| 23 | +++ b/gst-libs/gst/allocators/Makefile.am | ||
| 24 | @@ -37,7 +37,7 @@ GstBadAllocators-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstbadalloca | ||
| 25 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-@GST_API_VERSION@` \ | ||
| 26 | --library=libgstbadallocators-@GST_API_VERSION@.la \ | ||
| 27 | --include=Gst-@GST_API_VERSION@ \ | ||
| 28 | - --libtool="$(top_builddir)/libtool" \ | ||
| 29 | + --libtool="$(LIBTOOL)" \ | ||
| 30 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 31 | --pkg-export gstreamer-badallocators-@GST_API_VERSION@ \ | ||
| 32 | --output $@ \ | ||
| 33 | diff --git a/gst-libs/gst/gl/Makefile.am b/gst-libs/gst/gl/Makefile.am | ||
| 34 | index 2ae4773..dfa7a7d 100644 | ||
| 35 | --- a/gst-libs/gst/gl/Makefile.am | ||
| 36 | +++ b/gst-libs/gst/gl/Makefile.am | ||
| 37 | @@ -178,7 +178,7 @@ GstGL-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstgl-@GST_API_VERSION@ | ||
| 38 | --include=Gst-@GST_API_VERSION@ \ | ||
| 39 | --include=GstBase-@GST_API_VERSION@ \ | ||
| 40 | --include=GstVideo-@GST_API_VERSION@ \ | ||
| 41 | - --libtool="$(top_builddir)/libtool" \ | ||
| 42 | + --libtool="$(LIBTOOL)" \ | ||
| 43 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 44 | --pkg gstreamer-base-@GST_API_VERSION@ \ | ||
| 45 | --pkg gstreamer-video-@GST_API_VERSION@ \ | ||
| 46 | diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am | ||
| 47 | index 1f8ea30..4b98ef6 100644 | ||
| 48 | --- a/gst-libs/gst/insertbin/Makefile.am | ||
| 49 | +++ b/gst-libs/gst/insertbin/Makefile.am | ||
| 50 | @@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS | ||
| 51 | --library=libgstinsertbin-@GST_API_VERSION@.la \ | ||
| 52 | --include=Gst-@GST_API_VERSION@ \ | ||
| 53 | --include=GstBase-@GST_API_VERSION@ \ | ||
| 54 | - --libtool="$(top_builddir)/libtool" \ | ||
| 55 | + --libtool="$(LIBTOOL)" \ | ||
| 56 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 57 | --pkg gstreamer-base-@GST_API_VERSION@ \ | ||
| 58 | --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \ | ||
| 59 | diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am | ||
| 60 | index aeea32e..929d9cc 100644 | ||
| 61 | --- a/gst-libs/gst/mpegts/Makefile.am | ||
| 62 | +++ b/gst-libs/gst/mpegts/Makefile.am | ||
| 63 | @@ -79,7 +79,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_ | ||
| 64 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
| 65 | --library=libgstmpegts-@GST_API_VERSION@.la \ | ||
| 66 | --include=Gst-@GST_API_VERSION@ \ | ||
| 67 | - --libtool="$(top_builddir)/libtool" \ | ||
| 68 | + --libtool="$(LIBTOOL)" \ | ||
| 69 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 70 | --pkg gstreamer-video-@GST_API_VERSION@ \ | ||
| 71 | --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \ | ||
| 72 | -- | ||
| 73 | 2.4.0 | ||
| 74 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch new file mode 100644 index 000000000..355341e4d --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | From c890afb8a542a272acb398e8fc289b790afa08e4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Yuqing Zhu <carol.zhu@nxp.com> | ||
| 3 | Date: Sat, 21 Apr 2018 00:51:12 +0800 | ||
| 4 | Subject: [PATCH] Makefile.am: don't hardcode libtool name when running | ||
| 5 | introspection tools | ||
| 6 | |||
| 7 | Do refine base on commit: 7592e793b3906355d76ca9a59f8fea2749ea2a4e | ||
| 8 | |||
| 9 | Upstream-Status: Pending [review on oe-core list] | ||
| 10 | |||
| 11 | Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> | ||
| 12 | --- | ||
| 13 | gst-libs/gst/insertbin/Makefile.am | 2 +- | ||
| 14 | gst-libs/gst/mpegts/Makefile.am | 2 +- | ||
| 15 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 16 | |||
| 17 | diff --git a/gst-libs/gst/insertbin/Makefile.am b/gst-libs/gst/insertbin/Makefile.am | ||
| 18 | index 1f8ea30..4b98ef6 100644 | ||
| 19 | --- a/gst-libs/gst/insertbin/Makefile.am | ||
| 20 | +++ b/gst-libs/gst/insertbin/Makefile.am | ||
| 21 | @@ -45,7 +45,7 @@ GstInsertBin-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstinsertbin-@GS | ||
| 22 | --library=libgstinsertbin-@GST_API_VERSION@.la \ | ||
| 23 | --include=Gst-@GST_API_VERSION@ \ | ||
| 24 | --include=GstBase-@GST_API_VERSION@ \ | ||
| 25 | - --libtool="$(top_builddir)/libtool" \ | ||
| 26 | + --libtool="$(LIBTOOL)" \ | ||
| 27 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 28 | --pkg gstreamer-base-@GST_API_VERSION@ \ | ||
| 29 | --pkg-export gstreamer-insertbin-@GST_API_VERSION@ \ | ||
| 30 | diff --git a/gst-libs/gst/mpegts/Makefile.am b/gst-libs/gst/mpegts/Makefile.am | ||
| 31 | index f264e33..9934a4d 100644 | ||
| 32 | --- a/gst-libs/gst/mpegts/Makefile.am | ||
| 33 | +++ b/gst-libs/gst/mpegts/Makefile.am | ||
| 34 | @@ -82,7 +82,7 @@ GstMpegts-@GST_API_VERSION@.gir: $(INTROSPECTION_SCANNER) libgstmpegts-@GST_API_ | ||
| 35 | --add-include-path=`PKG_CONFIG_PATH="$(GST_PKG_CONFIG_PATH)" $(PKG_CONFIG) --variable=girdir gstreamer-video-@GST_API_VERSION@` \ | ||
| 36 | --library=libgstmpegts-@GST_API_VERSION@.la \ | ||
| 37 | --include=Gst-@GST_API_VERSION@ \ | ||
| 38 | - --libtool="$(top_builddir)/libtool" \ | ||
| 39 | + --libtool="$(LIBTOOL)" \ | ||
| 40 | --pkg gstreamer-@GST_API_VERSION@ \ | ||
| 41 | --pkg gstreamer-video-@GST_API_VERSION@ \ | ||
| 42 | --pkg-export gstreamer-mpegts-@GST_API_VERSION@ \ | ||
| 43 | -- | ||
| 44 | 2.7.4 | ||
| 45 | |||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch new file mode 100644 index 000000000..ad8632989 --- /dev/null +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad-1.14.imx/configure-allow-to-disable-libssh2.patch | |||
| @@ -0,0 +1,61 @@ | |||
| 1 | From f59c5269f92d59a5296cbfeeb682d42095cd88ad Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 3 | Date: Thu, 18 Sep 2014 02:24:07 -0400 | ||
| 4 | Subject: [PATCH] gstreamer1.0-plugins-bad: allow to disable libssh2 | ||
| 5 | |||
| 6 | libssh2 is automatically linked to if present, this undetermined | ||
| 7 | dependency may cause build errors like: | ||
| 8 | |||
| 9 | .../x86_64-poky-linux/4.9.0/ld: cannot find -lssh2 | ||
| 10 | |||
| 11 | libssh2 isn't an oe-core recipe, so allow to disable it from | ||
| 12 | configure. | ||
| 13 | |||
| 14 | Upstream-Status: Pending | ||
| 15 | |||
| 16 | Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> | ||
| 17 | --- | ||
| 18 | configure.ac | 23 +++++++++++++++++------ | ||
| 19 | 1 file changed, 17 insertions(+), 6 deletions(-) | ||
| 20 | |||
| 21 | Index: gst-plugins-bad-1.12.3/configure.ac | ||
| 22 | =================================================================== | ||
| 23 | --- gst-plugins-bad-1.12.3.orig/configure.ac | ||
| 24 | +++ gst-plugins-bad-1.12.3/configure.ac | ||
| 25 | @@ -2139,6 +2139,15 @@ AG_GST_CHECK_FEATURE(CHROMAPRINT, [chrom | ||
| 26 | ]) | ||
| 27 | |||
| 28 | dnl *** Curl *** | ||
| 29 | +AC_ARG_ENABLE([libssh2], | ||
| 30 | + [ --enable-libssh2 enable LIBSSH2 support @<:@default=auto@:>@], | ||
| 31 | + [case "${enableval}" in | ||
| 32 | + yes) NEED_SSH2=yes ;; | ||
| 33 | + no) NEED_SSH2=no ;; | ||
| 34 | + auto) NEED_SSH2=auto ;; | ||
| 35 | + *) AC_MSG_ERROR([bad value ${enableval} for --enable-libssh2]) ;; | ||
| 36 | + esac],[NEED_SSH2=auto]) | ||
| 37 | + | ||
| 38 | translit(dnm, m, l) AM_CONDITIONAL(USE_CURL, true) | ||
| 39 | AG_GST_CHECK_FEATURE(CURL, [Curl plugin], curl, [ | ||
| 40 | PKG_CHECK_MODULES(CURL, libcurl >= 7.35.0, [ | ||
| 41 | @@ -2161,12 +2170,14 @@ AG_GST_CHECK_FEATURE(CURL, [Curl plugin] | ||
| 42 | ]) | ||
| 43 | AC_SUBST(CURL_CFLAGS) | ||
| 44 | AC_SUBST(CURL_LIBS) | ||
| 45 | - PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [ | ||
| 46 | - HAVE_SSH2="yes" | ||
| 47 | - AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available]) | ||
| 48 | - ], [ | ||
| 49 | - HAVE_SSH2="no" | ||
| 50 | - ]) | ||
| 51 | + if test "x$NEED_SSH2" != "xno"; then | ||
| 52 | + PKG_CHECK_MODULES(SSH2, libssh2 >= 1.4.3, [ | ||
| 53 | + HAVE_SSH2="yes" | ||
| 54 | + AC_DEFINE(HAVE_SSH2, 1, [Define if libssh2 is available]) | ||
| 55 | + ], [ | ||
| 56 | + HAVE_SSH2="no" | ||
| 57 | + ]) | ||
| 58 | + fi | ||
| 59 | AM_CONDITIONAL(USE_SSH2, test "x$HAVE_SSH2" = "xyes") | ||
| 60 | AC_SUBST(SSH2_CFLAGS) | ||
| 61 | AC_SUBST(SSH2_LIBS) | ||
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb index b5623ed01..313d4da1d 100644 --- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.12.imx.bb +++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.14.imx.bb | |||
| @@ -6,35 +6,26 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=73a5855a8119deb017f5f13cf327095d \ | |||
| 6 | DEPENDS_append_imxgpu2d = " virtual/libg2d" | 6 | DEPENDS_append_imxgpu2d = " virtual/libg2d" |
| 7 | DEPENDS_append_mx8 = " libdrm" | 7 | DEPENDS_append_mx8 = " libdrm" |
| 8 | 8 | ||
| 9 | PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}" | ||
| 10 | PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" | ||
| 11 | |||
| 12 | PACKAGECONFIG_append_mx6q = " opencv" | 9 | PACKAGECONFIG_append_mx6q = " opencv" |
| 13 | PACKAGECONFIG_append_mx6qp = " opencv" | 10 | PACKAGECONFIG_append_mx6qp = " opencv" |
| 14 | PACKAGECONFIG_append_mx8 = " opencv kms" | 11 | PACKAGECONFIG_append_mx8 = " opencv kms" |
| 15 | PACKAGECONFIG_remove_mx6sl = " gles2" | ||
| 16 | 12 | ||
| 17 | #revert poky fido commit:cdc2c8aeaa96b07dfc431a4cf0bf51ef7f8802a3: move EGL to Wayland | ||
| 18 | PACKAGECONFIG[gles2] = "--enable-gles2 --enable-egl,--disable-gles2 --disable-egl,virtual/libgles2 virtual/egl" | ||
| 19 | PACKAGECONFIG[wayland] = "--enable-wayland --disable-x11,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | 13 | PACKAGECONFIG[wayland] = "--enable-wayland --disable-x11,--disable-wayland,wayland-native wayland wayland-protocols libdrm" |
| 20 | 14 | ||
| 21 | # Disable introspection to fix [GstGL-1.0.gir] Error | 15 | # Disable introspection to fix [GstGL-1.0.gir] Error |
| 22 | EXTRA_OECONF_append = " --disable-introspection" | 16 | EXTRA_OECONF_append = " --disable-introspection" |
| 23 | 17 | ||
| 24 | EXTRA_OECONF_remove = " --disable-sdl --disable-nas --disable-libvisual --disable-xvid --disable-mimic \ | ||
| 25 | --disable-pvr --disable-sdltest --disable-wininet --disable-timidity \ | ||
| 26 | --disable-linsys --disable-sndio --disable-apexsink --disable-libssh2 \ | ||
| 27 | " | ||
| 28 | 18 | ||
| 29 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https" | 19 | GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https" |
| 30 | SRCBRANCH = "MM_04.03.05_1804_L4.9.88_MX7ULP_GA" | 20 | SRCBRANCH = "MM_04.04.00_1805_L4.9.88_MX8QXP_BETA2" |
| 31 | 21 | ||
| 32 | SRC_URI = " \ | 22 | SRC_URI = " \ |
| 33 | ${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} \ | 23 | ${GST1.0-PLUGINS-BAD_SRC};branch=${SRCBRANCH} \ |
| 24 | file://configure-allow-to-disable-libssh2.patch \ | ||
| 34 | file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ | 25 | file://0001-Makefile.am-don-t-hardcode-libtool-name-when-running.patch \ |
| 35 | " | 26 | " |
| 36 | 27 | ||
| 37 | SRCREV = "3bf09ef9cda8220b53459b45fe5384a99a7b1c6b" | 28 | SRCREV = "07ad0bb676a16c2dffb0f0e415a873f0924cfdc0" |
| 38 | 29 | ||
| 39 | DEFAULT_PREFERENCE = "-1" | 30 | DEFAULT_PREFERENCE = "-1" |
| 40 | 31 | ||
| @@ -48,33 +39,27 @@ FILES_${PN}-opengl += "/usr/share/*.fs" | |||
| 48 | PACKAGE_ARCH_imxpxp = "${MACHINE_SOCARCH}" | 39 | PACKAGE_ARCH_imxpxp = "${MACHINE_SOCARCH}" |
| 49 | PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}" | 40 | PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}" |
| 50 | 41 | ||
| 51 | # Fix libgstbadion-1.0.so.0 which is under built directory cannot be found | ||
| 52 | do_compile_prepend () { | ||
| 53 | export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/ion/.libs" | ||
| 54 | } | ||
| 55 | |||
| 56 | S = "${WORKDIR}/git" | 42 | S = "${WORKDIR}/git" |
| 57 | 43 | ||
| 58 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" | 44 | LICENSE = "GPLv2+ & LGPLv2+ & LGPLv2.1+" |
| 59 | 45 | ||
| 60 | DEPENDS += "gstreamer1.0-plugins-base libpng jpeg" | 46 | DEPENDS += "gstreamer1.0-plugins-base jpeg" |
| 61 | 47 | ||
| 62 | inherit gettext bluetooth | 48 | inherit gettext bluetooth |
| 63 | 49 | ||
| 64 | # opengl packageconfig factored out to make it easy for distros | ||
| 65 | # and BSP layers to pick either (desktop) opengl, gles2, or no GL | ||
| 66 | PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" | ||
| 67 | |||
| 68 | # gtk is not in the PACKAGECONFIG variable by default until | ||
| 69 | # the transition to gtk+3 is finished | ||
| 70 | PACKAGECONFIG ??= " \ | 50 | PACKAGECONFIG ??= " \ |
| 71 | ${GSTREAMER_ORC} \ | 51 | ${GSTREAMER_ORC} \ |
| 72 | ${PACKAGECONFIG_GL} \ | ||
| 73 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ | 52 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
| 74 | ${@bb.utils.contains('DISTRO_FEATURES', 'directfb', 'directfb', '', d)} \ | 53 | ${@bb.utils.filter('DISTRO_FEATURES', 'directfb vulkan', d)} \ |
| 75 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland egl', '', d)} \ | 54 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'wayland', '', d)} \ |
| 76 | bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile uvch264 webp \ | 55 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)} \ |
| 56 | bz2 curl dash dtls hls rsvg sbc smoothstreaming sndfile ttml uvch264 webp \ | ||
| 77 | " | 57 | " |
| 58 | |||
| 59 | # the gl packageconfig enables OpenGL elements that haven't been ported | ||
| 60 | # to -base yet. They depend on the gstgl library in -base, so we do | ||
| 61 | # not add GL dependencies here, since these are taken care of in -base. | ||
| 62 | |||
| 78 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" | 63 | PACKAGECONFIG[assrender] = "--enable-assrender,--disable-assrender,libass" |
| 79 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" | 64 | PACKAGECONFIG[bluez] = "--enable-bluez,--disable-bluez,${BLUEZ}" |
| 80 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" | 65 | PACKAGECONFIG[bz2] = "--enable-bz2,--disable-bz2,bzip2" |
| @@ -83,22 +68,21 @@ PACKAGECONFIG[dash] = "--enable-dash,--disable-dash,libxml2" | |||
| 83 | PACKAGECONFIG[dc1394] = "--enable-dc1394,--disable-dc1394,libdc1394" | 68 | PACKAGECONFIG[dc1394] = "--enable-dc1394,--disable-dc1394,libdc1394" |
| 84 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" | 69 | PACKAGECONFIG[directfb] = "--enable-directfb,--disable-directfb,directfb" |
| 85 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" | 70 | PACKAGECONFIG[dtls] = "--enable-dtls,--disable-dtls,openssl" |
| 86 | PACKAGECONFIG[egl] = "--enable-egl,--disable-egl,virtual/egl" | ||
| 87 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" | 71 | PACKAGECONFIG[faac] = "--enable-faac,--disable-faac,faac" |
| 88 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" | 72 | PACKAGECONFIG[faad] = "--enable-faad,--disable-faad,faad2" |
| 89 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" | 73 | PACKAGECONFIG[flite] = "--enable-flite,--disable-flite,flite-alsa" |
| 90 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" | 74 | PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth" |
| 91 | PACKAGECONFIG[gles2] = "--enable-gles2,--disable-gles2,virtual/libgles2" | ||
| 92 | PACKAGECONFIG[gtk] = "--enable-gtk3,--disable-gtk3,gtk+3" | ||
| 93 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" | 75 | PACKAGECONFIG[hls] = "--enable-hls --with-hls-crypto=nettle,--disable-hls,nettle" |
| 76 | PACKAGECONFIG[gl] = "--enable-gl,--disable-gl," | ||
| 94 | PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" | 77 | PACKAGECONFIG[kms] = "--enable-kms,--disable-kms,libdrm" |
| 78 | PACKAGECONFIG[libde265] = "--enable-libde265,--disable-libde265,libde265" | ||
| 95 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" | 79 | PACKAGECONFIG[libmms] = "--enable-libmms,--disable-libmms,libmms" |
| 96 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" | 80 | PACKAGECONFIG[libssh2] = "--enable-libssh2,--disable-libssh2,libssh2" |
| 97 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" | 81 | PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug" |
| 98 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" | 82 | PACKAGECONFIG[neon] = "--enable-neon,--disable-neon,neon" |
| 99 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" | 83 | PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft" |
| 100 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" | 84 | PACKAGECONFIG[opencv] = "--enable-opencv,--disable-opencv,opencv" |
| 101 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,virtual/libgl libglu" | 85 | PACKAGECONFIG[openh264] = "--enable-openh264,--disable-openh264,openh264" |
| 102 | PACKAGECONFIG[openjpeg] = "--enable-openjpeg,--disable-openjpeg,openjpeg" | 86 | PACKAGECONFIG[openjpeg] = "--enable-openjpeg,--disable-openjpeg,openjpeg" |
| 103 | # the opus encoder/decoder elements are now in the -base package, | 87 | # the opus encoder/decoder elements are now in the -base package, |
| 104 | # but the opus parser remains in -bad | 88 | # but the opus parser remains in -bad |
| @@ -107,41 +91,41 @@ PACKAGECONFIG[resindvd] = "--enable-resindvd,--disable-resindvd,libdvdrea | |||
| 107 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" | 91 | PACKAGECONFIG[rsvg] = "--enable-rsvg,--disable-rsvg,librsvg" |
| 108 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" | 92 | PACKAGECONFIG[rtmp] = "--enable-rtmp,--disable-rtmp,rtmpdump" |
| 109 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" | 93 | PACKAGECONFIG[sbc] = "--enable-sbc,--disable-sbc,sbc" |
| 110 | PACKAGECONFIG[schroedinger] = "--enable-schro,--disable-schro,schroedinger" | ||
| 111 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" | 94 | PACKAGECONFIG[smoothstreaming] = "--enable-smoothstreaming,--disable-smoothstreaming,libxml2" |
| 112 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" | 95 | PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1" |
| 113 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" | 96 | PACKAGECONFIG[srtp] = "--enable-srtp,--disable-srtp,libsrtp" |
| 97 | PACKAGECONFIG[tinyalsa] = "--enable-tinyalsa,--disable-tinyalsa,tinyalsa" | ||
| 98 | PACKAGECONFIG[ttml] = "--enable-ttml,--disable-ttml,libxml2 pango cairo" | ||
| 114 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" | 99 | PACKAGECONFIG[uvch264] = "--enable-uvch264,--disable-uvch264,libusb1 libgudev" |
| 115 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" | 100 | PACKAGECONFIG[voaacenc] = "--enable-voaacenc,--disable-voaacenc,vo-aacenc" |
| 116 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" | 101 | PACKAGECONFIG[voamrwbenc] = "--enable-voamrwbenc,--disable-voamrwbenc,vo-amrwbenc" |
| 102 | PACKAGECONFIG[vulkan] = "--enable-vulkan,--disable-vulkan,vulkan" | ||
| 117 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" | 103 | PACKAGECONFIG[wayland] = "--enable-wayland,--disable-wayland,wayland-native wayland wayland-protocols libdrm" |
| 118 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" | 104 | PACKAGECONFIG[webp] = "--enable-webp,--disable-webp,libwebp" |
| 105 | PACKAGECONFIG[webrtc] = "--enable-webrtc,--disable-webrtc,libnice" | ||
| 106 | PACKAGECONFIG[webrtcdsp] = "--enable-webrtcdsp,--disable-webrtcdsp,webrtc-audio-processing" | ||
| 119 | 107 | ||
| 120 | # these plugins have no corresponding library in OE-core or meta-openembedded: | 108 | # these plugins have no corresponding library in OE-core or meta-openembedded: |
| 121 | # openni2 winks direct3d directsound winscreencap acm apple_media iqa | 109 | # openni2 winks direct3d directsound winscreencap acm apple_media iqa |
| 122 | # android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa libde265 | 110 | # android_media avc bs2b chromaprint daala dts fdkaac gme gsm kate ladspa |
| 123 | # lv2 mpeg2enc mplex msdk musepack nvenc ofa openh264 opensles soundtouch spandsp | 111 | # lv2 mpeg2enc mplex msdk musepack nvenc ofa openmpt opensles soundtouch |
| 124 | # spc teletextdec tinyalsa vdpau wasapi x265 zbar webrtcdsp | 112 | # spandsp spc teletextdec vdpau wasapi x265 zbar |
| 125 | |||
| 126 | # qt5 support is disabled, because it is not present in OE core, and requires more work than | ||
| 127 | # just adding a packageconfig (it requires access to moc, uic, rcc, and qmake paths). | ||
| 128 | # This is better done in a separate qt5 layer (which then should add a "qt5" packageconfig | ||
| 129 | # in a gstreamer1.0-plugins-bad bbappend). | ||
| 130 | 113 | ||
| 131 | EXTRA_OECONF += " \ | 114 | EXTRA_OECONF += " \ |
| 132 | --enable-decklink \ | 115 | --enable-decklink \ |
| 133 | --enable-dvb \ | 116 | --enable-dvb \ |
| 134 | --enable-fbdev \ | 117 | --enable-fbdev \ |
| 118 | --enable-ipcpipeline \ | ||
| 135 | --enable-netsim \ | 119 | --enable-netsim \ |
| 136 | --enable-shm \ | 120 | --enable-shm \ |
| 137 | --enable-vcd \ | 121 | --enable-vcd \ |
| 138 | --disable-acm \ | 122 | --disable-acm \ |
| 139 | --disable-android_media \ | 123 | --disable-android_media \ |
| 124 | --disable-aom \ | ||
| 140 | --disable-apple_media \ | 125 | --disable-apple_media \ |
| 141 | --disable-avc \ | 126 | --disable-avc \ |
| 142 | --disable-bs2b \ | 127 | --disable-bs2b \ |
| 143 | --disable-chromaprint \ | 128 | --disable-chromaprint \ |
| 144 | --disable-cocoa \ | ||
| 145 | --disable-daala \ | 129 | --disable-daala \ |
| 146 | --disable-direct3d \ | 130 | --disable-direct3d \ |
| 147 | --disable-directsound \ | 131 | --disable-directsound \ |
| @@ -152,7 +136,6 @@ EXTRA_OECONF += " \ | |||
| 152 | --disable-iqa \ | 136 | --disable-iqa \ |
| 153 | --disable-kate \ | 137 | --disable-kate \ |
| 154 | --disable-ladspa \ | 138 | --disable-ladspa \ |
| 155 | --disable-libde265 \ | ||
| 156 | --disable-lv2 \ | 139 | --disable-lv2 \ |
| 157 | --disable-mpeg2enc \ | 140 | --disable-mpeg2enc \ |
| 158 | --disable-mplex \ | 141 | --disable-mplex \ |
| @@ -161,19 +144,16 @@ EXTRA_OECONF += " \ | |||
| 161 | --disable-nvenc \ | 144 | --disable-nvenc \ |
| 162 | --disable-ofa \ | 145 | --disable-ofa \ |
| 163 | --disable-openexr \ | 146 | --disable-openexr \ |
| 164 | --disable-openh264 \ | 147 | --disable-openmpt \ |
| 165 | --disable-openni2 \ | 148 | --disable-openni2 \ |
| 166 | --disable-opensles \ | 149 | --disable-opensles \ |
| 167 | --disable-qt \ | ||
| 168 | --disable-soundtouch \ | 150 | --disable-soundtouch \ |
| 169 | --disable-spandsp \ | 151 | --disable-spandsp \ |
| 170 | --disable-spc \ | 152 | --disable-spc \ |
| 153 | --disable-srt \ | ||
| 171 | --disable-teletextdec \ | 154 | --disable-teletextdec \ |
| 172 | --disable-tinyalsa \ | ||
| 173 | --disable-vdpau \ | 155 | --disable-vdpau \ |
| 174 | --disable-vulkan \ | ||
| 175 | --disable-wasapi \ | 156 | --disable-wasapi \ |
| 176 | --disable-webrtcdsp \ | ||
| 177 | --disable-wildmidi \ | 157 | --disable-wildmidi \ |
| 178 | --disable-winks \ | 158 | --disable-winks \ |
| 179 | --disable-winscreencap \ | 159 | --disable-winscreencap \ |
| @@ -181,19 +161,13 @@ EXTRA_OECONF += " \ | |||
| 181 | --disable-zbar \ | 161 | --disable-zbar \ |
| 182 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ | 162 | ${@bb.utils.contains("TUNE_FEATURES", "mx32", "--disable-yadif", "", d)} \ |
| 183 | " | 163 | " |
| 184 | |||
| 185 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" | 164 | export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" |
| 186 | 165 | ||
| 187 | ARM_INSTRUCTION_SET_armv4 = "arm" | 166 | ARM_INSTRUCTION_SET_armv4 = "arm" |
| 188 | ARM_INSTRUCTION_SET_armv5 = "arm" | 167 | ARM_INSTRUCTION_SET_armv5 = "arm" |
| 189 | 168 | ||
| 190 | FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/include/gst/gl/gstglconfig.h" | ||
| 191 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" | 169 | FILES_${PN}-freeverb += "${datadir}/gstreamer-${LIBV}/presets/GstFreeverb.prs" |
| 192 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" | 170 | FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/${LIBV}/opencv*" |
| 193 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" | 171 | FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-${LIBV}/presets/GstVoAmrwbEnc.prs" |
| 194 | 172 | ||
| 195 | do_compile_prepend() { | ||
| 196 | export GIR_EXTRA_LIBS_PATH="${B}/gst-libs/gst/allocators/.libs" | ||
| 197 | } | ||
| 198 | |||
| 199 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" | 173 | COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" |
