openbsd-ports/audio/py-audio/patches/patch-setup_py
fgsch 7c7c3ae450 Import py-audio-0.2.4.
PyAudio provides Python bindings for PortAudio, the cross-platform
audio I/O library. With PyAudio, you can easily use Python to play
and record audio on a variety of platforms.

input and ok martynas@
2011-07-30 06:46:37 +00:00

13 lines
463 B
Plaintext

$OpenBSD: patch-setup_py,v 1.1.1.1 2011/07/30 06:46:37 fgsch Exp $
--- setup.py.orig Mon Jul 25 08:48:37 2011
+++ setup.py Mon Jul 25 08:51:41 2011
@@ -56,7 +56,7 @@ portaudio_path = os.environ.get("PORTAUDIO_PATH", "./p
pyaudio_module_sources = ['src/_portaudiomodule.c']
-include_dirs = []
+include_dirs = [os.path.join(os.environ.get('LOCALBASE'), 'include'),]
external_libraries = []
extra_compile_args = ['-fno-strict-aliasing']
extra_link_args = []