mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
48 lines
1.5 KiB
Bash
48 lines
1.5 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.7.2
|
|
pkgrel=1
|
|
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' 'qt5-webkit')
|
|
makedepends=('cmake' 'ruby' 'vim' 'emacs' 'qt5-tools' 'boost')
|
|
optdepends=('emacs: emacs interface'
|
|
'gedit: gedit interface'
|
|
'vim: vim interface'
|
|
'ruby: vim support')
|
|
source=("https://github.com/supercollider/supercollider/releases/download/Version-$pkgver/SuperCollider-$pkgver-Source-linux.tar.bz2"
|
|
supercollider-cxxflags.patch)
|
|
md5sums=('cb89a68bf599205d3c33ee1ee1e13ea0'
|
|
'4f62489286fe8008d6013fc59047c20b')
|
|
|
|
prepare() {
|
|
cd $_name-Source
|
|
# Fix CXXFLAGS
|
|
patch -p1 -i ../supercollider-cxxflags.patch
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$_name-Source"
|
|
[ -d b ] || mkdir b && cd b
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIBSCSYNTH=ON \
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS -DBOOST_MATH_DISABLE_FLOAT128" \
|
|
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
|
|
-DCMAKE_C_FLAGS="${CFLAGS}"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$srcdir/$_name-Source/b"
|
|
make DESTDIR="$pkgdir/" install
|
|
}
|