mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
47 lines
1.4 KiB
Bash
47 lines
1.4 KiB
Bash
# $Id$
|
|
# Maintainer : speps <speps at aur dot archlinux dot org>
|
|
# Contributor: osc <farid at archlinux-br.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - added recommended cmake defines (last two lines)
|
|
|
|
_name=SuperCollider
|
|
pkgname=supercollider
|
|
pkgver=3.6.6
|
|
pkgrel=2
|
|
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"
|
|
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
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$_name-Source"
|
|
[ -d b ] || mkdir b && cd b
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIBSCSYNTH=ON \
|
|
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
|
|
-DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_CXX_FLAGS="${CXXFLAGS}"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_name-Source/b"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|