diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb')
| -rw-r--r-- | recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb | 85 |
1 files changed, 85 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb new file mode 100644 index 000000000..5b22f4663 --- /dev/null +++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb | |||
| @@ -0,0 +1,85 @@ | |||
| 1 | # Copyright (C) 2014,2016 Freescale Semiconductor | ||
| 2 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
| 3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 4 | |||
| 5 | DESCRIPTION = "Gstreamer freescale plugins" | ||
| 6 | LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" | ||
| 7 | SECTION = "multimedia" | ||
| 8 | |||
| 9 | DEPENDS = "imx-codec imx-parser virtual/kernel gstreamer1.0 gstreamer1.0-plugins-base gstreamer1.0-plugins-bad" | ||
| 10 | DEPENDS_append_mx6q = " imx-lib imx-vpu imx-vpuwrap" | ||
| 11 | DEPENDS_append_mx6dl = " imx-lib imx-vpu imx-vpuwrap" | ||
| 12 | DEPENDS_append_mx6sl = " imx-lib" | ||
| 13 | DEPENDS_append_mx6sx = " imx-lib" | ||
| 14 | DEPENDS_append_mx6ul = " imx-lib" | ||
| 15 | DEPENDS_append_mx7 = " imx-lib" | ||
| 16 | |||
| 17 | # For backwards compatibility | ||
| 18 | RREPLACES_${PN} = "gst1.0-fsl-plugin" | ||
| 19 | RPROVIDES_${PN} = "gst1.0-fsl-plugin" | ||
| 20 | RCONFLICTS_${PN} = "gst1.0-fsl-plugin" | ||
| 21 | |||
| 22 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 23 | file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
| 24 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
| 25 | |||
| 26 | SRC_URI = " \ | ||
| 27 | ${FSL_MIRROR}/imx-gst1.0-plugin-${PV}.tar.gz \ | ||
| 28 | " | ||
| 29 | |||
| 30 | SRC_URI[md5sum] = "427c2db85f1eb70d003380c248fb9b41" | ||
| 31 | SRC_URI[sha256sum] = "b71a5800aad72e7fa3b9e19b3473ea6870c426412baa5030e2f9817c294db820" | ||
| 32 | |||
| 33 | S = "${WORKDIR}/imx-gst1.0-plugin-${PV}" | ||
| 34 | |||
| 35 | inherit autotools pkgconfig | ||
| 36 | |||
| 37 | # Make sure kernel sources are available | ||
| 38 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 39 | |||
| 40 | PLATFORM_mx6 = "MX6" | ||
| 41 | PLATFORM_mx6sl = "MX6SL" | ||
| 42 | PLATFORM_mx6sx = "MX6SX" | ||
| 43 | PLATFORM_mx6ul = "MX6UL" | ||
| 44 | PLATFORM_mx7= "MX7D" | ||
| 45 | |||
| 46 | # Todo add a mechanism to map possible build targets | ||
| 47 | EXTRA_OECONF = "PLATFORM=${PLATFORM} \ | ||
| 48 | CPPFLAGS="-I${STAGING_KERNEL_BUILDDIR}/include/generated/uapi -I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" \ | ||
| 49 | CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR} \ | ||
| 50 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', bb.utils.contains('DISTRO_FEATURES', 'x11', '--disable-x11', '', d), '', d)}" | ||
| 51 | |||
| 52 | PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl ${PN}-grecorder ${PN}-librecorder-engine ${PN}-libplayengine" | ||
| 53 | |||
| 54 | # Add codec list that the beep plugin run-time depended | ||
| 55 | BEEP_RDEPENDS = "imx-codec-aac imx-codec-mp3 imx-codec-oggvorbis" | ||
| 56 | RDEPENDS_${PN} += "imx-parser ${BEEP_RDEPENDS} gstreamer1.0-plugins-good-id3demux " | ||
| 57 | |||
| 58 | PACKAGECONFIG ?= "" | ||
| 59 | PACKAGECONFIG_mx6 = "overlaysink" | ||
| 60 | |||
| 61 | |||
| 62 | # FIXME: Add all features | ||
| 63 | # feature from excluded mm packages | ||
| 64 | PACKAGECONFIG[ac3] += ",,imx-ac3codec,imx-ac3codec" | ||
| 65 | # feature from special mm packages | ||
| 66 | PACKAGECONFIG[aacp] += ",,imx-aacpcodec,imx-aacpcodec" | ||
| 67 | MSDEPENDS = "imx-msparser imx-mscodec" | ||
| 68 | PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}" | ||
| 69 | PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}" | ||
| 70 | OVDEPENDS = "virtual/libg2d" | ||
| 71 | PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}" | ||
| 72 | |||
| 73 | FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" | ||
| 74 | |||
| 75 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
| 76 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" | ||
| 77 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
| 78 | FILES_${PN}-gplay = "${bindir}/gplay-1.0" | ||
| 79 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" | ||
| 80 | FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" | ||
| 81 | FILES_${PN}-grecorder = "${bindir}/grecorder-1.0" | ||
| 82 | FILES_${PN}-librecorder-engine = "${libdir}/librecorder_engine-1.0${SOLIBS}" | ||
| 83 | FILES_${PN}-libplayengine = "${libdir}/libplayengine-1.0${SOLIBS}" | ||
| 84 | |||
| 85 | COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" | ||
