]> code.ossystems Code Review - meta-freescale.git/commitdiff
libfslparser: Drop the package split as gst-fsl-plugin dlopen them
authorOtavio Salvador <otavio@ossystems.com.br>
Mon, 19 Nov 2012 11:06:40 +0000 (05:06 -0600)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 3 Dec 2012 11:25:07 +0000 (09:25 -0200)
As gst-fsl-plugin dlopen the parser libraries and shlibs won't work in
this case for automatically discover the dependencies so we package
all parsers together for now.

Change-Id: I8e86c65dcac631d74d5a795f5268f8e807fd2543
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb

index 42767846620ff8718c78d06d141a1ed434f1fd8e..993569eb2974fbd6804987904a6ec404f48239bc 100644 (file)
@@ -5,37 +5,29 @@ LICENSE = "Proprietary"
 SECTION = "multimedia"
 LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01"
 
+PR = "r1"
+
 inherit fsl-eula-unpack autotools pkgconfig
 
 SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae"
 SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194"
 SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true"
 
-PACKAGES_DYNAMIC = "${PN}-*"
-
 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() {
-    parserdir = bb.data.expand('${libdir}/imx-mm/parser', d)
-    do_split_packages(d, parserdir, '^lib_(.*)_elinux\.so\.',
-                      aux_files_pattern_verbatim='${libdir}/imx-mm/parser/lib_%s_elinux.so.*',
-                      output_pattern='libfslparser-%s', recursive=True,
-                      description='Freescale IMX Parser (%s)',
-                      extra_depends='', prepend=True)
-
     # 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")
+        d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so")
 }
 
-# Ensure we get warnings if we miss something
-FILES_${PN} = ""
-
-FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV}"
+# 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)"