File: csound-5.10.1-enable-oggplay.patch

package info (click to toggle)
csound 1%3A6.18.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 62,416 kB
  • sloc: ansic: 192,636; cpp: 14,151; javascript: 9,654; objc: 9,181; java: 3,337; python: 3,333; sh: 1,783; yacc: 1,255; xml: 985; perl: 635; lisp: 411; tcl: 341; lex: 217; makefile: 126
file content (23 lines) | stat: -rw-r--r-- 785 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- Csound5.10.1/SConstruct.orig	2009-03-31 12:17:17.000000000 +0100
+++ Csound5.10.1/SConstruct	2009-03-31 12:19:17.000000000 +0100
@@ -132,6 +132,9 @@
     commandOptions.Add('useUDP',
         'Set to 1 if you want UDP support',
         '0')
+commandOptions.Add('useOGG',
+    'Set to 1 to build ogg opcodes',
+    '1')
 commandOptions.Add('buildPythonOpcodes',
     'Set to 1 to build Python opcodes',
     '0')
@@ -1725,7 +1728,9 @@
 # end udp opcodes
 
 # OGG opcodes
-if buildOLPC:
+if commonEnvironment['useOGG'] == '0':
+    print "CONFIGURATION DECISION: Not building OGG plugins."
+else:
     print "CONFIGURATION DECISION: Building OGG plugins."
     oggEnvironment = pluginEnvironment.Clone()
     oggEnvironment.Append(LINKFLAGS = ['-lvorbisfile', '-lvorbis', '-logg'])