From: Bastian Stender <bst@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: David Jander <david@protonic.nl>
Subject: [ptxdist] [PATCH 2/2] python3-pyalsaaudio: new package
Date: Mon, 29 Jan 2018 16:58:11 +0100 [thread overview]
Message-ID: <20180129155811.16301-2-bst@pengutronix.de> (raw)
In-Reply-To: <20180129155811.16301-1-bst@pengutronix.de>
From: David Jander <david@protonic.nl>
Signed-off-by: David Jander <david@protonic.nl>
---
rules/python3-pyalsaaudio.in | 11 +++++++++
rules/python3-pyalsaaudio.make | 54 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+)
create mode 100644 rules/python3-pyalsaaudio.in
create mode 100644 rules/python3-pyalsaaudio.make
diff --git a/rules/python3-pyalsaaudio.in b/rules/python3-pyalsaaudio.in
new file mode 100644
index 000000000..a3c3b4454
--- /dev/null
+++ b/rules/python3-pyalsaaudio.in
@@ -0,0 +1,11 @@
+## SECTION=python3
+
+config PYTHON3_PYALSAAUDIO
+ tristate
+ prompt "python3-pyalsaaudio"
+ select PYTHON3
+ select ALSA_LIB
+ select ALSA_LIB_FULL
+ help
+ Wrappers for accessing the ALSA API from Python. Fairly complete for
+ PCM devices and mixer access.
diff --git a/rules/python3-pyalsaaudio.make b/rules/python3-pyalsaaudio.make
new file mode 100644
index 000000000..e00df51f1
--- /dev/null
+++ b/rules/python3-pyalsaaudio.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by David Jander <david@protonic.nl>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PYTHON3_PYALSAAUDIO) += python3-pyalsaaudio
+
+#
+# Paths and names
+#
+PYTHON3_PYALSAAUDIO_VERSION := 0.8.4
+PYTHON3_PYALSAAUDIO_MD5 := b46f69561bc85fc52e698b2440ca251e
+PYTHON3_PYALSAAUDIO := python3-pyalsaaudio-$(PYTHON3_PYALSAAUDIO_VERSION)
+PYTHON3_PYALSAAUDIO_SUFFIX := tar.gz
+PYTHON3_PYALSAAUDIO_URL := https://pypi.python.org/packages/52/b6/44871791929d9d7e11325af0b7be711388dfeeab17147988f044a41a6d83/pyalsaaudio-$(PYTHON3_PYALSAAUDIO_VERSION).$(PYTHON3_PYALSAAUDIO_SUFFIX)
+PYTHON3_PYALSAAUDIO_SOURCE := $(SRCDIR)/$(PYTHON3_PYALSAAUDIO).$(PYTHON3_PYALSAAUDIO_SUFFIX)
+PYTHON3_PYALSAAUDIO_DIR := $(BUILDDIR)/$(PYTHON3_PYALSAAUDIO)
+PYTHON3_PYALSAAUDIO_LICENSE := PSF
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PYTHON3_PYALSAAUDIO_CONF_TOOL := python3
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/python3-pyalsaaudio.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, python3-pyalsaaudio)
+ @$(call install_fixup, python3-pyalsaaudio, PRIORITY, optional)
+ @$(call install_fixup, python3-pyalsaaudio, SECTION, base)
+ @$(call install_fixup, python3-pyalsaaudio, AUTHOR, "David Jander <david@protonic.nl>")
+ @$(call install_fixup, python3-pyalsaaudio, DESCRIPTION, missing)
+
+ @$(call install_glob, python3-pyalsaaudio, 0, 0, -, \
+ /usr/lib/python$(PYTHON3_MAJORMINOR)/site-packages,, alsaaudio*.so)
+
+ @$(call install_finish, python3-pyalsaaudio)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.15.1
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
prev parent reply other threads:[~2018-01-29 15:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-29 15:58 [ptxdist] [PATCH 1/2] python3-ply: " Bastian Stender
2018-01-29 15:58 ` Bastian Stender [this message]
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=20180129155811.16301-2-bst@pengutronix.de \
--to=bst@pengutronix.de \
--cc=david@protonic.nl \
--cc=ptxdist@pengutronix.de \
/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