From: Peter Korsgaard <peter@korsgaard.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] package: add python-alsaaudio
Date: Tue, 2 Dec 2014 23:56:44 +0100 [thread overview]
Message-ID: <1417561004-27170-1-git-send-email-peter@korsgaard.com> (raw)
Signed-off-by: Peter Korsgaard <peter@korsgaard.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(+)
create mode 100644 package/python-alsaaudio/Config.in
create mode 100644 package/python-alsaaudio/python-alsaaudio.hash
create mode 100644 package/python-alsaaudio/python-alsaaudio.mk
diff --git a/package/Config.in b/package/Config.in
index b8fc7d1..acf7b58 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))
--
2.1.3
next reply other threads:[~2014-12-02 22:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-02 22:56 Peter Korsgaard [this message]
2014-12-05 22:45 ` [Buildroot] [PATCH] package: add python-alsaaudio Thomas Petazzoni
2014-12-07 22:12 ` Thomas Petazzoni
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1417561004-27170-1-git-send-email-peter@korsgaard.com \
--to=peter@korsgaard.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox