package/python-pyalsa: new package

Official ALSA Python binding, including hardware management, mixer and
sequencer control.

http://www.alsa-project.org/

Signed-off-by: Julien Olivain <juju@cotds.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Julien Olivain 2020-01-04 16:59:02 +01:00 committed by Thomas Petazzoni
parent 0f430f0062
commit 7e87bb6261
5 changed files with 34 additions and 0 deletions

View File

@ -1447,6 +1447,7 @@ F: package/fluid-soundfont/
F: package/fluidsynth/
F: package/glslsandbox-player/
F: package/ptm2human/
F: package/python-pyalsa/
N: Julien Viard de Galbert <julien@vdg.name>
F: package/dieharder/

View File

@ -1066,6 +1066,7 @@ menu "External python modules"
source "package/python-pudb/Config.in"
source "package/python-py/Config.in"
source "package/python-pyaes/Config.in"
source "package/python-pyalsa/Config.in"
source "package/python-pyasn/Config.in"
source "package/python-pyasn1/Config.in"
source "package/python-pyasn1-modules/Config.in"

View File

@ -0,0 +1,16 @@
config BR2_PACKAGE_PYTHON_PYALSA
bool "python-pyalsa"
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_ALSA_LIB
select BR2_PACKAGE_ALSA_LIB_HWDEP
select BR2_PACKAGE_ALSA_LIB_MIXER
select BR2_PACKAGE_ALSA_LIB_RAWMIDI
select BR2_PACKAGE_ALSA_LIB_SEQ
help
Official ALSA Python binding, including hardware
management, mixer and sequencer control.
http://www.alsa-project.org/
comment "python-pyalsa needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View File

@ -0,0 +1,2 @@
# Locally computed
sha256 2771291a5d2cf700f0abbe6629ea37468d1463a01b2330d84ef976e1e918676c pyalsa-1.1.6.tar.bz2

View File

@ -0,0 +1,14 @@
################################################################################
#
# python-pyalsa
#
################################################################################
PYTHON_PYALSA_VERSION = 1.1.6
PYTHON_PYALSA_SOURCE = pyalsa-$(PYTHON_PYALSA_VERSION).tar.bz2
PYTHON_PYALSA_SITE = ftp://ftp.alsa-project.org/pub/pyalsa
PYTHON_PYALSA_SETUP_TYPE = distutils
PYTHON_PYALSA_LICENSE = LGPL-2.1+
PYTHON_PYALSA_DEPENDENCIES = alsa-lib
$(eval $(python-package))