From 705623ad1e1e3dd11857ed89ca08fc4179958d78 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Mon, 18 Apr 2016 22:57:48 +0800 Subject: imx-codec: Upgrade to v4.0.9 --Change the recipe name from "libfslcodec" to "imx-codec" --Add RREPLACE/RPROVIDES/RCONFLICTS for backwards compatibility. --[aac_dec] refine the code for pure c build aac decoder c build need float point support, which use some float point function. Change-Id: Ie8071031b45038107d27b16e2c129376cf4f109d Signed-off-by: Yuqing Zhu Signed-off-by: Otavio Salvador --- recipes-multimedia/libfslcodec/libfslcodec.inc | 98 -------------------------- 1 file changed, 98 deletions(-) delete mode 100644 recipes-multimedia/libfslcodec/libfslcodec.inc (limited to 'recipes-multimedia/libfslcodec/libfslcodec.inc') diff --git a/recipes-multimedia/libfslcodec/libfslcodec.inc b/recipes-multimedia/libfslcodec/libfslcodec.inc deleted file mode 100644 index 2f0bc445b..000000000 --- a/recipes-multimedia/libfslcodec/libfslcodec.inc +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright (C) 2012-2014 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) -DESCRIPTION = "Freescale Multimedia codec libs" -LICENSE = "Proprietary" -SECTION = "multimedia" -LIC_FILES_CHKSUM = "file://COPYING;md5=3880bb9c943b135a30fad5e8aabd3ee9" - -inherit fsl-eula-unpack autotools pkgconfig - -SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" - -# Choose between Soft Float-Point and Hard Float-Point -EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}" - -PACKAGECONFIG ?= "" -PACKAGECONFIG_mx6q = "vpu" -PACKAGECONFIG_mx6dl = "vpu" - -PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu" - -do_install_append() { - # FIXME: This link points to nowhere - rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so - - # LTIB move the files around or gst-fsl-plugin won't find them - for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do - mv $p ${D}${libdir} - done - rmdir ${D}${libdir}/imx-mm/video-codec - -} - -python __set_insane_skip() { - # Ensure we have PACKAGES expanded - bb.build.exec_func("read_subpackage_metadata", d) - - for p in d.getVar('PACKAGES', True).split(): - # Even though we are packaging libraries those are plugins so we - # shouldn't rename the packages to follow its sonames. - d.setVar("DEBIAN_NOAUTONAME_%s" % p, "1") - - # 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. - if p == 'libfslcodec-test-bin': - # FIXME: includes the DUT .so files so we need to deploy those - d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel libdir") - else: - d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel") -} - -do_package_qa[prefuncs] += "__set_insane_skip" - -python __split_libfslcodec_plugins() { - codecdir = bb.data.expand('${libdir}', d) - do_split_packages(d, codecdir, '^lib_([^_]*).*_arm.*_elinux\.so\..*', - aux_files_pattern='${libdir}/imx-mm/audio-codec/wrap/lib_%sd_wrap_arm*_elinux.so.*', - output_pattern='libfslcodec-%s', - description='Freescale i.MX Codec (%s)', - extra_depends='') -} - -python __set_metapkg_rdepends() { - # Allow addition of all codecs in a image; useful specially for - # debugging. - codec_pkgs = oe.utils.packages_filter_out_system(d) - codec_pkgs = filter(lambda x: x not in ['libfslcodec-test-bin', 'libfslcodec-test-source'], - codec_pkgs) - d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs)) -} - -PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends" - -PACKAGES_DYNAMIC = "${PN}-*" -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -PACKAGES += "${PN}-meta ${PN}-test-bin ${PN}-test-source" - -ALLOW_EMPTY_${PN} = "1" -ALLOW_EMPTY_${PN}-meta = "1" - -# Ensure we get warnings if we miss something -FILES_${PN} = "" - -FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \ - ${libdir}/imx-mm/*/*/*${SOLIBSDEV} \ - ${libdir}/pkgconfig/*.pc ${includedir}/imx-mm/*" - -FILES_${PN}-test-bin += "${datadir}/imx-mm/*/examples/*/bin" - -FILES_${PN}-test-source += "${datadir}/imx-mm/*" - -# 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}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*" -FILES_${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" - -PACKAGE_ARCH = "${MACHINE_ARCH}" -- cgit v1.2.3-54-g00ecf