diff options
| author | Flora Hu <flora.hu@nxp.com> | 2026-07-22 17:27:16 +0800 |
|---|---|---|
| committer | Flora Hu <flora.hu@nxp.com> | 2026-07-27 15:52:15 +0800 |
| commit | a17a1c19bcd8e14a1b9c3266474ef41ee45ea4ed (patch) | |
| tree | 9531cd9493823538615e3afdcb9dac469c01dee1 | |
| parent | 3da6f48a071522354ecef75579b306f3f2699994 (diff) | |
| download | meta-freescale-a17a1c19bcd8e14a1b9c3266474ef41ee45ea4ed.tar.gz | |
imx-parser: Bump 4.10.3 -> 4.11.0, migrate to git source, add imx-mp4-parser
Switch build system from autotools to meson
Relicense from LicenseRef-Proprietary to BSD-3-Clause
Add new imx-mp4-parser recipe (BSD-3-Clause, depends on imx-parser)
Signed-off-by: Flora Hu <flora.hu@nxp.com>
| -rw-r--r-- | recipes-multimedia/imx-parser/imx-mp4-parser_git.bb | 40 | ||||
| -rw-r--r-- | recipes-multimedia/imx-parser/imx-parser_git.bb (renamed from recipes-multimedia/imx-parser/imx-parser_4.10.3.bb) | 19 |
2 files changed, 51 insertions, 8 deletions
diff --git a/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb b/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb new file mode 100644 index 000000000..77d0674c5 --- /dev/null +++ b/recipes-multimedia/imx-parser/imx-mp4-parser_git.bb | |||
| @@ -0,0 +1,40 @@ | |||
| 1 | # Copyright 2026 NXP Semiconductors | ||
| 2 | DESCRIPTION = "i.MX MP4 multimedia parser libraries" | ||
| 3 | SECTION = "multimedia" | ||
| 4 | LICENSE = "BSD-3-Clause" | ||
| 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6f862c6751ebcaa393467694c7b0c69a" | ||
| 6 | |||
| 7 | inherit pkgconfig meson | ||
| 8 | |||
| 9 | PV = "4.11.0+git" | ||
| 10 | |||
| 11 | DEPENDS = "imx-parser" | ||
| 12 | |||
| 13 | SRCBRANCH = "MM_04.11.00_2605_L6.18.20" | ||
| 14 | IMXMP4PARSER_SRC ?= "git://github.com/nxp-imx/imx-mp4-parser.git;protocol=https" | ||
| 15 | SRC_URI = "${IMXMP4PARSER_SRC};branch=${SRCBRANCH}" | ||
| 16 | SRCREV = "549385967c668f4f43f4c1b58d15f583fceecbed" | ||
| 17 | |||
| 18 | # Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point | ||
| 19 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \ | ||
| 20 | bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d), d)}" | ||
| 21 | |||
| 22 | INHIBIT_PACKAGE_STRIP = "1" | ||
| 23 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
| 24 | |||
| 25 | python __set_insane_skip() { | ||
| 26 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
| 27 | # the source we cannot fix it. Disable the insane check for now. | ||
| 28 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
| 29 | for p in d.getVar('PACKAGES').split(): | ||
| 30 | d.setVar("INSANE_SKIP:%s" % p, "ldflags dev-so textrel buildpaths") | ||
| 31 | } | ||
| 32 | |||
| 33 | do_package_qa[prefuncs] += "__set_insane_skip" | ||
| 34 | |||
| 35 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
| 36 | FILES:${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" | ||
| 37 | |||
| 38 | INHIBIT_SYSROOT_STRIP = "1" | ||
| 39 | |||
| 40 | COMPATIBLE_MACHINE = "(imx-nxp-bsp)" | ||
diff --git a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb b/recipes-multimedia/imx-parser/imx-parser_git.bb index cdfa5306a..e4dba5f0c 100644 --- a/recipes-multimedia/imx-parser/imx-parser_4.10.3.bb +++ b/recipes-multimedia/imx-parser/imx-parser_git.bb | |||
| @@ -1,24 +1,27 @@ | |||
| 1 | # Copyright (C) 2012-2018 O.S. Systems Software LTDA. | 1 | # Copyright (C) 2012-2018 O.S. Systems Software LTDA. |
| 2 | # Copyright (C) 2012-2016 Freescale Semiconductor | 2 | # Copyright (C) 2012-2016 Freescale Semiconductor |
| 3 | # Copyright (C) 2017-2023 NXP | 3 | # Copyright (C) 2017-2023,2026 NXP |
| 4 | # Released under the MIT license (see COPYING.MIT for the terms) | 4 | # Released under the MIT license (see COPYING.MIT for the terms) |
| 5 | SUMMARY = "i.MX multimedia parser libraries" | 5 | SUMMARY = "i.MX multimedia parser libraries" |
| 6 | DESCRIPTION = "Freescale Multimedia parser libs" | 6 | DESCRIPTION = "Freescale Multimedia parser libs" |
| 7 | HOMEPAGE = "https://www.nxp.com/" | 7 | HOMEPAGE = "https://www.nxp.com/" |
| 8 | SECTION = "multimedia" | 8 | SECTION = "multimedia" |
| 9 | LICENSE = "LicenseRef-Proprietary" | 9 | LICENSE = "BSD-3-Clause" |
| 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=bc649096ad3928ec06a8713b8d787eac" | 10 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=6f862c6751ebcaa393467694c7b0c69a" |
| 11 | 11 | ||
| 12 | # For backwards compatibility | 12 | # For backwards compatibility |
| 13 | PROVIDES += "libfslparser" | 13 | PROVIDES += "libfslparser" |
| 14 | 14 | ||
| 15 | SRC_URI = "${FSL_MIRROR}/${BP}-${IMX_SRCREV_ABBREV}.bin;fsl-eula=true" | 15 | PV = "4.11.0+git" |
| 16 | IMX_SRCREV_ABBREV = "65603f3" | ||
| 17 | S = "${UNPACKDIR}/${BP}-${IMX_SRCREV_ABBREV}" | ||
| 18 | 16 | ||
| 19 | SRC_URI[sha256sum] = "03079bb0fa989dc50fadb66a0fcc7cf65423833c3def04085603d4b66e8f8c70" | 17 | SRCBRANCH = "MM_04.11.00_2605_L6.18.20" |
| 18 | IMXPARSER_SRC ?= "git://github.com/nxp-imx/imx-parser;protocol=https" | ||
| 19 | SRC_URI = "${IMXPARSER_SRC};branch=${SRCBRANCH}" | ||
| 20 | SRCREV = "302063af37c2edfabc9cec96516aefa9ed38bc2e" | ||
| 20 | 21 | ||
| 21 | inherit fsl-eula-unpack autotools pkgconfig | 22 | CFLAGS += "-Wno-error=pointer-to-int-cast -Wno-error=int-to-pointer-cast" |
| 23 | |||
| 24 | inherit pkgconfig meson | ||
| 22 | 25 | ||
| 23 | # Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point | 26 | # Choose between 32-bit and 64-bit binaries and between Soft Float-Point and Hard Float-Point |
| 24 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \ | 27 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'aarch64', '--enable-armv8', \ |
