diff options
Diffstat (limited to 'recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb')
| -rw-r--r-- | recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb | 69 |
1 files changed, 69 insertions, 0 deletions
diff --git a/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb new file mode 100644 index 000000000..ab28bc128 --- /dev/null +++ b/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb | |||
| @@ -0,0 +1,69 @@ | |||
| 1 | # Copyright (C) 2014,2015 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 = "libfslcodec libfslparser virtual/kernel gstreamer1.0 gstreamer1.0-plugins-base" | ||
| 10 | DEPENDS_append_mx6q = " imx-lib imx-vpu libfslvpuwrap" | ||
| 11 | DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap" | ||
| 12 | DEPENDS_append_mx6sl = " imx-lib" | ||
| 13 | DEPENDS_append_mx6sx = " imx-lib" | ||
| 14 | |||
| 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
| 16 | file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
| 17 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
| 18 | |||
| 19 | SRC_URI = "${FSL_MIRROR}/gst1.0-fsl-plugins-${PV}.tar.gz" | ||
| 20 | SRC_URI[md5sum] = "b5c1072536479c174bda1349ade5d10c" | ||
| 21 | SRC_URI[sha256sum] = "9d5c051cbde023014e67fde07bc314b6b9a5e7030e24eb0d8afdf33e7e458125" | ||
| 22 | |||
| 23 | S = "${WORKDIR}/gst1.0-fsl-plugins-${PV}" | ||
| 24 | |||
| 25 | inherit autotools pkgconfig | ||
| 26 | |||
| 27 | # Make sure kernel sources are available | ||
| 28 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
| 29 | |||
| 30 | PLATFORM_mx6 = "MX6" | ||
| 31 | PLATFORM_mx6sl = "MX6SL" | ||
| 32 | PLATFORM_mx6sx = "MX6SX" | ||
| 33 | |||
| 34 | # Todo add a mechanism to map possible build targets | ||
| 35 | EXTRA_OECONF = "PLATFORM=${PLATFORM} \ | ||
| 36 | CPPFLAGS="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" \ | ||
| 37 | CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}" | ||
| 38 | |||
| 39 | PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl" | ||
| 40 | |||
| 41 | # Add codec list that the beep plugin run-time depended | ||
| 42 | BEEP_RDEPENDS = "libfslcodec-aac libfslcodec-mp3 libfslcodec-oggvorbis" | ||
| 43 | RDEPENDS_${PN} += "libfslparser ${BEEP_RDEPENDS}" | ||
| 44 | |||
| 45 | PACKAGECONFIG ?= "" | ||
| 46 | PACKAGECONFIG_mx6 = "overlaysink" | ||
| 47 | |||
| 48 | # FIXME: Add all features | ||
| 49 | # feature from excluded mm packages | ||
| 50 | PACKAGECONFIG[ac3] += ",,libfslac3codec,libfslac3codec" | ||
| 51 | # feature from special mm packages | ||
| 52 | PACKAGECONFIG[aacp] += ",,libfslaacpcodec,libfslaacpcodec" | ||
| 53 | MSDEPENDS = "libfslmsparser libfslmscodec" | ||
| 54 | PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}" | ||
| 55 | PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}" | ||
| 56 | OVDEPENDS = "virtual/libg2d" | ||
| 57 | PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}" | ||
| 58 | |||
| 59 | FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" | ||
| 60 | RDEPENDS_${PN} += "gstreamer1.0-plugins-good-id3demux" | ||
| 61 | |||
| 62 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
| 63 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" | ||
| 64 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
| 65 | FILES_${PN}-gplay = "${bindir}/gplay-1.0" | ||
| 66 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" | ||
| 67 | FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" | ||
| 68 | |||
| 69 | COMPATIBLE_MACHINE = "(mx6)" | ||
