diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2012-11-19 05:06:40 -0600 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2012-12-03 09:25:07 -0200 |
| commit | ac2abe1c7cabfbb224dfd8bc4deb61d73e4900d5 (patch) | |
| tree | bb54cb64eb1bd4bcd876387f3a0ed9e925382bce | |
| parent | 342f49ed0852e48179f6f23e1ceae5e866a1d96e (diff) | |
| download | meta-freescale-ac2abe1c7cabfbb224dfd8bc4deb61d73e4900d5.tar.gz | |
libfslparser: Drop the package split as gst-fsl-plugin dlopen them
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>
| -rw-r--r-- | meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb | 20 |
1 files changed, 6 insertions, 14 deletions
diff --git a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb index 427678466..993569eb2 100644 --- a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb +++ b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_3.0.1.bb | |||
| @@ -5,37 +5,29 @@ LICENSE = "Proprietary" | |||
| 5 | SECTION = "multimedia" | 5 | SECTION = "multimedia" |
| 6 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" | 6 | LIC_FILES_CHKSUM = "file://EULA.txt;md5=ea4d5c069d7aef0838a110409ea78a01" |
| 7 | 7 | ||
| 8 | PR = "r1" | ||
| 9 | |||
| 8 | inherit fsl-eula-unpack autotools pkgconfig | 10 | inherit fsl-eula-unpack autotools pkgconfig |
| 9 | 11 | ||
| 10 | SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae" | 12 | SRC_URI[md5sum] = "52a72680d4c1db4b9fadcae56980a8ae" |
| 11 | SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194" | 13 | SRC_URI[sha256sum] = "50b514fe3e9912ac24e9da81de5e713bf42e1a7d3a41ae6f221258c2f8539194" |
| 12 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | 14 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" |
| 13 | 15 | ||
| 14 | PACKAGES_DYNAMIC = "${PN}-*" | ||
| 15 | |||
| 16 | do_install_append() { | 16 | do_install_append() { |
| 17 | # FIXME: The only parser outside imx-mm/parse is the mp3 so move it | 17 | # FIXME: The only parser outside imx-mm/parse is the mp3 so move it |
| 18 | mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/ | 18 | mv ${D}${libdir}/*mp3* ${D}${libdir}/imx-mm/parser/ |
| 19 | } | 19 | } |
| 20 | 20 | ||
| 21 | python populate_packages_prepend() { | 21 | python populate_packages_prepend() { |
| 22 | parserdir = bb.data.expand('${libdir}/imx-mm/parser', d) | ||
| 23 | do_split_packages(d, parserdir, '^lib_(.*)_elinux\.so\.', | ||
| 24 | aux_files_pattern_verbatim='${libdir}/imx-mm/parser/lib_%s_elinux.so.*', | ||
| 25 | output_pattern='libfslparser-%s', recursive=True, | ||
| 26 | description='Freescale IMX Parser (%s)', | ||
| 27 | extra_depends='', prepend=True) | ||
| 28 | |||
| 29 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | 22 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have |
| 30 | # the source we cannot fix it. Disable the insane check for now. | 23 | # the source we cannot fix it. Disable the insane check for now. |
| 24 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
| 31 | for p in d.getVar('PACKAGES', True).split(): | 25 | for p in d.getVar('PACKAGES', True).split(): |
| 32 | d.setVar("INSANE_SKIP_%s" % p, "ldflags") | 26 | d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so") |
| 33 | } | 27 | } |
| 34 | 28 | ||
| 35 | # Ensure we get warnings if we miss something | 29 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those |
| 36 | FILES_${PN} = "" | 30 | FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" |
| 37 | |||
| 38 | FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV}" | ||
| 39 | 31 | ||
| 40 | PACKAGE_ARCH = "${MACHINE_ARCH}" | 32 | PACKAGE_ARCH = "${MACHINE_ARCH}" |
| 41 | COMPATIBLE_MACHINE = "(mx6)" | 33 | COMPATIBLE_MACHINE = "(mx6)" |
