aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-pyo/portaudio-only.patch
blob: 1a12a937d691153d5bf30c3489cbb15210ef16a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ruN a/setup.py b/setup.py
--- a/setup.py	2017-08-29 21:04:01.704564192 +0200
+++ b/setup.py	2017-08-29 21:04:30.369416183 +0200
@@ -99,7 +99,9 @@
 if '--minimal' in sys.argv:
     minimal_build = True
     sys.argv.remove('--minimal') 
-    libraries = []
+    macros.append(('USE_PORTAUDIO', None))
+    ad_files.append("ad_portaudio.c")
+    libraries = ["portaudio"]
 else:
     minimal_build = False
     # portaudio