Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147200918
D14199.id38868.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D14199.id38868.diff
View Options
Index: head/audio/Makefile
===================================================================
--- head/audio/Makefile
+++ head/audio/Makefile
@@ -680,6 +680,7 @@
SUBDIR += py-pysndfile
SUBDIR += py-shout
SUBDIR += py-soundcloud
+ SUBDIR += py-sounddevice
SUBDIR += py-soundscrape
SUBDIR += py-speechrecognition
SUBDIR += py-speex
Index: head/audio/py-sounddevice/Makefile
===================================================================
--- head/audio/py-sounddevice/Makefile
+++ head/audio/py-sounddevice/Makefile
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= sounddevice
+PORTVERSION= 0.3.10
+CATEGORIES= audio python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= yuri@FreeBSD.org
+COMMENT= Play and record sound through OSS in python programs
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.0.0:devel/py-cffi@${FLAVOR} \
+ ${PYNUMPY} \
+ portaudio>0:audio/portaudio
+
+USES= python
+USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+
+post-install: # workaround for https://github.com/spatialaudio/python-sounddevice/issues/116
+ @${GREP} "/sounddevice\." < ${_PYTHONPKGLIST} \
+ | ${SED} -e 's|/sounddevice\.|/_sounddevice.|' \
+ >> ${_PYTHONPKGLIST}
+
+.include <bsd.port.mk>
Index: head/audio/py-sounddevice/distinfo
===================================================================
--- head/audio/py-sounddevice/distinfo
+++ head/audio/py-sounddevice/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1516010801
+SHA256 (sounddevice-0.3.10.tar.gz) = 6a972db105b11a570b454c0b92b5d37ead46829ce71a278b148ec6479209ad9f
+SIZE (sounddevice-0.3.10.tar.gz) = 46411
Index: head/audio/py-sounddevice/pkg-descr
===================================================================
--- head/audio/py-sounddevice/pkg-descr
+++ head/audio/py-sounddevice/pkg-descr
@@ -0,0 +1,7 @@
+sounddevice provides bindings for the PortAudio library and a few convenience
+functions to play and record NumPy arrays containing audio signals.
+
+It is primarily intended for use in signal analysis software.
+PortAudio plays and records sound through the OSS audio interface.
+
+WWW: https://github.com/spatialaudio/python-sounddevice
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Mar 10, 1:54 AM (1 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29467947
Default Alt Text
D14199.id38868.diff (2 KB)
Attached To
Mode
D14199: New port: audio/py-sounddevice: Play and record sound through OSS in python programs
Attached
Detach File
Event Timeline
Log In to Comment