2013-11-29 21:55:30 +00:00
|
|
|
# $Id$
|
2013-11-05 02:39:32 +00:00
|
|
|
# Maintainer : speps <speps at aur dot archlinux dot org>
|
2013-11-29 21:55:30 +00:00
|
|
|
# Contributor: osc <farid at archlinux-br.org>
|
2013-11-05 02:39:32 +00:00
|
|
|
|
2013-11-05 03:03:12 +00:00
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - added recommended cmake defines (last two lines)
|
|
|
|
|
2013-11-05 02:39:32 +00:00
|
|
|
_name=SuperCollider
|
|
|
|
pkgname=supercollider
|
2013-11-29 21:55:30 +00:00
|
|
|
pkgver=3.6.6
|
2015-12-10 04:56:11 +00:00
|
|
|
pkgrel=2
|
2013-11-05 02:39:32 +00:00
|
|
|
pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
|
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
url="http://supercollider.sourceforge.net/"
|
|
|
|
license=('GPL3')
|
|
|
|
depends=('jack' 'fftw' 'cwiid' 'qtwebkit')
|
|
|
|
makedepends=('cmake' 'ruby' 'vim' 'emacs')
|
|
|
|
optdepends=('emacs: emacs interface'
|
|
|
|
'gedit: gedit interface'
|
|
|
|
'vim: vim interface'
|
|
|
|
'ruby: vim support')
|
|
|
|
install="$pkgname.install"
|
2015-12-10 04:56:11 +00:00
|
|
|
source=("http://download.sourceforge.net/project/$pkgname/Source/${pkgver%.*}/$_name-$pkgver-Source-linux.tar.bz2"
|
|
|
|
"ftbfs-gcc-4.9.patch")
|
|
|
|
md5sums=('14d6063933230c74e42f5923a811e7c6'
|
|
|
|
'257a9198e650638a9a43bad2812760f7')
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd "$srcdir/$_name-Source"
|
|
|
|
patch -Np1 -i ../ftbfs-gcc-4.9.patch
|
|
|
|
}
|
2013-11-05 02:39:32 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$srcdir/$_name-Source"
|
2013-11-29 21:55:30 +00:00
|
|
|
[ -d b ] || mkdir b && cd b
|
2013-11-05 02:39:32 +00:00
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2013-11-05 03:03:12 +00:00
|
|
|
-DLIBSCSYNTH=ON \
|
|
|
|
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
|
|
|
|
-DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
|
2013-11-05 02:39:32 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-11-29 21:55:30 +00:00
|
|
|
cd "$srcdir/$_name-Source/b"
|
2013-11-05 02:39:32 +00:00
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
}
|