summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorRicardo Crudo <ricardo.crudo@gmail.com>2014-11-01 13:32:16 -0200
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2014-11-01 18:21:55 +0100
commit3292f5524bc7f4777c74186bf8c51f90bee6fc2d (patch)
tree0f71697949163ced4d653083bc0fe7336b12bf19 /packages
parent6540a52f3b50e178fef80a03c871384a05df49b8 (diff)
downloadembtoolkit-3292f5524bc7f4777c74186bf8c51f90bee6fc2d.tar.gz
embtoolkit-3292f5524bc7f4777c74186bf8c51f90bee6fc2d.tar.bz2
embtoolkit-3292f5524bc7f4777c74186bf8c51f90bee6fc2d.tar.xz
Packages/audio: New alsa-lib v1.0.28
Signed-off-by: Ricardo Crudo <ricardo.crudo@gmail.com>
Diffstat (limited to 'packages')
-rw-r--r--packages/audio/alsa-lib/alsa-lib.kconfig49
-rw-r--r--packages/audio/alsa-lib/alsa-lib.mk39
2 files changed, 88 insertions, 0 deletions
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 <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file alsa-lib.kconfig
+# \brief alsa-lib.kconfig of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \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 <http://www.gnu.org/licenses/>.
+#
+################################################################################
+#
+# \file alsa-lib.mk
+# \brief alsa-lib.mk of Embtoolkit.
+# \author Ricardo Crudo <ricardo.crudo@gmail.com>
+# \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