summaryrefslogtreecommitdiff
path: root/pcr/csound
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-01-26 07:53:24 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-01-26 07:53:24 +0100
commit9c448296310ab7f0fc7a57e8f9bae11383924544 (patch)
tree2e51ff186f2bd1e07fe47e522fa61224b0640274 /pcr/csound
parent45a37aed7f4650776fbf9ca00215bb5217539f51 (diff)
downloadabslibre-9c448296310ab7f0fc7a57e8f9bae11383924544.tar.gz
abslibre-9c448296310ab7f0fc7a57e8f9bae11383924544.tar.bz2
abslibre-9c448296310ab7f0fc7a57e8f9bae11383924544.zip
pcr/csound: added
Diffstat (limited to 'pcr/csound')
-rw-r--r--pcr/csound/PKGBUILD49
-rw-r--r--pcr/csound/csound.sh3
2 files changed, 52 insertions, 0 deletions
diff --git a/pcr/csound/PKGBUILD b/pcr/csound/PKGBUILD
new file mode 100644
index 000000000..68955f305
--- /dev/null
+++ b/pcr/csound/PKGBUILD
@@ -0,0 +1,49 @@
+# Maintainer (AUR): Ainola
+# Contributor (AUR): speps
+# Contributor (AUR): Bernardo Barros
+
+# parabola changes and rationale:
+# - renamed tarball to avoid conflicts
+
+pkgname=csound
+pkgver=6.10.0
+pkgrel=1
+pkgdesc="A programming language for sound rendering and signal processing."
+arch=('i686' 'x86_64')
+url="http://csound.github.io"
+license=('LGPL')
+depends=('fltk' 'fluidsynth' 'liblo' 'portaudio' 'portmidi' 'tk' 'curl' 'stk' 'luajit' 'python2' 'hdf5')
+makedepends=('pd' 'cmake' 'gmm' 'swig' 'java-environment' 'dssi' 'boost' 'luajit' 'eigen')
+optdepends=('csound-doc: The Canonical Csound Reference Manual'
+ 'csoundqt: Qt frontend'
+ 'java-environment: Java Wrapper'
+ 'vim-csound: Syntax Highlighting and Bindings for Vim')
+# Both Libextractor and Csound install /usr/bin/extractor
+conflicts=('libextractor')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/csound/csound/archive/${pkgver}.tar.gz"
+ "csound.sh")
+sha256sums=('a241043521572d00ae3a926611ac52fd6a7e3fe6bafdbe707867aafe32f6d8a3'
+ '23db5bda78f13d5f16eceea085bba660d7b7012a89518e477d12dfef82dbadeb')
+
+build() {
+ cd "csound-${pkgver}"
+ mkdir -p bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 \
+ -DPYTHON_LIBRARY=/usr/lib/libpython2.7.so \
+ -DJAVA_MODULE_INSTALL_DIR=/usr/lib/csound/java \
+ -DPYTHON_MODULE_INSTALL_DIR=/usr/lib/python2.7/site-packages \
+ -DLUA_MODULE_INSTALL_DIR=/usr/lib/lua/5.1 \
+ -DDPD_MODULE_INSTALL_DIR=/usr/lib/pd/extra
+ make
+}
+
+package() {
+ cd "csound-${pkgver}/bld"
+ make DESTDIR="$pkgdir/" install
+
+ # export vars in profile.d
+ install -Dm755 "$srcdir/csound.sh" "$pkgdir/etc/profile.d/csound.sh"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/csound/csound.sh b/pcr/csound/csound.sh
new file mode 100644
index 000000000..ddd6e4855
--- /dev/null
+++ b/pcr/csound/csound.sh
@@ -0,0 +1,3 @@
+export OPCODE6DIR=/usr/lib/csound/plugins64
+export CSSTRNGS=/usr/share/locale
+export RAWWAVE_PATH=/usr/lib/stk/rawwaves \ No newline at end of file