mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
52 lines
1.7 KiB
Bash
52 lines
1.7 KiB
Bash
# $Id$
|
|
# Maintainer: David Runge <dave@sleepmap.de>
|
|
# Contributor: 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.9.3
|
|
pkgrel=1
|
|
pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
|
|
arch=('x86_64')
|
|
url="https://supercollider.github.io"
|
|
license=('GPL3')
|
|
depends=('boost-libs' 'fftw' 'jack' 'qt5-webkit' 'yaml-cpp')
|
|
makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
|
|
optdepends=('emacs: emacs interface'
|
|
'gedit: gedit interface'
|
|
'sc3-plugins: additional extension plugins for scsynth')
|
|
source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2")
|
|
install="${pkgname}.install"
|
|
sha512sums=('5b0c29941907d5ca45c1676e34184664c03891051bba0ee50d9e8311400824054de7b6daba6d29fd875ff38f42ee9654504ea2f0b5bf0a36ae9605e6a79a0841')
|
|
|
|
prepare() {
|
|
mv -v "${_name}-Source" "${pkgname}-${pkgver}"
|
|
cd "${pkgname}-${pkgver}"
|
|
# requires out-of-tree build
|
|
mkdir -v bld
|
|
}
|
|
|
|
build() {
|
|
cd "${pkgname}-${pkgver}/bld"
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DLIBSCSYNTH=ON \
|
|
-DFORTIFY=ON \
|
|
-DSYSTEM_BOOST=ON \
|
|
-DSYSTEM_YAMLCPP=ON \
|
|
-DSC_VIM=OFF \
|
|
-DSSE=OFF -DSSE2=OFF -DSUPERNOVA=OFF -DNOVA_SIMD=ON -DNATIVE=OFF \
|
|
-DCMAKE_C_FLAGS="${CFLAGS}"
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${pkgname}-${pkgver}/bld"
|
|
make DESTDIR="${pkgdir}" install
|
|
install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
|
|
-vDm 644 ../{AUTHORS,{CHANGELOG,README,README_LINUX}.md}
|
|
}
|