summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/gstreamer
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-08-02 11:01:05 -0700
committerKhem Raj <raj.khem@gmail.com>2021-08-12 10:08:24 -0700
commit59d36c9832702989bfcca8a5af29fb2dff01efcc (patch)
treeb2b07d98cb22bc5241cde7403b6a15d99821318e /recipes-multimedia/gstreamer
parent72f59d35816cd2be6159013e4d96d03abf7f1c4b (diff)
downloadmeta-freescale-59d36c9832702989bfcca8a5af29fb2dff01efcc.tar.gz
layer: Convert to new override syntax
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes-multimedia/gstreamer')
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb16
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb24
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.2.imx.bb6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.3.imx.bb6
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb18
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb4
-rw-r--r--recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb8
-rw-r--r--recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb54
10 files changed, 74 insertions, 74 deletions
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
index 3f1ec99d9..328ac5e3e 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-libav_1.16.0.bb
@@ -50,21 +50,21 @@ LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
50 --cross-prefix='${HOST_PREFIX}'" 50 --cross-prefix='${HOST_PREFIX}'"
51 51
52# Disable assembly optimizations for X32, as this libav lacks the support 52# Disable assembly optimizations for X32, as this libav lacks the support
53PACKAGECONFIG_remove_linux-gnux32 = "yasm" 53PACKAGECONFIG:remove:linux-gnux32 = "yasm"
54LIBAV_EXTRA_CONFIGURE_COMMON_ARG_append_linux-gnux32 = " --disable-asm" 54LIBAV_EXTRA_CONFIGURE_COMMON_ARG:append:linux-gnux32 = " --disable-asm"
55 55
56LIBAV_EXTRA_CONFIGURE_COMMON = \ 56LIBAV_EXTRA_CONFIGURE_COMMON = \
57'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"' 57'${LIBAV_EXTRA_CONFIGURE}="${LIBAV_EXTRA_CONFIGURE_COMMON_ARG}"'
58 58
59EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}" 59EXTRA_OECONF = "${LIBAV_EXTRA_CONFIGURE_COMMON}"
60 60
61FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" 61FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
62FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la" 62FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la"
63FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" 63FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
64 64
65# http://errors.yoctoproject.org/Errors/Details/20493/ 65# http://errors.yoctoproject.org/Errors/Details/20493/
66ARM_INSTRUCTION_SET_armv4 = "arm" 66ARM_INSTRUCTION_SET:armv4 = "arm"
67ARM_INSTRUCTION_SET_armv5 = "arm" 67ARM_INSTRUCTION_SET:armv5 = "arm"
68 68
69# ffmpeg/libav disables PIC on some platforms (e.g. x86-32) 69# ffmpeg/libav disables PIC on some platforms (e.g. x86-32)
70INSANE_SKIP_${PN} = "textrel" 70INSANE_SKIP:${PN} = "textrel"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
index 6925611ac..6f2364852 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.16.3.imx.bb
@@ -1,14 +1,14 @@
1require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc 1require recipes-multimedia/gstreamer/gstreamer1.0-plugins-common.inc
2 2
3DEPENDS_append_imxgpu2d = " virtual/libg2d" 3DEPENDS:append:imxgpu2d = " virtual/libg2d"
4DEPENDS_append_mx8 = " libdrm" 4DEPENDS:append:mx8 = " libdrm"
5 5
6PACKAGECONFIG_append_mx8 = " kms" 6PACKAGECONFIG:append:mx8 = " kms"
7 7
8DEFAULT_PREFERENCE = "-1" 8DEFAULT_PREFERENCE = "-1"
9 9
10PACKAGE_ARCH_imxpxp = "${MACHINE_SOCARCH}" 10PACKAGE_ARCH:imxpxp = "${MACHINE_SOCARCH}"
11PACKAGE_ARCH_mx8 = "${MACHINE_SOCARCH}" 11PACKAGE_ARCH:mx8 = "${MACHINE_SOCARCH}"
12 12
13GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https" 13GST1.0-PLUGINS-BAD_SRC ?= "gitsm://source.codeaurora.org/external/imx/gst-plugins-bad.git;protocol=https"
14SRCBRANCH = "MM_04.05.07_2011_L5.4.70" 14SRCBRANCH = "MM_04.05.07_2011_L5.4.70"
@@ -37,7 +37,7 @@ DEPENDS += "gstreamer1.0-plugins-base"
37inherit gobject-introspection 37inherit gobject-introspection
38 38
39PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}" 39PACKAGECONFIG_GL ?= "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gl', '', d)}"
40PACKAGECONFIG_GL_imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" 40PACKAGECONFIG_GL:imxpxp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}"
41 41
42PACKAGECONFIG ??= " \ 42PACKAGECONFIG ??= " \
43 ${GSTREAMER_ORC} \ 43 ${GSTREAMER_ORC} \
@@ -163,13 +163,13 @@ EXTRA_OEMESON += " \
163 163
164export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}" 164export OPENCV_PREFIX = "${STAGING_DIR_TARGET}${prefix}"
165 165
166ARM_INSTRUCTION_SET_armv4 = "arm" 166ARM_INSTRUCTION_SET:armv4 = "arm"
167ARM_INSTRUCTION_SET_armv5 = "arm" 167ARM_INSTRUCTION_SET:armv5 = "arm"
168 168
169FILES_${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs" 169FILES:${PN}-freeverb += "${datadir}/gstreamer-1.0/presets/GstFreeverb.prs"
170FILES_${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*" 170FILES:${PN}-opencv += "${datadir}/gst-plugins-bad/1.0/opencv*"
171FILES_${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs" 171FILES:${PN}-voamrwbenc += "${datadir}/gstreamer-1.0/presets/GstVoAmrwbEnc.prs"
172# include fragment shaders 172# include fragment shaders
173FILES_${PN}-opengl += "/usr/share/*.fs" 173FILES:${PN}-opengl += "/usr/share/*.fs"
174 174
175COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 175COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend
index d92bdf3ca..1c62f31dc 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.%.bbappend
@@ -1,5 +1,5 @@
1PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}" 1PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}"
2PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 2PACKAGECONFIG_GL:imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
3 3
4# For mainline BSP we need to enable 'gbm' Window system 4# For mainline BSP we need to enable 'gbm' Window system
5PACKAGECONFIG_GL_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl gbm', '', d)}" 5PACKAGECONFIG_GL:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl gbm', '', d)}"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.2.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.2.imx.bb
index db0b740fa..ccc8e815b 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.2.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_1.16.2.imx.bb
@@ -20,7 +20,7 @@ SRC_URI = "${GST1.0-PLUGINS-BASE_SRC};branch=${SRCBRANCH} \
20S = "${WORKDIR}/git" 20S = "${WORKDIR}/git"
21 21
22DEPENDS += "iso-codes util-linux zlib" 22DEPENDS += "iso-codes util-linux zlib"
23DEPENDS_append_imxgpu2d = " virtual/libg2d" 23DEPENDS:append:imxgpu2d = " virtual/libg2d"
24 24
25inherit use-imx-headers gobject-introspection gtk-doc 25inherit use-imx-headers gobject-introspection gtk-doc
26 26
@@ -85,8 +85,8 @@ GTKDOC_MESON_OPTION = "gtk_doc"
85GTKDOC_MESON_ENABLE_FLAG = "enabled" 85GTKDOC_MESON_ENABLE_FLAG = "enabled"
86GTKDOC_MESON_DISABLE_FLAG = "disabled" 86GTKDOC_MESON_DISABLE_FLAG = "disabled"
87 87
88FILES_${PN} += "${libdir}/gstreamer-1.0/include" 88FILES:${PN} += "${libdir}/gstreamer-1.0/include"
89FILES_${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict" 89FILES:${MLPREFIX}libgsttag-1.0 += "${datadir}/gst-plugins-base/1.0/license-translations.dict"
90 90
91COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 91COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
92 92
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend
index 8565c6a53..7e72cdaa2 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.%.bbappend
@@ -1,3 +1,3 @@
1PACKAGECONFIG_GL_imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}" 1PACKAGECONFIG_GL:imxgpu2d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'opengl', '', d)}"
2PACKAGECONFIG_GL_imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 2PACKAGECONFIG_GL:imxgpu3d = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
3PACKAGECONFIG_GL_use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}" 3PACKAGECONFIG_GL:use-mainline-bsp = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 egl', '', d)}"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.3.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.3.imx.bb
index 8413bf103..cda4cd149 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.3.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-good_1.16.3.imx.bb
@@ -19,8 +19,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343 \
19 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe" 19 file://gst/replaygain/rganalysis.c;beginline=1;endline=23;md5=b60ebefd5b2f5a8e0cab6bfee391a5fe"
20 20
21DEPENDS += "gstreamer1.0-plugins-base libcap zlib" 21DEPENDS += "gstreamer1.0-plugins-base libcap zlib"
22RPROVIDES_${PN}-pulseaudio += "${PN}-pulse" 22RPROVIDES:${PN}-pulseaudio += "${PN}-pulse"
23RPROVIDES_${PN}-soup += "${PN}-souphttpsrc" 23RPROVIDES:${PN}-soup += "${PN}-souphttpsrc"
24 24
25PACKAGECONFIG ??= " \ 25PACKAGECONFIG ??= " \
26 ${GSTREAMER_ORC} \ 26 ${GSTREAMER_ORC} \
@@ -74,6 +74,6 @@ EXTRA_OEMESON += " \
74 -Dwaveform=disabled \ 74 -Dwaveform=disabled \
75" 75"
76 76
77FILES_${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs" 77FILES:${PN}-equalizer += "${datadir}/gstreamer-1.0/presets/*.prs"
78 78
79COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 79COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
index 7c6025dd9..eefa870a1 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_2.0.0.bb
@@ -8,9 +8,9 @@ DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base libimxdmabuffer"
8# for the uniaudio decoder, videoparsersbad for the VPU video decoder 8# for the uniaudio decoder, videoparsersbad for the VPU video decoder
9# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is 9# the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good recipe is
10# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS) 10# built (it is not a compile-time dependency however, hence RDEPENDS and not DEPENDS)
11RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" 11RDEPENDS:gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad"
12RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" 12RDEPENDS:gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers"
13RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" 13RDEPENDS:gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad"
14 14
15PV .= "+git${SRCPV}" 15PV .= "+git${SRCPV}"
16 16
@@ -34,16 +34,16 @@ LIBG2D_DEPENDENCIES_imxdpu = "virtual/libg2d libdrm"
34EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX}" 34EXTRA_OEMESON += "-Dimx-headers-path=${STAGING_INCDIR_IMX}"
35 35
36PACKAGECONFIG ?= "uniaudiodec" 36PACKAGECONFIG ?= "uniaudiodec"
37PACKAGECONFIG_append_imxgpu2d = " g2d" 37PACKAGECONFIG:append:imxgpu2d = " g2d"
38PACKAGECONFIG_append_imxvpu = " vpu" 38PACKAGECONFIG:append:imxvpu = " vpu"
39PACKAGECONFIG_append_imxipu = " ipu" 39PACKAGECONFIG:append:imxipu = " ipu"
40PACKAGECONFIG_append_imxpxp = " pxp" 40PACKAGECONFIG:append:imxpxp = " pxp"
41# The custom imxv4l2 elements are only available on the i.MX6. 41# The custom imxv4l2 elements are only available on the i.MX6.
42# The 2D blitter sinks require an MXC framebuffer, which 42# The 2D blitter sinks require an MXC framebuffer, which
43# is not available anymore on the i.MX8 (since these SoCs 43# is not available anymore on the i.MX8 (since these SoCs
44# now use KMS instead of the old Linux framebuffer). 44# now use KMS instead of the old Linux framebuffer).
45PACKAGECONFIG_append_mx6 = " imx2dvideosink v4l2" 45PACKAGECONFIG:append:mx6 = " imx2dvideosink v4l2"
46PACKAGECONFIG_append_mx7 = " imx2dvideosink" 46PACKAGECONFIG:append:mx7 = " imx2dvideosink"
47 47
48PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}" 48PACKAGECONFIG[g2d] = "-Dg2d=enabled ${LIBG2D_DPU_OPTION},-Dg2d=disabled,${LIBG2D_DEPENDENCIES}"
49PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled," 49PACKAGECONFIG[pxp] = "-Dpxp=enabled,-Dpxp=disabled,"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
index 2a1cc3fdc..5e528bc73 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_1.16.0.bb
@@ -35,5 +35,5 @@ EXTRA_OEMESON += " \
35 -Dsidplay=disabled \ 35 -Dsidplay=disabled \
36" 36"
37 37
38FILES_${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs" 38FILES:${PN}-amrnb += "${datadir}/gstreamer-1.0/presets/GstAmrnbEnc.prs"
39FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs" 39FILES:${PN}-x264 += "${datadir}/gstreamer-1.0/presets/GstX264Enc.prs"
diff --git a/recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb b/recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb
index 8bbc16c87..8d347cb58 100644
--- a/recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb
+++ b/recipes-multimedia/gstreamer/gstreamer1.0_1.16.2.imx.bb
@@ -72,10 +72,10 @@ GIR_MESON_DISABLE_FLAG = "disabled"
72PACKAGES += "${PN}-bash-completion" 72PACKAGES += "${PN}-bash-completion"
73 73
74# Add the core element plugins to the main package 74# Add the core element plugins to the main package
75FILES_${PN} += "${libdir}/gstreamer-1.0/*.so" 75FILES:${PN} += "${libdir}/gstreamer-1.0/*.so"
76FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include" 76FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.a ${libdir}/gstreamer-1.0/include"
77FILES_${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*" 77FILES:${PN}-bash-completion += "${datadir}/bash-completion/completions/ ${datadir}/bash-completion/helpers/gst*"
78FILES_${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb ${datadir}/glib-2.0/gdb" 78FILES:${PN}-dbg += "${datadir}/gdb ${datadir}/gstreamer-1.0/gdb ${datadir}/glib-2.0/gdb"
79 79
80CVE_PRODUCT = "gstreamer" 80CVE_PRODUCT = "gstreamer"
81 81
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb
index c8bb6cd8a..614c0b48e 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.5.7.bb
@@ -8,14 +8,14 @@ LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1"
8SECTION = "multimedia" 8SECTION = "multimedia"
9 9
10DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" 10DEPENDS = "imx-codec imx-parser gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad"
11DEPENDS_append_mx6 = " imx-lib" 11DEPENDS:append:mx6 = " imx-lib"
12DEPENDS_append_mx7 = " imx-lib" 12DEPENDS:append:mx7 = " imx-lib"
13DEPENDS_append_imxvpu = " imx-vpuwrap libdrm" 13DEPENDS:append:imxvpu = " imx-vpuwrap libdrm"
14 14
15# For backwards compatibility 15# For backwards compatibility
16RREPLACES_${PN} = "gst1.0-fsl-plugin" 16RREPLACES:${PN} = "gst1.0-fsl-plugin"
17RPROVIDES_${PN} = "gst1.0-fsl-plugin" 17RPROVIDES:${PN} = "gst1.0-fsl-plugin"
18RCONFLICTS_${PN} = "gst1.0-fsl-plugin" 18RCONFLICTS:${PN} = "gst1.0-fsl-plugin"
19 19
20LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ 20LIC_FILES_CHKSUM = "file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
21 file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" 21 file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24"
@@ -31,14 +31,14 @@ S = "${WORKDIR}/git"
31 31
32inherit autotools pkgconfig use-imx-headers 32inherit autotools pkgconfig use-imx-headers
33 33
34PLATFORM_mx6 = "MX6" 34PLATFORM:mx6 = "MX6"
35PLATFORM_mx6sl = "MX6SL" 35PLATFORM:mx6sl = "MX6SL"
36PLATFORM_mx6sx = "MX6SX" 36PLATFORM:mx6sx = "MX6SX"
37PLATFORM_mx6ul = "MX6UL" 37PLATFORM:mx6ul = "MX6UL"
38PLATFORM_mx6sll = "MX6SLL" 38PLATFORM:mx6sll = "MX6SLL"
39PLATFORM_mx7= "MX7D" 39PLATFORM:mx7= "MX7D"
40PLATFORM_mx7ulp= "MX7ULP" 40PLATFORM:mx7ulp= "MX7ULP"
41PLATFORM_mx8 = "MX8" 41PLATFORM:mx8 = "MX8"
42 42
43# Todo add a mechanism to map possible build targets 43# Todo add a mechanism to map possible build targets
44EXTRA_OECONF = "PLATFORM=${PLATFORM} \ 44EXTRA_OECONF = "PLATFORM=${PLATFORM} \
@@ -50,12 +50,12 @@ PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN
50 50
51# Add codec list that the beep plugin run-time depended 51# Add codec list that the beep plugin run-time depended
52BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" 52BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis"
53RDEPENDS_${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " 53RDEPENDS:${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux "
54 54
55# overlaysink rely on G2D, 55# overlaysink rely on G2D,
56# cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D 56# cannot be supported on i.MX6SLL & i.MX6UL & i.MX6ULL & i.MX7D
57PACKAGECONFIG ?= "" 57PACKAGECONFIG ?= ""
58PACKAGECONFIG_imxgpu2d = "overlaysink" 58PACKAGECONFIG:imxgpu2d = "overlaysink"
59 59
60 60
61# FIXME: Add all features 61# FIXME: Add all features
@@ -69,16 +69,16 @@ PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSD
69OVDEPENDS = "virtual/libg2d" 69OVDEPENDS = "virtual/libg2d"
70PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}" 70PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}"
71 71
72FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" 72FILES:${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}"
73 73
74FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" 74FILES:${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
75FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" 75FILES:${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc"
76FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" 76FILES:${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
77FILES_${PN}-gplay = "${bindir}/gplay-1.0" 77FILES:${PN}-gplay = "${bindir}/gplay-1.0"
78FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" 78FILES:${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}"
79FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" 79FILES:${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}"
80FILES_${PN}-grecorder = "${bindir}/grecorder-1.0" 80FILES:${PN}-grecorder = "${bindir}/grecorder-1.0"
81FILES_${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" 81FILES:${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}"
82FILES_${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" 82FILES:${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}"
83 83
84COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" 84COMPATIBLE_MACHINE = "(mx6|mx7|mx8)"