From e2c6f10c74fb4e1ac7900a157325d65437443125 Mon Sep 17 00:00:00 2001 From: Yuqing Zhu Date: Mon, 18 Apr 2016 22:57:47 +0800 Subject: imx-parser: Upgrade to v4.0.9 --Change the recipe name from "libfslparser" to "imx-parser" --Add RREPLACE/RPROVIDES/RCONFLICTS for backwards compatibility. --Add aac latm parser in parser_libs, support aac latm in mpeg2 parser Change-Id: I2e3cb92a952fe10136c25206f1527ca1472598cc Signed-off-by: Yuqing Zhu Signed-off-by: Otavio Salvador --- recipes-multimedia/imx-parser/imx-parser.inc | 38 ++++++++++++++++++++++ recipes-multimedia/imx-parser/imx-parser_4.0.9.bb | 9 +++++ recipes-multimedia/libfslparser/libfslparser.inc | 33 ------------------- .../libfslparser/libfslparser_4.0.8.bb | 9 ----- 4 files changed, 47 insertions(+), 42 deletions(-) create mode 100644 recipes-multimedia/imx-parser/imx-parser.inc create mode 100644 recipes-multimedia/imx-parser/imx-parser_4.0.9.bb delete mode 100644 recipes-multimedia/libfslparser/libfslparser.inc delete mode 100644 recipes-multimedia/libfslparser/libfslparser_4.0.8.bb diff --git a/recipes-multimedia/imx-parser/imx-parser.inc b/recipes-multimedia/imx-parser/imx-parser.inc new file mode 100644 index 0000000..6fb34de --- /dev/null +++ b/recipes-multimedia/imx-parser/imx-parser.inc @@ -0,0 +1,38 @@ +# Copyright (C) 2012-2014 O.S. Systems Software LTDA. +# Copyright (C) 2012-2016 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) +DESCRIPTION = "Freescale Multimedia parser libs" +LICENSE = "Proprietary" +SECTION = "multimedia" +LIC_FILES_CHKSUM = "file://COPYING;md5=8cf95184c220e247b9917e7244124c5a" + +# For backwards compatibility +RREPLACES_${PN} = "libfslparser" +RPROVIDES_${PN} = "libfslparser" +RCONFLICTS_${PN} = "libfslparser" + +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', '--enable-fsw', d)}" + +INHIBIT_PACKAGE_STRIP = "1" +INHIBIT_PACKAGE_DEBUG_SPLIT = "1" + +python __set_insane_skip() { + # 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 textrel") +} + +do_package_qa[prefuncs] += "__set_insane_skip" + +# 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}" + diff --git a/recipes-multimedia/imx-parser/imx-parser_4.0.9.bb b/recipes-multimedia/imx-parser/imx-parser_4.0.9.bb new file mode 100644 index 0000000..1650172 --- /dev/null +++ b/recipes-multimedia/imx-parser/imx-parser_4.0.9.bb @@ -0,0 +1,9 @@ +# Copyright (C) 2013-2015 Freescale Semiconductor +# Released under the MIT license (see COPYING.MIT for the terms) + +require imx-parser.inc + +SRC_URI[md5sum] = "184687baede96fe3919196c3f91d907c" +SRC_URI[sha256sum] = "1bec0101843db2e95d61e3dbe9e35172d874e54be19cc5d8bf72a735d5e3236f" + +COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" diff --git a/recipes-multimedia/libfslparser/libfslparser.inc b/recipes-multimedia/libfslparser/libfslparser.inc deleted file mode 100644 index b63aad8..0000000 --- a/recipes-multimedia/libfslparser/libfslparser.inc +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright (C) 2012-2014 O.S. Systems Software LTDA. -# Copyright (C) 2012-2013 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) -DESCRIPTION = "Freescale Multimedia parser 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', '--enable-fsw', d)}" - -INHIBIT_PACKAGE_STRIP = "1" -INHIBIT_PACKAGE_DEBUG_SPLIT = "1" - -python __set_insane_skip() { - # 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 textrel") -} - -do_package_qa[prefuncs] += "__set_insane_skip" - -# 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}" - diff --git a/recipes-multimedia/libfslparser/libfslparser_4.0.8.bb b/recipes-multimedia/libfslparser/libfslparser_4.0.8.bb deleted file mode 100644 index 06657fd..0000000 --- a/recipes-multimedia/libfslparser/libfslparser_4.0.8.bb +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (C) 2013-2015 Freescale Semiconductor -# Released under the MIT license (see COPYING.MIT for the terms) - -require libfslparser.inc - -SRC_URI[md5sum] = "9538df4dc416e12ff13fdf12ddbf3684" -SRC_URI[sha256sum] = "a04621783c84a9776216caff9563c7f840fddd584b0b2d27738d6ca6d2c77f32" - -COMPATIBLE_MACHINE = "(mx6|mx6ul|mx7)" -- cgit v1.2.3-54-g00ecf