python-simpleaudio: new package

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Yegor Yefremov 2016-09-22 10:07:25 +02:00 committed by Thomas Petazzoni
parent 0476e950ee
commit 2d56825c6f
4 changed files with 32 additions and 0 deletions

View file

@ -769,6 +769,7 @@ menu "External python modules"
source "package/python-setproctitle/Config.in"
source "package/python-setuptools/Config.in"
source "package/python-shutilwhich/Config.in"
source "package/python-simpleaudio/Config.in"
source "package/python-simplejson/Config.in"
source "package/python-singledispatch/Config.in"
source "package/python-sip/Config.in"

View file

@ -0,0 +1,13 @@
config BR2_PACKAGE_PYTHON_SIMPLEAUDIO
bool "python-simpleaudio"
depends on BR2_PACKAGE_PYTHON3
depends on BR2_TOOLCHAIN_HAS_THREADS # alsa-lib
select BR2_PACKAGE_ALSA_LIB
help
The simplaudio package provides cross-platform, dependency-free
audio playback capability for Python 3 on OSX, Windows, and Linux.
https://github.com/hamiltron/py-simple-audio
comment "python-simpleaudio needs a toolchain w/ threads"
depends on !BR2_TOOLCHAIN_HAS_THREADS

View file

@ -0,0 +1,3 @@
# md5 from https://pypi.python.org/pypi/simpleaudio/json, sha256 locally computed
md5 8c1c82fdf7ebba1a79b1243651e451d7 simpleaudio-1.0.1.tar.gz
sha256 6cc84d50d8192c074505c719722138ae6ea987fd8eee7fd930237cb308962604 simpleaudio-1.0.1.tar.gz

View file

@ -0,0 +1,15 @@
#############################################################
#
# python-simpleaudio
#
#############################################################
PYTHON_SIMPLEAUDIO_VERSION = 1.0.1
PYTHON_SIMPLEAUDIO_SOURCE = simpleaudio-$(PYTHON_SIMPLEAUDIO_VERSION).tar.gz
PYTHON_SIMPLEAUDIO_SITE = https://pypi.python.org/packages/12/f6/327c1af94062a6a6a5ff06dcf9dc689ed81aa07ae757cca3438c3c9e50fe
PYTHON_SIMPLEAUDIO_LICENSE = MIT
PYTHON_SIMPLEAUDIO_LICENSE_FILES = LICENSE.txt
PYTHON_SIMPLEAUDIO_SETUP_TYPE = setuptools
PYTHON_SIMPLEAUDIO_DEPENDENCIES = alsa-lib
$(eval $(python-package))