Patchwork [meta-fsl-arm,10/25] libfslcodec.inc: Updates from 3.10.9-1.0.0 release

login
register
mail settings
Submitter Otavio Salvador
Date Oct. 28, 2013, 6:10 p.m.
Message ID <1382983863-5208-11-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/60627/
State Deferred
Delegated to: Otavio Salvador
Headers show

Comments

Otavio Salvador - Oct. 28, 2013, 6:10 p.m.
From: Lauren Post <lauren.post@freescale.com>

Change-Id: Ibb5bad231168f7b6aa10d6979433752461963ee1
Signed-off-by: Lauren Post <lauren.post@freescale.com>

libfslcodec_3.0.9.bb:  Upgrade to 3.0.9 version

Change-Id: I1fd4fd1e3eb7dad5196c58ccfa71501954ecae20
Signed-off-by: Lauren Post <lauren.post@freescale.com>
---
 recipes-multimedia/libfslcodec/libfslcodec.inc      | 16 ++++++++++------
 recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb | 13 -------------
 recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb | 12 ++++++++++++
 3 files changed, 22 insertions(+), 19 deletions(-)
 delete mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb
 create mode 100644 recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb

Patch

diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc
index ad44eb1..b5f7c25 100644
--- a/recipes-multimedia/libfslcodec/libfslcodec.inc
+++ b/recipes-multimedia/libfslcodec/libfslcodec.inc
@@ -3,7 +3,7 @@ 
 DESCRIPTION = "Freescale Multimedia codec libs"
 LICENSE = "Proprietary"
 SECTION = "multimedia"
-LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
+LIC_FILES_CHKSUM = "file://EULA.txt;md5=93b784b1c11b3fffb1638498a8dde3f6"
 
 inherit fsl-eula-unpack autotools pkgconfig
 
@@ -31,7 +31,7 @@  do_install_append() {
     rmdir ${D}${libdir}/imx-mm/video-codec
 
 	# FIXME: Drop examples
-	rm -r ${D}${datadir}/imx-mm
+       rm -r ${D}${datadir}/imx-mm
 }
 
 python populate_packages_prepend() {
@@ -44,9 +44,10 @@  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 textrel")
         d.setVar("DEBIAN_NOAUTONAME_%s" % p, "1")
+        d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel dev-so")
 
     # Allow addition of all codecs in a image; useful specially for
     # debugging.
@@ -54,13 +55,16 @@  python populate_packages_prepend() {
     d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs))
 }
 
+
 # Ensure we get warnings if we miss something
 FILES_${PN} = ""
+# FIXME: The wrap and lib names does not match
+FILES_${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm*_elinux.so.*"
 
+FILES_${PN} += "${libdir}/*${SOLIBSDEV} ${libdir}/imx-mm/audio-codec/wrap/*${SOLIBS} \
+				${libdir}/imx-mm/audio-codec/wrap/*${SOLIBSDEV} ${datadir}/imx-mm/*"
 FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \
                     ${libdir}/imx-mm/*/*/*${SOLIBSDEV}"
-
-# FIXME: The wrap and lib names does not match
-FILES_${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm*_elinux.so.*"
+FILES_${PN}-dev += "${libdir}/pkgconfig/*.pc ${includedir}/imx-mm/*"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb
deleted file mode 100644
index cb105bf..0000000
--- a/recipes-multimedia/libfslcodec/libfslcodec_3.0.8.bb
+++ /dev/null
@@ -1,13 +0,0 @@ 
-# Copyright (C) 2013 Freescale Semiconductor
-# Released under the MIT license (see COPYING.MIT for the terms)
-
-require libfslcodec.inc
-
-# FIXME: Inspecting the source code the content is in fact 3.0.8
-SRC_URI = "${FSL_MIRROR}/${PN}-3.5.7-1.0.0.bin;fsl-eula=true"
-S = "${WORKDIR}/${PN}-3.5.7-1.0.0"
-
-SRC_URI[md5sum] = "bfdae0e2c6f7355c370c9bb6cd3ab9f9"
-SRC_URI[sha256sum] = "657a1a67e26889efcecd8272a4420d88c0fc2a103d6551d0f126d8fe8c333a39"
-
-COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"
diff --git a/recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb b/recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb
new file mode 100644
index 0000000..bf58b07
--- /dev/null
+++ b/recipes-multimedia/libfslcodec/libfslcodec_3.0.9.bb
@@ -0,0 +1,12 @@ 
+# Copyright (C) 2013 Freescale Semiconductor
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+require libfslcodec.inc
+
+SRC_URI = "${FSL_MIRROR}/${PN}-3.10.9-1.0.0.bin;fsl-eula=true"
+S = "${WORKDIR}/${PN}-3.10.9-1.0.0"
+
+SRC_URI[md5sum] = "8fd6f1f4f7a504adfc27c1f73de554b4"
+SRC_URI[sha256sum] = "76a8a93d452db07e2531fbbc6dc1cbdf21943e6b3dfa1b2435faf5b356819f95"
+
+COMPATIBLE_MACHINE = "(mx28|mx5|mx6)"