2021-08-15 00:49:04 +00:00
|
|
|
# Maintainer: Brett Cornwall <ainola@archlinux.org>
|
2020-01-18 22:39:52 +00:00
|
|
|
# Maintainer: David Runge <dvzrv@archlinux.org>
|
2017-12-24 22:26:34 +00:00
|
|
|
# Contributor: 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
|
2021-09-06 15:15:38 +00:00
|
|
|
pkgver=3.12.1
|
2021-12-19 05:30:50 +00:00
|
|
|
pkgrel=4
|
2021-08-15 00:49:04 +00:00
|
|
|
pkgdesc="Platform for audio synthesis and algorithmic composition"
|
2017-12-24 22:26:34 +00:00
|
|
|
arch=('x86_64')
|
|
|
|
url="https://supercollider.github.io"
|
2013-11-05 02:39:32 +00:00
|
|
|
license=('GPL3')
|
2018-06-08 05:06:34 +00:00
|
|
|
groups=('pro-audio')
|
2020-03-21 14:52:03 +00:00
|
|
|
depends=('gcc-libs' 'glibc' 'libx11' 'qt5-base' 'qt5-svg' 'qt5-webengine'
|
|
|
|
'qt5-websockets')
|
2020-03-22 15:19:21 +00:00
|
|
|
makedepends=('abletonlink' 'alsa-lib' 'avahi' 'boost' 'cmake' 'emacs' 'fftw'
|
|
|
|
'libsndfile' 'qt5-tools' 'readline' 'systemd-libs' 'yaml-cpp')
|
2019-01-13 14:01:18 +00:00
|
|
|
checkdepends=('xorg-server-xvfb')
|
2013-11-05 02:39:32 +00:00
|
|
|
optdepends=('emacs: emacs interface'
|
2018-03-21 23:01:01 +00:00
|
|
|
'gedit: gedit interface'
|
|
|
|
'sc3-plugins: additional extension plugins for scsynth')
|
2020-09-03 18:58:38 +00:00
|
|
|
provides=('libscsynth.so' "sclang=${pkgver}" "scsynth=${pkgver}")
|
2021-08-15 00:49:04 +00:00
|
|
|
source=(
|
|
|
|
"https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
|
2020-09-03 18:58:38 +00:00
|
|
|
)
|
2017-12-24 22:26:34 +00:00
|
|
|
install="${pkgname}.install"
|
2021-09-06 15:15:38 +00:00
|
|
|
sha512sums=('8fc8540e8ee952ff30f41feb49e915366ee7c5d44d7af6137bba2ccf98d521d05fd18e103d9943120370cbee970700ace15a090907a887acdc29405e919ad102'
|
2021-08-15 00:49:04 +00:00
|
|
|
'SKIP')
|
2021-09-06 15:15:38 +00:00
|
|
|
b2sums=('ffb2d0313a27bc8a067588fa1ee26e59f0261b16c4928e48b94c3011d7fe58c7c9588e6ba3b7007b45eec74fbeedfaca781ebfd8baa93bd1f9c9797ea15a2b21'
|
2021-08-15 00:49:04 +00:00
|
|
|
'SKIP')
|
|
|
|
validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin Pączkowski (dyfer)
|
2020-03-21 14:52:03 +00:00
|
|
|
|
2015-12-10 04:56:11 +00:00
|
|
|
|
|
|
|
prepare() {
|
2020-04-01 23:43:42 +00:00
|
|
|
mv -v "${_name}-${pkgver}-Source" "${pkgname}-${pkgver}"
|
2015-12-10 04:56:11 +00:00
|
|
|
}
|
2013-11-05 02:39:32 +00:00
|
|
|
|
|
|
|
build() {
|
2020-01-18 22:39:52 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2020-09-09 20:29:42 +00:00
|
|
|
export CFLAGS+=" -DNDEBUG"
|
|
|
|
export CXXFLAGS+=" -DNDEBUG"
|
2020-01-18 22:39:52 +00:00
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
2020-09-03 18:58:38 +00:00
|
|
|
-DCMAKE_BUILD_TYPE='None' \
|
2020-01-18 22:39:52 +00:00
|
|
|
-DBoost_NO_BOOST_CMAKE=ON \
|
|
|
|
-DLIBSCSYNTH=ON \
|
|
|
|
-DFORTIFY=ON \
|
2020-03-21 14:52:03 +00:00
|
|
|
-DSYSTEM_ABLETON_LINK=ON \
|
2020-01-18 22:39:52 +00:00
|
|
|
-DSYSTEM_BOOST=ON \
|
2020-03-21 14:52:03 +00:00
|
|
|
-DSYSTEM_YAMLCPP=ON \
|
2020-01-18 22:39:52 +00:00
|
|
|
-DSC_VIM=OFF \
|
2020-09-03 18:58:38 +00:00
|
|
|
-Wno-dev \
|
2020-01-18 22:39:52 +00:00
|
|
|
-B build \
|
|
|
|
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
|
2020-01-18 22:57:39 +00:00
|
|
|
-DCMAKE_C_FLAGS="${CFLAGS}" \
|
2020-09-03 18:58:38 +00:00
|
|
|
-S .
|
2020-01-18 22:39:52 +00:00
|
|
|
make VERBOSE=1 -C build
|
2013-11-05 02:39:32 +00:00
|
|
|
}
|
|
|
|
|
2019-01-13 14:01:18 +00:00
|
|
|
check() {
|
2020-09-03 18:58:38 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
2020-09-09 20:29:42 +00:00
|
|
|
xvfb-run make test ARGS="-VV -d -j1" -C build
|
2019-01-13 14:01:18 +00:00
|
|
|
}
|
2018-11-28 21:50:17 +00:00
|
|
|
|
2013-11-05 02:39:32 +00:00
|
|
|
package() {
|
2020-03-21 14:52:03 +00:00
|
|
|
depends+=('libasound.so' 'libavahi-common.so' 'libavahi-client.so'
|
|
|
|
'libboost_filesystem.so' 'libboost_program_options.so' 'libboost_regex.so'
|
|
|
|
'libboost_thread.so' 'libfftw3f.so' 'libjack.so' 'libsndfile.so'
|
|
|
|
'libreadline.so' 'libudev.so' 'libyaml-cpp.so')
|
2020-01-18 22:39:52 +00:00
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
make DESTDIR="${pkgdir}" install -C build
|
|
|
|
install -vDm 644 {AUTHORS,{CHANGELOG,README,README_LINUX}.md} \
|
|
|
|
-t "${pkgdir}/usr/share/doc/${pkgname}/"
|
2013-11-05 02:39:32 +00:00
|
|
|
}
|