[meta-freescale] [meta-fsl-arm][PATCH 3/8] libfslparser: Add libfslparser 3.0.1 support

Daiane Angolini daiane.angolini at freescale.com
Tue Nov 27 00:04:45 PST 2012


This package if for imx6 only.

Change-Id: If661edd86add2a0bcff3b3c38b394a5bdb63394e
Signed-off-by: Daiane Angolini <daiane.angolini at freescale.com>
---
 .../libfslparser/libfslparser_3.0.1.bb             |   31 ++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)
 create mode 100644 recipes-multimedia/libfslparser/libfslparser_3.0.1.bb

diff --git a/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
new file mode 100644
index 0000000..f612b79
--- /dev/null
+++ b/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb
@@ -0,0 +1,31 @@
+# Copyright (C) 2012 Freescale Semicondutors
+# Released under the MIT license (see COPYING.MIT for the terms)
+DESCRIPTION = "Freescale Multimedia parser libs"
+LICENSE = "Proprietary"
+SECTION = "multimedia"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+
+inherit fsl-eula-unpack autotools pkgconfig
+
+SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae"
+SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194"
+SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
+
+do_install_append() {
+	# FIXME: The only parser outside imx-mm/parse is the mp3 so move it
+	mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/
+}
+
+python populate_packages_prepend() {
+    # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have
+    # the source we cannot fix it. Disable the insane check for now.
+    # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
+    for p in d.getVar('PACKAGES', True).split():
+        d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so")
+}
+
+# FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those
+FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}"
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+COMPATIBLE_MACHINE = "(mx6)"
-- 
1.7.5.4





More information about the meta-freescale mailing list