1 |
radhermit 12/02/27 05:37:48 |
2 |
|
3 |
Added: csound-5.16.6-tests.patch |
4 |
csound-5.16.6-install.patch |
5 |
csound-5.16.6-scons.patch |
6 |
Log: |
7 |
Initial import. Ebuild by me. |
8 |
|
9 |
(Portage version: 2.2.0_alpha87/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.1 media-sound/csound/files/csound-5.16.6-tests.patch |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-tests.patch?rev=1.1&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-tests.patch?rev=1.1&content-type=text/plain |
16 |
|
17 |
Index: csound-5.16.6-tests.patch |
18 |
=================================================================== |
19 |
--- Csound5.16.6/tests/test.py.orig |
20 |
+++ Csound5.16.6/tests/test.py |
21 |
@@ -6,9 +6,6 @@ |
22 |
import os |
23 |
import sys |
24 |
|
25 |
-from testUI import TestApplication |
26 |
-from Tkinter import * |
27 |
- |
28 |
parserType = "--new-parser" |
29 |
showUIatClose = False |
30 |
csoundExecutable = "" |
31 |
@@ -104,8 +101,6 @@ |
32 |
] |
33 |
|
34 |
|
35 |
- output = "" |
36 |
- tempfile = "/tmp/csound_test_output.txt" |
37 |
counter = 1 |
38 |
|
39 |
retVals = [] |
40 |
@@ -124,7 +119,7 @@ |
41 |
retVal = os.system(command) |
42 |
else: |
43 |
executable = (csoundExecutable == "") and "../csound" or csoundExecutable |
44 |
- command = "%s %s %s %s &> %s"%(executable, parserType, runArgs, filename, tempfile) |
45 |
+ command = "%s %s %s %s"%(executable, parserType, runArgs, filename) |
46 |
retVal = os.system(command) |
47 |
|
48 |
print "Test %i: %s (%s)\nReturn Code: %i"%(counter, desc, filename, retVal) |
49 |
@@ -136,24 +131,6 @@ |
50 |
testFail += 1 |
51 |
print "Result: FAIL\n" |
52 |
|
53 |
- output += "%s\n"%("=" * 80) |
54 |
- output += "Test %i: %s (%s)\nReturn Code: %i\n"%(counter, desc, filename, retVal) |
55 |
- output += "%s\n\n"%("=" * 80) |
56 |
- |
57 |
- f = open(tempfile, "r") |
58 |
- |
59 |
- csOutput = "" |
60 |
- |
61 |
- for line in f: |
62 |
- csOutput += line |
63 |
- |
64 |
- output += csOutput |
65 |
- |
66 |
- f.close() |
67 |
- |
68 |
- retVals.append(t + [retVal, csOutput]) |
69 |
- |
70 |
- output += "\n\n" |
71 |
counter += 1 |
72 |
|
73 |
# print output |
74 |
@@ -162,12 +139,7 @@ |
75 |
print "Tests Passed: %i\nTests Failed: %i\n"%(testPass, testFail) |
76 |
|
77 |
|
78 |
- f = open("results.txt", "w") |
79 |
- f.write(output) |
80 |
- f.flush() |
81 |
- f.close() |
82 |
- |
83 |
- return retVals |
84 |
+ return testFail |
85 |
|
86 |
if __name__ == "__main__": |
87 |
if(len(sys.argv) > 1): |
88 |
@@ -176,6 +148,8 @@ |
89 |
showHelp() |
90 |
sys.exit(0) |
91 |
elif arg == "--show-ui": |
92 |
+ from testUI import TestApplication |
93 |
+ from Tkinter import * |
94 |
showUIatClose = True |
95 |
elif arg == "--old-parser": |
96 |
parserType = "--old-parser" |
97 |
@@ -185,6 +159,8 @@ |
98 |
elif arg.startswith("--opcodedir64="): |
99 |
os.environ['OPCODEDIR64'] = arg[14:] |
100 |
print os.environ['OPCODEDIR64'] |
101 |
- results = runTest() |
102 |
- if (showUIatClose): |
103 |
- showUI(results) |
104 |
+ failures = runTest() |
105 |
+ if failures > 0: |
106 |
+ sys.exit(1) |
107 |
+ else: |
108 |
+ sys.exit(0) |
109 |
|
110 |
|
111 |
|
112 |
1.1 media-sound/csound/files/csound-5.16.6-install.patch |
113 |
|
114 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-install.patch?rev=1.1&view=markup |
115 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-install.patch?rev=1.1&content-type=text/plain |
116 |
|
117 |
Index: csound-5.16.6-install.patch |
118 |
=================================================================== |
119 |
--- Csound5.16.6/install.py |
120 |
+++ Csound5.16.6/install.py |
121 |
@@ -29,8 +29,6 @@ |
122 |
|
123 |
exeFiles2 = ['brkpt', 'linseg', 'tabdes'] |
124 |
|
125 |
-docFiles = ['COPYING', 'ChangeLog', 'INSTALL', 'readme-csound5.txt'] |
126 |
- |
127 |
# ----------------------------------------------------------------------------- |
128 |
|
129 |
print 'Csound5 Linux installer by Istvan Varga' |
130 |
@@ -115,6 +113,8 @@ |
131 |
javaDir = concatPath([libDir, '/csound/java']) |
132 |
# LISP interface |
133 |
lispDir = concatPath([libDir, '/csound/lisp']) |
134 |
+# luaCsnd.so |
135 |
+luaDir = concatPath([libDir, '/csound/lua']) |
136 |
# STK raw wave files |
137 |
rawWaveDir = concatPath([prefix, '/share/csound/rawwaves']) |
138 |
|
139 |
@@ -214,37 +214,12 @@ |
140 |
if findFiles('.', 'libcsound64\\.so\\..+').__len__() > 0: |
141 |
useDouble = 1 |
142 |
|
143 |
-# check for an already existing installation |
144 |
- |
145 |
-makeDir(concatPath([binDir])) |
146 |
-installedBinaries = findFiles(concatPath([instDir, binDir]), '.+') |
147 |
-if ('csound' in installedBinaries) or ('csound64' in installedBinaries): |
148 |
- if 'uninstall-csound5' in installedBinaries: |
149 |
- print ' *** WARNING: found an already existing installation of Csound' |
150 |
- tmp = '' |
151 |
- while (tmp != 'yes\n') and (tmp != 'no\n'): |
152 |
- sys.__stderr__.write( |
153 |
- ' *** Uninstall it ? Type \'yes\', or \'no\' to quit: ') |
154 |
- tmp = sys.__stdin__.readline() |
155 |
- if tmp != 'yes\n': |
156 |
- print ' *** Csound installation has been aborted' |
157 |
- print '' |
158 |
- raise SystemExit(1) |
159 |
- print ' --- Removing old Csound installation...' |
160 |
- runCmd([concatPath([instDir, binDir, 'uninstall-csound5'])]) |
161 |
- print '' |
162 |
- else: |
163 |
- print ' *** Error: an already existing installation of Csound was found' |
164 |
- print ' *** Try removing it first, and then run this script again' |
165 |
- print '' |
166 |
- raise SystemExit(1) |
167 |
- |
168 |
# copy binaries |
169 |
|
170 |
print ' === Installing executables ===' |
171 |
for i in exeFiles1: |
172 |
if findFiles('.', i).__len__() > 0: |
173 |
- err = installXFile('--strip-unneeded', i, binDir) |
174 |
+ err = installXFile('', i, binDir) |
175 |
installErrors = installErrors or err |
176 |
for i in exeFiles2: |
177 |
if findFiles('.', i).__len__() > 0: |
178 |
@@ -265,7 +240,7 @@ |
179 |
if i[-2:] == '.a': |
180 |
err = installFile(i, libDir) |
181 |
else: |
182 |
- err = installXFile('--strip-debug', i, libDir) |
183 |
+ err = installXFile('', i, libDir) |
184 |
if err == 0: |
185 |
if i[:13] == 'libcsound.so.': |
186 |
err = installLink(i, concatPath([libDir, 'libcsound.so'])) |
187 |
@@ -292,7 +267,7 @@ |
188 |
if i in pluginList: |
189 |
pluginList.remove(i) |
190 |
for i in pluginList: |
191 |
- err = installXFile('--strip-unneeded', i, pluginDir) |
192 |
+ err = installXFile('', i, pluginDir) |
193 |
installErrors = installErrors or err |
194 |
|
195 |
# copy header files |
196 |
@@ -313,6 +288,7 @@ |
197 |
['_loris\\.so', '1', pythonDir2], |
198 |
['_scoregen\\.so', '1', pythonDir2], |
199 |
['_CsoundAC\\.so ', '1', pythonDir2], |
200 |
+ ['luaCsnd\\.so', '1', luaDir], |
201 |
['csnd\\.jar', '0', javaDir], |
202 |
['interfaces/csound5\\.lisp', '0', lispDir]] |
203 |
for i in wrapperList: |
204 |
@@ -322,48 +298,21 @@ |
205 |
if i[1] == '0': |
206 |
err = installFile(fName, i[2]) |
207 |
else: |
208 |
- err = installXFile('--strip-debug', fName, i[2]) |
209 |
- installErrors = installErrors or err |
210 |
- |
211 |
-# copy XMG files |
212 |
- |
213 |
-print ' === Installing Localisation files ===' |
214 |
-xmgList = findFiles('.', '.+\\.xmg') |
215 |
-if xmgList.__len__() > 0: |
216 |
- err = installFiles(xmgList, xmgDir) |
217 |
- installErrors = installErrors or err |
218 |
-else: |
219 |
- xmgList = ['de', 'en_GB','en_US', 'es_CO', 'fr', 'it','ro'] |
220 |
- for i in xmgList: |
221 |
- makeDir(concatPath([xmgDir, i, 'LC_MESSAGES'])) |
222 |
- src = 'po/' + i + '/LC_MESSAGES/csound5.mo' |
223 |
- fileName = concatPath([instDir, xmgDir, i, 'LC_MESSAGES/csound5.mo']) |
224 |
- err = runCmd(['install', '-p', '-m', '0644', src, fileName]) |
225 |
- if err == 0: |
226 |
- addMD5(fileName, fileName) |
227 |
- print ' %s' % fileName |
228 |
- else: |
229 |
- print ' *** error copying %s' % fileName |
230 |
+ err = installXFile('', fName, i[2]) |
231 |
installErrors = installErrors or err |
232 |
|
233 |
-# Copy documentation |
234 |
- |
235 |
-print ' === Installing documentation ===' |
236 |
-err = installFiles(docFiles, docDir) |
237 |
-installErrors = installErrors or err |
238 |
- |
239 |
# copy Tcl/Tk files |
240 |
|
241 |
print ' === Installing Tcl/Tk modules and scripts ===' |
242 |
if findFiles('.', 'tclcsound\\.so').__len__() > 0: |
243 |
- err = installXFile('--strip-unneeded', 'tclcsound.so', tclDir) |
244 |
+ err = installXFile('', 'tclcsound.so', tclDir) |
245 |
installErrors = installErrors or err |
246 |
err = installFile('frontends/tclcsound/command_summary.txt', tclDir) |
247 |
installErrors = installErrors or err |
248 |
-err = installFile('nsliders.tk', tclDir) |
249 |
-installErrors = installErrors or err |
250 |
-err = installXFile('', 'matrix.tk', binDir) |
251 |
-installErrors = installErrors or err |
252 |
+ err = installFile('nsliders.tk', tclDir) |
253 |
+ installErrors = installErrors or err |
254 |
+ err = installXFile('', 'matrix.tk', binDir) |
255 |
+ installErrors = installErrors or err |
256 |
|
257 |
# copy STK raw wave files |
258 |
|
259 |
@@ -398,7 +347,7 @@ |
260 |
pdDir = '' |
261 |
if pdDir != '': |
262 |
print ' === Installing csoundapi~ PD object ===' |
263 |
- err = installXFile('--strip-unneeded', 'csoundapi~.pd_linux', pdDir) |
264 |
+ err = installXFile('', 'csoundapi~.pd_linux', pdDir) |
265 |
if err == 0: |
266 |
try: |
267 |
os.chmod(concatPath([instDir, pdDir, 'csoundapi~.pd_linux']), 0644) |
268 |
@@ -420,42 +369,6 @@ |
269 |
'%s/%s' % (vimDir, 'syntax')) |
270 |
installErrors = installErrors or err |
271 |
|
272 |
-# create uninstall script |
273 |
- |
274 |
-print ' === Installing uninstall script ===' |
275 |
-fileList += [concatPath([prefix, md5Name])] |
276 |
-fileList += [concatPath([binDir, 'uninstall-csound5'])] |
277 |
-try: |
278 |
- f = open(concatPath([instDir, binDir, 'uninstall-csound5']), 'w') |
279 |
- print >> f, '#!/bin/sh' |
280 |
- print >> f, '' |
281 |
- for i in fileList: |
282 |
- print >> f, 'rm -f "%s"' % i |
283 |
- print >> f, '' |
284 |
- print >> f, '/sbin/ldconfig > /dev/null 2> /dev/null' |
285 |
- print >> f, '' |
286 |
- f.close() |
287 |
- os.chmod(concatPath([instDir, binDir, 'uninstall-csound5']), 0755) |
288 |
- addMD5(concatPath([instDir, binDir, 'uninstall-csound5']), |
289 |
- concatPath([binDir, 'uninstall-csound5'])) |
290 |
- print ' %s' % concatPath([binDir, 'uninstall-csound5']) |
291 |
-except: |
292 |
- print ' *** Error creating uninstall script' |
293 |
- installErrors = 1 |
294 |
- |
295 |
-# save MD5 checksums |
296 |
- |
297 |
-print ' === Installing MD5 checksums ===' |
298 |
-try: |
299 |
- f = open(concatPath([instDir, prefix, md5Name]), 'w') |
300 |
- print >> f, md5List, |
301 |
- f.close() |
302 |
- os.chmod(concatPath([instDir, prefix, md5Name]), 0644) |
303 |
- print ' %s' % concatPath([prefix, md5Name]) |
304 |
-except: |
305 |
- print ' *** Error installing MD5 checksums' |
306 |
- installErrors = 1 |
307 |
- |
308 |
|
309 |
# ----------------------------------------------------------------------------- |
310 |
|
311 |
@@ -481,10 +394,6 @@ |
312 |
print ' CSSTRNGS=%s' % xmgDir |
313 |
if '%s/libstk.so' % pluginDir in fileList: |
314 |
print ' RAWWAVE_PATH=%s' % rawWaveDir |
315 |
- print 'Csound can be uninstalled by running %s/uninstall-csound5' % binDir |
316 |
- |
317 |
-if os.getuid() == 0: |
318 |
- runCmd(['/sbin/ldconfig']) |
319 |
|
320 |
print '' |
321 |
|
322 |
|
323 |
|
324 |
|
325 |
1.1 media-sound/csound/files/csound-5.16.6-scons.patch |
326 |
|
327 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-scons.patch?rev=1.1&view=markup |
328 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/csound/files/csound-5.16.6-scons.patch?rev=1.1&content-type=text/plain |
329 |
|
330 |
Index: csound-5.16.6-scons.patch |
331 |
=================================================================== |
332 |
--- Csound5.16.6/SConstruct |
333 |
+++ Csound5.16.6/SConstruct |
334 |
@@ -89,6 +89,9 @@ |
335 |
commandOptions.Add('usePortMIDI', |
336 |
'Build PortMidi plugin for real time MIDI input and output.', |
337 |
'1') |
338 |
+commandOptions.Add('usePulseAudio', |
339 |
+ 'Set to 1 to use PulseAudio for real-time audio and MIDI input and output.', |
340 |
+ '1') |
341 |
commandOptions.Add('useALSA', |
342 |
'Set to 1 to use ALSA for real-time audio and MIDI input and output.', |
343 |
'1') |
344 |
@@ -180,6 +183,15 @@ |
345 |
commandOptions.Add('dynamicCsoundLibrary', |
346 |
'Build dynamic Csound library instead of libcsound.a', |
347 |
'0') |
348 |
+commandOptions.Add('buildChuaOpcodes', |
349 |
+ 'Set to 1 to build chua opcodes.', |
350 |
+ '1') |
351 |
+commandOptions.Add('buildLinearOpcodes', |
352 |
+ 'Set to 1 to build linear algebra opcodes.', |
353 |
+ '1') |
354 |
+commandOptions.Add('buildFluidOpcodes', |
355 |
+ 'Set to 1 to build Fluidsynth opcodes.', |
356 |
+ '1') |
357 |
commandOptions.Add('buildStkOpcodes', |
358 |
"Build opcodes encapsulating Perry Cook's Synthesis Toolkit in C++ instruments and effects", |
359 |
'0') |
360 |
@@ -469,14 +481,6 @@ |
361 |
if commonEnvironment['buildRelease'] == '0': |
362 |
commonEnvironment.Prepend(CPPFLAGS = ['-DBETA']) |
363 |
|
364 |
-if commonEnvironment['Lib64'] == '1': |
365 |
- if getPlatform() == 'sunos': |
366 |
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/lib/64', '/usr/lib/64']) |
367 |
- else: |
368 |
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/usr/local/lib64']) |
369 |
-else: |
370 |
- commonEnvironment.Prepend(LIBPATH = ['.', '#.', '/usr/local/lib']) |
371 |
- |
372 |
if commonEnvironment['Word64'] == '1': |
373 |
if compilerSun(): |
374 |
commonEnvironment.Append(CCFLAGS = ['-xcode=pic32']) |
375 |
@@ -494,10 +498,7 @@ |
376 |
if getPlatform() == 'linux': |
377 |
commonEnvironment.Append(CCFLAGS = ["-DLINUX"]) |
378 |
commonEnvironment.Append(CPPFLAGS = ['-DHAVE_SOCKETS']) |
379 |
- commonEnvironment.Append(CPPPATH = ['/usr/local/include']) |
380 |
commonEnvironment.Append(CPPPATH = ['/usr/include']) |
381 |
- commonEnvironment.Append(CPPPATH = ['/usr/include']) |
382 |
- commonEnvironment.Append(CPPPATH = ['/usr/X11R6/include']) |
383 |
commonEnvironment.Append(CCFLAGS = ["-DPIPES"]) |
384 |
commonEnvironment.Append(LINKFLAGS = ['-Wl,-Bdynamic']) |
385 |
elif getPlatform() == 'sunos': |
386 |
@@ -559,18 +560,17 @@ |
387 |
|
388 |
if getPlatform() == 'linux': |
389 |
path1 = '/usr/include/python%s' % commonEnvironment['pythonVersion'] |
390 |
- path2 = '/usr/local/include/python%s' % commonEnvironment['pythonVersion'] |
391 |
- pythonIncludePath = [path1, path2] |
392 |
+ pythonIncludePath = [path1] |
393 |
path1 = '/usr/include/tcl%s' % commonEnvironment['tclversion'] |
394 |
path2 = '/usr/include/tk%s' % commonEnvironment['tclversion'] |
395 |
tclIncludePath = [path1, path2] |
396 |
pythonLinkFlags = [] |
397 |
if commonEnvironment['Lib64'] == '1': |
398 |
tmp = '/usr/lib64/python%s/config' % commonEnvironment['pythonVersion'] |
399 |
- pythonLibraryPath = ['/usr/local/lib64', '/usr/lib64', tmp] |
400 |
+ pythonLibraryPath = ['/usr/lib64', tmp] |
401 |
else: |
402 |
tmp = '/usr/lib/python%s/config' % commonEnvironment['pythonVersion'] |
403 |
- pythonLibraryPath = ['/usr/local/lib', '/usr/lib', tmp] |
404 |
+ pythonLibraryPath = ['/usr/lib', tmp] |
405 |
pythonLibs = ['python%s' % commonEnvironment['pythonVersion']] |
406 |
elif getPlatform() == 'sunos': |
407 |
path1 = '/usr/include/python%s' % commonEnvironment['pythonVersion'] |
408 |
@@ -777,6 +777,7 @@ |
409 |
zlibhfound = configure.CheckHeader("zlib.h", language = "C") |
410 |
midiPluginSdkFound = configure.CheckHeader("funknown.h", language = "C++") |
411 |
luaFound = configure.CheckHeader("lua.h", language = "C") |
412 |
+luajitFound = configure.CheckLibWithHeader("luajit-5.1", "luajit-2.0/lua.h", language = "C") |
413 |
#print 'LUA: %s' % (['no', 'yes'][int(luaFound)]) |
414 |
swigFound = 'swig' in commonEnvironment['TOOLS'] |
415 |
print 'Checking for SWIG... %s' % (['no', 'yes'][int(swigFound)]) |
416 |
@@ -1452,7 +1453,7 @@ |
417 |
swigflags = csoundWrapperEnvironment['SWIGFLAGS'] |
418 |
print 'swigflags:', swigflags |
419 |
luaWrapper = None |
420 |
- if not (luaFound and commonEnvironment['buildLuaWrapper'] != '0'): |
421 |
+ if not (luajitFound and commonEnvironment['buildLuaWrapper'] != '0'): |
422 |
print 'CONFIGURATION DECISION: Not building Lua wrapper to Csound C++ interface library.' |
423 |
else: |
424 |
print 'CONFIGURATION DECISION: Building Lua wrapper to Csound C++ interface library.' |
425 |
@@ -1510,6 +1511,9 @@ |
426 |
javaWrapper = javaWrapperEnvironment.Program( |
427 |
'lib_jcsound.jnilib', javaWrapperSources) |
428 |
else: |
429 |
+ soname = 'lib_jcsound.so' |
430 |
+ soflag = [ '-Wl,-soname=%s' % soname ] |
431 |
+ javaWrapperEnvironment.Prepend(LINKFLAGS = [soflag]) |
432 |
javaWrapper = javaWrapperEnvironment.SharedLibrary( |
433 |
'_jcsound', javaWrapperSources) |
434 |
#Depends(javaWrapper, csoundLibrary) |
435 |
@@ -1759,9 +1763,12 @@ |
436 |
jpluginEnvironment.Append(LINKFLAGS = ['-framework', 'Jackmp']) |
437 |
makePlugin(jpluginEnvironment, 'jackTransport', 'Opcodes/jackTransport.c') |
438 |
makePlugin(jpluginEnvironment, 'jacko', 'Opcodes/jacko.cpp') |
439 |
-if boostFound: |
440 |
+if commonEnvironment['buildChuaOpcodes'] == '1' and boostFound: |
441 |
+ print 'CONFIGURATION DECISION: Building chua opcodes.' |
442 |
makePlugin(pluginEnvironment, 'chua', 'Opcodes/chua/ChuaOscillator.cpp') |
443 |
-if gmmFound and commonEnvironment['useDouble'] != '0': |
444 |
+else: |
445 |
+ print 'CONFIGURATION DECISION: Not building chua opcodes.' |
446 |
+if commonEnvironment['buildLinearOpcodes'] == '1' and gmmFound and commonEnvironment['useDouble'] != '0': |
447 |
makePlugin(pluginEnvironment, 'linear_algebra', 'Opcodes/linear_algebra.cpp') |
448 |
print 'CONFIGURATION DECISION: Building linear algebra opcodes.' |
449 |
else: |
450 |
@@ -1893,11 +1900,13 @@ |
451 |
alsaEnvironment.Append(LIBS = ['asound', 'pthread']) |
452 |
makePlugin(alsaEnvironment, 'rtalsa', ['InOut/rtalsa.c']) |
453 |
|
454 |
-if pulseaudioFound and (getPlatform() == 'linux' or getPlatform() == 'sunos'): |
455 |
+if commonEnvironment['usePulseAudio'] == '1' and pulseaudioFound and (getPlatform() == 'linux' or getPlatform() == 'sunos'): |
456 |
print "CONFIGURATION DECISION: Building PulseAudio plugin" |
457 |
pulseaudioEnv = pluginEnvironment.Clone() |
458 |
pulseaudioEnv.Append(LIBS = ['pulse-simple']) |
459 |
makePlugin(pulseaudioEnv, 'rtpulse', ['InOut/rtpulse.c']) |
460 |
+else: |
461 |
+ print "CONFIGURATION DECISION: Not building PulseAudio plugin." |
462 |
|
463 |
if getPlatform() == 'win32': |
464 |
winmmEnvironment = pluginEnvironment.Clone() |
465 |
@@ -1963,9 +1972,7 @@ |
466 |
|
467 |
# FLUIDSYNTH OPCODES |
468 |
|
469 |
-if not configure.CheckHeader("fluidsynth.h", language = "C"): |
470 |
- print "CONFIGURATION DECISION: Not building fluid opcodes." |
471 |
-else: |
472 |
+if commonEnvironment['buildFluidOpcodes'] == '1' and configure.CheckHeader("fluidsynth.h", language = "C"): |
473 |
print "CONFIGURATION DECISION: Building fluid opcodes." |
474 |
fluidEnvironment = pluginEnvironment.Clone() |
475 |
if getPlatform() == 'win32': |
476 |
@@ -1981,6 +1988,8 @@ |
477 |
fluidEnvironment.Append(LIBS = ['pthread']) |
478 |
makePlugin(fluidEnvironment, 'fluidOpcodes', |
479 |
['Opcodes/fluidOpcodes/fluidOpcodes.cpp']) |
480 |
+else: |
481 |
+ print "CONFIGURATION DECISION: Not building fluid opcodes." |
482 |
|
483 |
# VST HOST OPCODES |
484 |
|
485 |
@@ -2174,7 +2183,7 @@ |
486 |
if getPlatform() == 'win32' and pythonLibs[0] < 'python24': |
487 |
Depends(pythonOpcodes, pythonImportLibrary) |
488 |
|
489 |
-# Python opcodes |
490 |
+# Lua opcodes |
491 |
|
492 |
if not (commonEnvironment['buildLuaOpcodes'] != '0'): |
493 |
print "CONFIGURATION DECISION: Not building Lua opcodes." |
494 |
@@ -2183,10 +2192,10 @@ |
495 |
luaEnvironment = pluginEnvironment.Clone() |
496 |
|
497 |
if getPlatform() == 'linux': |
498 |
- if(luaFound == 1): |
499 |
+ if(luajitFound == 1): |
500 |
luaEnvironment.Append(LIBS = ['luajit-5.1']) |
501 |
luaEnvironment.Append(LIBS = ['util', 'dl', 'm']) |
502 |
- luaEnvironment.Append(CPPPATH = '/usr/local/include/luajit-2.0') |
503 |
+ luaEnvironment.Append(CPPPATH = '/usr/include/luajit-2.0') |
504 |
elif getPlatform() == 'win32': |
505 |
if(luaFound == 1): |
506 |
luaEnvironment.Append(LIBS = ['lua51']) |
507 |
@@ -2538,7 +2547,7 @@ |
508 |
Depends(csoundAcPythonModule, pythonWrapper) |
509 |
Depends(csoundAcPythonModule, csoundac) |
510 |
Depends(csoundAcPythonModule, csnd) |
511 |
- if luaFound and commonEnvironment['buildLuaWrapper'] != '0': |
512 |
+ if luajitFound and commonEnvironment['buildLuaWrapper'] != '0': |
513 |
luaCsoundACWrapperEnvironment = acWrapperEnvironment.Clone() |
514 |
if getPlatform() == 'win32': |
515 |
luaCsoundACWrapperEnvironment.Prepend(LIBS = Split('luaCsnd lua51 CsoundAC csnd fltk_images')) |