[Buildroot] [git commit] python-alsaaudio: new package

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Dec 7 22:11:37 UTC 2014


commit: http://git.buildroot.net/buildroot/commit/?id=2312af53747815527f41643a9d59eb074f2c4dae
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
Acked-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at free-electrons.com>
---
 package/Config.in                              |    1 +
 package/python-alsaaudio/Config.in             |   12 ++++++++++++
 package/python-alsaaudio/python-alsaaudio.hash |    2 ++
 package/python-alsaaudio/python-alsaaudio.mk   |   15 +++++++++++++++
 4 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 4f0c1ee..1ebf853 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -483,6 +483,7 @@ endif
 	source "package/python3/Config.in"
 if BR2_PACKAGE_PYTHON || BR2_PACKAGE_PYTHON3
 menu "external python modules"
+	source "package/python-alsaaudio/Config.in"
 	source "package/python-bottle/Config.in"
 	source "package/python-certifi/Config.in"
 	source "package/python-cffi/Config.in"
diff --git a/package/python-alsaaudio/Config.in b/package/python-alsaaudio/Config.in
new file mode 100644
index 0000000..c9a91c9
--- /dev/null
+++ b/package/python-alsaaudio/Config.in
@@ -0,0 +1,12 @@
+comment "python-alsaaudio needs a toolchain w/ threads"
+	depends on !BR2_TOOLCHAIN_HAS_THREADS
+
+config BR2_PACKAGE_PYTHON_ALSAAUDIO
+	bool "python-alsaaudio"
+	depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
+	select BR2_PACKAGE_ALSA_LIB
+	help
+	  The PyAlsaAudio package contains bindings for the ALSA sound
+	  API.
+
+	  http://pyalsaaudio.sourceforge.net/
diff --git a/package/python-alsaaudio/python-alsaaudio.hash b/package/python-alsaaudio/python-alsaaudio.hash
new file mode 100644
index 0000000..d805710
--- /dev/null
+++ b/package/python-alsaaudio/python-alsaaudio.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256	bbd5a9eb351def673800707f48e64680685f397e29da72ea4c9355e1a2b2a0fd  pyalsaaudio-0.7.tar.gz
diff --git a/package/python-alsaaudio/python-alsaaudio.mk b/package/python-alsaaudio/python-alsaaudio.mk
new file mode 100644
index 0000000..e64ddb4
--- /dev/null
+++ b/package/python-alsaaudio/python-alsaaudio.mk
@@ -0,0 +1,15 @@
+################################################################################
+#
+# python-alsaaudio
+#
+################################################################################
+
+PYTHON_ALSAAUDIO_VERSION = 0.7
+PYTHON_ALSAAUDIO_SOURCE = pyalsaaudio-$(PYTHON_ALSAAUDIO_VERSION).tar.gz
+PYTHON_ALSAAUDIO_SITE = http://downloads.sourceforge.net/project/pyalsaaudio
+PYTHON_ALSAAUDIO_SETUP_TYPE = distutils
+PYTHON_ALSAAUDIO_LICENSE = Python software foundation license v2
+PYTHON_ALSAAUDIO_LICENSE_FILES = LICENSE
+PYTHON_ALSAAUDIO_DEPENDENCIES = alsa-lib
+
+$(eval $(python-package))


More information about the buildroot mailing list