From 3292f5524bc7f4777c74186bf8c51f90bee6fc2d Mon Sep 17 00:00:00 2001 From: Ricardo Crudo Date: Sat, 1 Nov 2014 13:32:16 -0200 Subject: Packages/audio: New alsa-lib v1.0.28 Signed-off-by: Ricardo Crudo --- packages/audio/alsa-lib/alsa-lib.kconfig | 49 ++++++++++++++++++++++++++++++++ packages/audio/alsa-lib/alsa-lib.mk | 39 +++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 packages/audio/alsa-lib/alsa-lib.kconfig create mode 100644 packages/audio/alsa-lib/alsa-lib.mk (limited to 'packages') diff --git a/packages/audio/alsa-lib/alsa-lib.kconfig b/packages/audio/alsa-lib/alsa-lib.kconfig new file mode 100644 index 0000000..4f2c379 --- /dev/null +++ b/packages/audio/alsa-lib/alsa-lib.kconfig @@ -0,0 +1,49 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################ +# +# \file alsa-lib.kconfig +# \brief alsa-lib.kconfig of Embtoolkit. +# \author Ricardo Crudo +# \date Nov 2014 +################################################################################ + +config EMBTK_HAVE_ALSA-LIB + bool "Have alsa-lib" + help + The Advanced Linux Sound Architecture (ALSA) provides audio + and MIDI functionality to the Linux operating system. + The User space library (alsa-lib) is used to simplify application + programming and provide higher level functionality. + +choice + prompt "alsa-lib version to use" + depends on EMBTK_HAVE_ALSA-LIB + help + alsa-lib version to use + + config EMBTK_ALSA-LIB_VERSION_1_0_28 + bool "alsa-lib-1.0.28" +endchoice + +config EMBTK_ALSA-LIB_VERSION_STRING + string + default "1.0.28" if EMBTK_ALSA-LIB_VERSION_1_0_28 + +config EMBTK_ALSA-LIB_NEED_PATCH + bool diff --git a/packages/audio/alsa-lib/alsa-lib.mk b/packages/audio/alsa-lib/alsa-lib.mk new file mode 100644 index 0000000..95a4087 --- /dev/null +++ b/packages/audio/alsa-lib/alsa-lib.mk @@ -0,0 +1,39 @@ +################################################################################ +# Embtoolkit +# Copyright(C) 2009-2014 Abdoulaye Walsimou GAYE. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# +################################################################################ +# +# \file alsa-lib.mk +# \brief alsa-lib.mk of Embtoolkit. +# \author Ricardo Crudo +# \date Nov 2014 +################################################################################ + +ALSA-LIB_NAME := alsa-lib +ALSA-LIB_VERSION := $(call embtk_get_pkgversion,alsa-lib) +ALSA-LIB_SITE := ftp://ftp.alsa-project.org/pub/lib +ALSA-LIB_PACKAGE := alsa-lib-$(ALSA-LIB_VERSION).tar.bz2 +ALSA-LIB_SRC_DIR := $(embtk_pkgb)/alsa-lib-$(ALSA-LIB_VERSION) +ALSA-LIB_BUILD_DIR := $(embtk_pkgb)/alsa-lib-$(ALSA-LIB_VERSION) + +ALSA-LIB_BINS := aserver +ALSA-LIB_INCLUDES := alsa sys/asoundlib.h +ALSA-LIB_LIBS := alsa-lib libasound* +ALSA-LIB_PKGCONFIGS := alsa.pc +ALSA-LIB_SHARES := alsa aclocal/alsa.m4 + +ALSA-LIB_CONFIGURE_OPTS := --disable-python -- cgit v1.2.3