aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/alsa
AgeCommit message (Collapse)Author
2015-07-31alsa-utils: assume the alsa storing is success if machine has no sound cardRoy Li
Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-07-16alsa-plugins, pulseaudio: depend on speexdsp, not speexTanu Kaskinen
Speexdsp was split off from speex, and alsa-plugins and pulseaudio only depend on the speexdsp library. alsa-plugins needs also a patch, because it has so far relied on speex_types.h, which was renamed to speexdsp_types.h when speexdsp was split off, to not collide with the file that is included in speex. (From OE-Core rev: 4ee8f0dd4e9cb493d074c762bf6ff7169bcf3466) Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-06-08alsa-tools: add dependency glib-2.0Kai Kang
Add dependency glib-2.0 for alsa-tools. It is required by new added sub-component hdajacksensetest. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-08alsa-plugins: enable alsa-plugins-pulseaudio-conf conditionallyTanu Kaskinen
If pulseaudio isn't enabled, the alsa-plugins-pulseaudio-conf package is unnecessary. This change fixes these warnings, when pulseaudio isn't enabled: WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-conf-pulse, but it isn't a build dependency? [build-deps] WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-ctl-pulse, but it isn't a build dependency? [build-deps] WARNING: QA Issue: alsa-plugins-pulseaudio-conf rdepends on libasound-module-pcm-pulse, but it isn't a build dependency? [build-deps] Reported-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-06-03alsa-plugins: Include missing sys/select.hKhem Raj
This is exposed by musl where indirect include does not happen Signed-off-by: Khem Raj <raj.khem@gmail.com>
2015-05-30alsa-plugins: Install 99-pulseaudio-default.conf when pulseaudio is enabledKhem Raj
The source file does not exist when pluseaudio is disabled Change-Id: I78e0b9f4b8e66d8f41415c8672c1cb62c8fc5dc6 Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-30alsa-tools: update makefile_no_gtk.patchKai Kang
makefile_no_gtk.patch will be applied when no 'x11' in distro features. It fails to apply after update to version 1.0.29. Fix it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-24alsa-plugins: initial recipeTanu Kaskinen
When PulseAudio is installed, alsa-plugins is needed to provide compatibility for ALSA applications. The dependencies are set up so that pulseaudio-server depends on alsa-plugins-pulseaudio-conf, and alsa-plugins-pulseaudio-conf depends on the PulseAudio plugins. This should make the ALSA->PulseAudio compatibility configuration work out of the box, while leaving the PulseAudio specific configuration out on systems that don't have pulseaudio-server installed. The alsa-plugins recipes in meta-guacamayo and meta-webos were used as references, but this recipe is not a straight copy of either. Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20alsa-utils: upgrade to 1.0.29Kai Kang
Upgrade alsa-utils from 1.0.28 to 1.0.29. * remove PR * rename package alsa-utils-alsaconf to alsa-utils-scripts, and add script alsa-info.sh Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-20alsa-tools: upgrade to version 1.0.29Kai Kang
Upgrade alsa-tools from verion 1.0.28 to 1.0.29. * update autotools.patch * add file gitcompile which exists in git repo but missing in release tar ball for sub-directory hdajacksensetest Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-05-14alsa-tools: set CLEANBROKENRobert Yang
Fixed: make[1]: Entering directory `alsa-tools-1.0.28/envy24control' make[1]: *** No rule to make target `clean'. Stop. There is no "make clean" in envy24control when DISTRO_FEATURES is changed from no-x11 to x11. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
2015-04-28alsa-utils: Remove double dependency on udevMike Looijmans
"udev" is already added when PACKAGECONFIG includes it, so it should not be in the DEPENDS list on itself. This caused udev to be built for systems that don't use it. Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-04-24alsa-lib: 1.0.28 -> 1.0.29Tanu Kaskinen
Release notes: http://alsa-project.org/main/index.php/Changes_v1.0.28_v1.0.29 Dropped the backported patches. Dropped also fix-tstamp-declaration.patch. It's unclear whether the ancient patch is needed by anyone any more. The original commit message[1] wasn't very clear on what specific conditions triggered the build failure that the patch fixes, so it's hard to try to reproduce the failure. [1] http://cgit.openembedded.org/openembedded/commit/?id=f61f3efe2389249c001107ccd55dac39e79ef2a1 Signed-off-by: Tanu Kaskinen <tanu.kaskinen@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-01-16alsa-utils: fix B != SRobert Yang
And bump the PR to avoid: configure: error: source directory already configured; run "make distclean" there first Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2014-09-29alsa-utils: interrupt streaming via signalMuzaffar Mahmood
aplay/arecord (alsa-utils v1.0.28) cannot interrupt streaming via CTRL-C. Fixed the issue by reverting buggy patches and properly handling 'in_aborting' flag in appropriate functions. Signed-off-by: Anant Agrawal <Anant_Agrawal@mentor.com> Signed-off-by: Mikhail Durnev <mikhail_durnev@mentor.com> Signed-off-by: Muzaffar Mahmood <muzaffar_mahmood@mentor.com>
2014-09-10alsa-utils: hard-code alsa-utils in SRC_URIRichard Purdie
This recipe is used by alsa-utils-alsaconf so don't use ${BP} in the SRC_URI. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-10alsa-utils: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated. (From OE-Core rev: 5a3331b7ee8bb565ebb3823fc23123120ccd653d) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03alsa-lib: libasound should runtime depends on alsa-confZidan Wang
Make libasound runtime depends on alsa-conf to install alsa-conf to rootfs. Signed-off-by: Zidan Wang <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-utils: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 0001-alsactl-don-t-let-systemd-unit-restore-the-volume-wh.patch updated. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-tools: upgrade to 1.0.28Cristian Iorga
mips_has_no_io_h.patch removed, no longer necessary. Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-31alsa-lib: upgrade to 1.0.28Cristian Iorga
Changelog: http://www.alsa-project.org/main/index.php/Changes_v1.0.27.2_v1.0.28 Update-iatomic.h-functions-definitions-for-mips.patch removed, integrated upstream. Check-if-wordexp-function-is-supported.patch updated. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: pcm_local.h: include <time.h> to enable CLOCK_MONOTONICWang Zidan
CLOCK_MONITONIC is defined in <bits/time.h>, add <time.h> before <sys/time.h>. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: fix hw_ptr exceed the boundaryWang Zidan
For long time test case, the hw_ptr will exceed the boundary, then cause the avail size wrong. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-06alsa-lib: use get32_labels for multi-sourceWang Zidan
The PCM route plugin can assign the destination value from average of multiple sources with attenuation. This requires the read of each channel value, sums and writes the resultant value in the requested format. get_labels gives the value as is only with endianness and signedness conversions, but put32_labels assumes that the value is normalized to 32bit int and it shifts down to the dest format. In addition, the current code lacks get_labels entries for the 24bit formats. For fixing these bugs, this patch replaces the read with get32_labels and use always 64bit int for sum. Signed-off-by: Wang Zidan <b50113@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-02alsa-lib: Add upgrade path for alsa-devJackie Huang
Previous commit removed non PN based -dev packages but lack of upgrade path for alsa-dev. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-07-25alsa-lib: remove non PN based -dev packagesJackie Huang
All dev related items should be packaged in the core PN-dev package not in seperate packages. Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-21alsa-tools: Disable use of GTK+ when not using X11Otavio Salvador
The GTK+3 does not provide support for DirectFB backend so we cannot enable GTK+ features of alsa-tools in this case; GTK+2 does not provide support for Wayland. This patch changes GTK+ support to be enabled only when X11 support is enabled. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-16alsa-utils-native: add missing dep for xmltoHongxu Jia
Add docbook-xml-dtd4-native and docbook-xsl-stylesheets-native to PACKAGECONFIG[xmlto]'s dep. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-07-10alsa-utils: add PACKAGECONFIG for xmltoHongxu Jia
Support xmlto for documentation generation and disable it by default. [YOCTO #2416] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-06-14alsa-tools: Add missing pkgconfg dependencyRichard Purdie
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-03recipes: Add missing pkgconfig class inheritsRichard Purdie
These recipes all use pkg-config in some way but were missing dependencies on the tool, this patch adds them. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-30alsa-tools: Enable GTK support for X11, Wayland and DirectFBOtavio Salvador
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-25Globally replace 'base_contains' calls with 'bb.utils.contains'Otavio Salvador
The base_contains is kept as a compatibility method and we ought to not use it in OE-Core so we can remove it from base metadata in future. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-04-04alsa-tools: Fix build without x11Otavio Salvador
The patch had some new tool (hdajackretask) missing which were triggering build failures in O.S. Systems' builder as: ,----[ Build error in a clean tmp, without x11 ] | checking for GTK3... no | configure: error: Package requirements (gtk+-3.0) were not met: | | No package 'gtk+-3.0' found | | Consider adjusting the PKG_CONFIG_PATH environment variable if you | installed software in a non-standard prefix. | | Alternatively, you may set the environment variables GTK3_CFLAGS | and GTK3_LIBS to avoid the need to call pkg-config. | See the pkg-config man page for more details. | make: *** [all] Error 1 `---- Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-21alsa-tools: fix build when x11 and gtk+ not availableSimone Agresta
Updated patch to work with alsa-tools version 1.0.27 Signed-off-by: Simone Agresta <simone.agresta@bticino.it> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-19alsa-tools: fix build when x11 and gtk+ not availableSimone Agresta
Updated patch to work with alsa-tools version 1.0.27 Signed-off-by: Simone Agresta <simone.agresta@bticino.it> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-17alsa-tools: update to version 1.0.27Kai Kang
Update alsa-tools to latest version 1.0.27: * remove PR * update autotools.patch * add build dependency gkt+3 that hdajackretask requires it. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-03-05alsa-tools/autotools: Ensure that aclocal files can be present with ↵Richard Purdie
AUTOTOOLS_COPYACLOCAL variable Introduce a AUTOTOOLS_COPYACLOCAL variable which forces the copy of the aclocal files even when a configure.ac/.in file isn't present. Use this new feature in alsa-tools. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-02-28autotools-brokensep: Mark recipes with broken separate build dir supportRichard Purdie
This patch goes through the OE-Core recipes and marks those which use autotools but don't support a separate build directory (${S} != ${B}). A new class, autotools-brokensep is used for this purpose. This doesn't introduce any change in behaviour in its own right. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-28alsa-utils: Add PACKAGECONFIG for udevPhil Blundell
Commit b92a3e9d093bc9421aa38a40bc6bfd559a16b3be introduced a dependency on udev, which is undesirable for distros which don't otherwise require or build udev (and, as such, don't have any interest in the rules.d files). Make this conditional on a PACKAGECONFIG setting so that it can be turned off. If it's off, we don't depend on udev and don't ship the rules. Signed-off-by: Phil Blundell <pb@pbcl.net> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2014-01-16alsa-lib: remove hard-coded /usr/include in dev packageAndrew McDermott
Specify the location of the alsa headers using ${includedir}. Without this no headers get added to the image when the alsa-lib-dev package is included. Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-14alsa-tools: fix the AUTOMAKE_DIRRobert Yang
There should be only one automake under the STAGING_DATADIR_NATIVE in theory, but der_steffi@gmx.de has reported an odd problem which seemed like that there are more than one. However, the "automake --print-libdir" is the regular way to locate automake libdir. [YOCTO #5706] Reported-by: der_steffi@gmx.de Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-02alsa-utils: add missing individual package SUMMARY valuesPaul Eggleton
Add some SUMMARY values for individual packages that did not already have their own (alsa-utils-iecset, alsa-utils-aseqdump and alsa-utils-alsaloop). Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-01-02Replace one-line DESCRIPTION with SUMMARYPaul Eggleton
A lot of our recipes had short one-line DESCRIPTION values and no SUMMARY value set. In this case it's much better to just set SUMMARY since DESCRIPTION is defaulted from SUMMARY anyway and then the SUMMARY is at least useful. I also took the opportunity to fix up a lot of the new SUMMARY values, making them concisely explain the function of the recipe / package where possible. Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2014-01-02alsa-lib: remove unrecognised optionsRobert Yang
Remove --with-cards and --with-oss, they are never in alsa-lib, but in alsa-driver, and the --with-cards had also been dropped from alsa-driver. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2013-12-03alsa-utils-alsaconf: tidy up path settingPaul Eggleton
* Set FILESEXTRAPATHS instead of FILESPATH * Don't set THISDIR, it's already set by base.bbclass Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-26alsa-lib: fix function definitions error for mipsKai Kang
Functions atomic_add(s) and atomic_sub(s) are defined with 'extern __inline__' that may cause compile fails when cross compile for mips. The error message looks like: | pcm/.libs/libpcm.a(pcm_meter.o): In function `snd_pcm_meter_update_scope': | .../alsa-lib-1.0.27.2/src/pcm/pcm_meter.c:139: undefined reference to `atomic_sub' Replace the 'extern __inline__' with 'static __inline__' to fix this issue. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-02alsa-utils: upgrade to 1.0.27.2Cristian Iorga
obsolete_automake_macros.patch, uclibc-exp10-replacement.patch patches removed; included in upstream. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-08-02alsa-lib: upgrade to v1.0.27.2Cristian Iorga
fix-O0-Optimize-unable-inline-function.patch, obsolete_automake_macros.patch patches included in upstream; removed. unbreak_plugindir.patch not used, removed. Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-06-27alsa-tools: Pass ACLOCAL_FLAGS so aclocal uses the right paramsOtavio Salvador
The compile step ends regenerating the configure scripts included in the source subdirs, for it to properly work we need to pass the ACLOCAL_FLAGS or the .m4 files won't be found. ,----[ Build error ] | ./ac3dec | aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' | configure.in:18: warning: macro 'AM_PATH_ALSA' not found in library | automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' | configure.in:9: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: | configure.in:9: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_INIT_AUTOMAKE-invocation | automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' | test/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') | configure.in:18: error: possibly undefined macro: AM_PATH_ALSA | If this token and others are legitimate, please use m4_pattern_allow. | See the Autoconf documentation. | make: *** [all] Error 1 | ERROR: oe_runmake failed `---- Reported-by: Rogerio Nunes <rogerio.nunes@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Saul Wold <sgw@linux.intel.com>