4 pkgdesc="A programming language designed and optimized for sound rendering and signal processing"
5 url="http://sourceforge.net/project/showfiles.php?group_id=81968"
8 depends=('python' 'fltk' 'portaudio' 'java-environment')
9 makedepends=('scons' 'swig')
12 source=("http://downloads.sourceforge.net/csound/Csound$pkgver.tar.gz")
13 md5sums=('70b0c4a159c4960a09719674657949c9')
14 _gccOptions="-O3 -march=pentium4"
15 # useDouble is a requirement for using with blue via csound api
16 _csOptions="usePortAudio=1 usePortMIDI=0 buildCsound5GUI=1 useOSC=1 buildPythonOpcodes=1 buildInterfaces=1 buildVirtual=1 dynamicCsoundLibrary=1 buildJavaWrapper=1 useDouble=0"
19 cd $srcdir/Csound$pkgver
20 #patch -p1 SConstruct < ../../SConstruct.diff
21 scons customCFLAGS="$_gccOptions" $_csOptions || return 1
22 #patch -p1 install.py < ../../install.py.diff
23 ./install.py --prefix=$pkgdir/usr
26 # if useDouble=0 install csound.sh instead of csound64.sh
27 #install -Dm 755 csound64.sh pkg/etc/profile.d/csound.sh