]> code.ossystems Code Review - meta-freescale.git/commitdiff
gst1.0-fsl-plugin: Add Freescale Gstreamer1.0 Plugins for MX6
authorWang Zidan <b50113@freescale.com>
Wed, 3 Sep 2014 10:07:59 +0000 (18:07 +0800)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 10 Nov 2014 20:55:23 +0000 (18:55 -0200)
Add Freescale Gstreamer1.0 plugins.
- Support Audio/Video local playback
- Support HTTP/RTSP Streaming playback
- Support RTP/UDP MPEGTS Streaming
- Support RTSP Streaming Server

Signed-off-by: Zidan Wang <b50113@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb [new file with mode: 0644]

diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb b/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.1.bb
new file mode 100644 (file)
index 0000000..6a44978
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright (C) 2014 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require gst-fsl-plugin.inc
+
+SRC_URI = "${FSL_MIRROR}/gst1.0-fsl-plugins-${PV}.tar.gz"
+S = "${WORKDIR}/gst1.0-fsl-plugins-${PV}"
+
+EXTRA_OECONF += " CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}"
+
+SRC_URI[md5sum] = "38d20aa22910a841593318aa638fb702"
+SRC_URI[sha256sum] = "972babc09f53fb0139a350c5b4267101793fcb96d289c4ae402d6a6ddddbe085"
+
+DEPENDS_append = " gstreamer1.0 gstreamer1.0-plugins-base"
+
+PACKAGECONFIG ?= "overlaysink"
+# FIXME: Add all features
+# feature from excluded mm packages
+PACKAGECONFIG[ac3] += ",,libfslac3codec,libfslac3codec"
+# feature from special mm packages
+PACKAGECONFIG[aacp] += ",,libfslaacpcodec,libfslaacpcodec"
+MSDEPENDS = "libfslmsparser libfslmscodec"
+PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}"
+PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink,gpu-viv-g2d"
+
+FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}"
+FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug"
+FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc"
+FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a"
+FILES_${PN}-gplay = "${bindir}/gplay-1.0"
+FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}"
+FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}"
+
+COMPATIBLE_MACHINE = "(mx6)"