summaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb
Commit message (Collapse)AuthorAgeFilesLines
* imx-alsa-plugins: Set recipe name and PV properlyTom Hochstein2022-03-151-36/+0
| | | | | | | The recipe allows SRCREV to change while the version stays at 1.0.26, so change the recipe version to git and set PV based on the SRCREV. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin2022-03-031-1/+1
| | | | | | | | | | | | Since OE-Core commit 9379f80f48 ("license/insane: Show warning for obsolete license usage"), LICENSE field not containing SPDX identifiers are treated with WARNING. An automated conversion using scripts/contrib/convert-spdx-licenses.py to convert to use the standard SPDX license identifiers has been done on the entire layer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* layer: Convert to new override syntaxKhem Raj2021-08-121-7/+7
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-alsa-plugins: update to commit cde60d6Max Krummenacher2019-12-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | With the change to linux-imx-headers 4.19.35 the build of imx-alsa-plugins fails. Likely "linux/mxc_asrc.h" would require an include. In the latest sources this is done in the source file which includes it. | /workdir/oe/tmp/work/aarch64-mx8-tdx-linux/imx-alsa-plugins/1.0.26-r0/recipe-sysroot/usr/include/imx/linux/mxc_asrc.h:125:2: error: unknown type name 'snd_pcm_format_t' | 125 | snd_pcm_format_t input_format; ff. From the imx-alsa-plugins commit: Include latest asrc_pair change for k4.14 build [YOCIMX-3558] asrc_pair: update according to latest mxc_asrc.h The mxc_asrc.h is updated for supporting new module on 815. The main change is the xxx_word_width is replaced by xxx_format. As we've switched to use git fork build, change recipe PV to 'git'. Will upstream this recipe to community later. Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-alsa-plugins: Add support for i.MX 6SLL and all 8Tom Hochstein2019-02-281-1/+2
| | | | | | | Also simplify i.MX 6 and 7 configuration logic since alsa is supported by all i.MX 6 and 7. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* classes/use-imx-headers: Easy linux-imx-headers useOtavio Salvador2018-10-261-4/+3
| | | | | | | | | | | | | | | | | | | | | This allow to easy reuse of binary packages among similar SoCs. The usual use for this is to share SoC specific packages among different boards independently of the kernel version it is using, as far it is ABI compatible with the official version it will just work. Following recipes has been reworked to make use of the class: - imx-lib - imx-test - imx-vpu-hantro - imx-vpu - imx-alsa-plugins - gstreamer1.0-plugins-base - gstreamer1.0-plugins-imx - imx-gst1.0-plugin Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-alsa-plugins: Replace kernel dependence with linux-imx-headersTom Hochstein2018-10-261-5/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-alsa-plugins: Make imx7ulp a compatible machineDaiane Angolini2018-08-301-1/+1
| | | | | | | | | | | | | | | | | | | | | >From [1] we know the imx-alsa-plugins_1.0.26 does support all imx7, and it is defined in the BSP as MACHINE_EXTRA_RRECOMMENDS, so this patch add imx7ulp as compatible. It also fixes the following error (when building for imx7ulpevk): ERROR: Nothing RPROVIDES 'imx-alsa-plugins' (but /home/daiane/code/yocto/master/sources/poky/meta/recipes-core/images/core-image-base.bb, /home/daiane/code/yocto/master/sources/poky/meta/recipes-core/packagegroups/packagegroup-base.bb RDEPENDS on or otherwise requires it) imx-alsa-plugins was skipped: incompatible with machine imx7ulpevk (not in COMPATIBLE_MACHINE) [1] https://source.codeaurora.org/external/imx/meta-fsl-bsp-release/tree/imx/meta-bsp/recipes-multimedia/alsa/imx-alsa-plugins_1.0.26.bb?h=rocko-4.9.88-2.0.0_ga Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-alsa-plugins: Change SRC_URI to point to gitDaiane Angolini2017-10-281-3/+5
| | | | | | | | | Change SRC_URI to point to git repo on Code Aurora as it mirrors the git.freescale.com. It also changes the working directory to reflect the git structure. Signed-off-by: Daiane Angolini <daiane.angolini@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-alsa-plugins: Add support for all mx6 and mx7 machinesFabio Berton2016-10-311-4/+2
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-alsa-plugins: Fix backward compatibility with fsl-alsa-pluginsOtavio Salvador2016-05-071-0/+1
| | | | | | | | The new recipe ought to remove the old one and provide the same recipe name. This ensures that old metadata is kept working. Change-Id: I8c385676aba2b452ac661e308a0aed3badb4f298 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-alsa-plugins: Upgrade to v1.0.26Yuqing Zhu2016-05-071-0/+38
--Change the recipe name from "fsl-alsa-plugins" to "imx-alsa-plugins" --Add RREPLACE/RPROVIDES/RCONFLICTS for backwards compatibility. --Remove 0001-asrc_pair-update-output-buffer-size.patch as it has been integrated into the package. Change-Id: Id533118f7edbaa560b7a5e8afce4842e9a0971eb Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>