community/supercollider to 3.9.0-1

This commit is contained in:
Kevin Mihelich 2018-01-23 00:48:44 +00:00
parent 067f3d7242
commit d44cd6e074

View file

@ -8,8 +8,8 @@
_name=SuperCollider _name=SuperCollider
pkgname=supercollider pkgname=supercollider
pkgver=3.8.0 pkgver=3.9.0
pkgrel=4 pkgrel=1
pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition" pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
arch=('x86_64') arch=('x86_64')
url="https://supercollider.github.io" url="https://supercollider.github.io"
@ -18,18 +18,12 @@ depends=('boost-libs' 'fftw' 'jack' 'qt5-webkit')
makedepends=('boost' 'cmake' 'emacs' 'qt5-tools') makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
optdepends=('emacs: emacs interface' optdepends=('emacs: emacs interface'
'gedit: gedit interface') 'gedit: gedit interface')
source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2" source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2")
"gcc7-bind-functional.patch")
install="${pkgname}.install" install="${pkgname}.install"
sha512sums=('305898067cb323682ca3dc65b3f093658192dbad228632d928f2fbd4a635c651f49e2e4f32c338997aafd48a22b739cd80de4296f747c3f1810ddede0aff283a' sha512sums=('52274ce0c5e604e44f844e77bb7245d6829c49a002ac0c383c3d150f48c60bd79b8f0481cd629e13544d6a01f2c5fd05d92d24d2c24602df2bf798cff94c0b0f')
'7b702d2bfdd18d8201d7ff5e5d2680f1137078c48e59ac15abf96d601b9eaabf8c612527a61d7987661edb73e483f91711cc80de3091b3027a21fd19cb6f8029')
prepare() { prepare() {
cd "${_name}-Source" cd "${_name}-Source"
# fix the use of std::bind for gcc7
# https://github.com/supercollider/supercollider/pull/3015
# https://github.com/supercollider/supercollider/pull/3029
patch -Np0 -i "../gcc7-bind-functional.patch"
# requires out-of-tree build # requires out-of-tree build
[ -d bld ] || mkdir bld && cd bld [ -d bld ] || mkdir bld && cd bld
} }
@ -40,7 +34,6 @@ build() {
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DLIBSCSYNTH=ON \ -DLIBSCSYNTH=ON \
-DSC_VIM=OFF \ -DSC_VIM=OFF \
-DSYSTEM_BOOST=ON \
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \ -DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
-DCMAKE_C_FLAGS="${CFLAGS}" -DCMAKE_C_FLAGS="${CFLAGS}"
make make