mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/supercollider to 3.12.2-1
This commit is contained in:
parent
7e7fdb1829
commit
9957057807
1 changed files with 19 additions and 27 deletions
|
@ -8,39 +8,33 @@
|
||||||
|
|
||||||
_name=SuperCollider
|
_name=SuperCollider
|
||||||
pkgname=supercollider
|
pkgname=supercollider
|
||||||
pkgver=3.12.1
|
pkgver=3.12.2
|
||||||
pkgrel=4
|
pkgrel=1
|
||||||
pkgdesc="Platform for audio synthesis and algorithmic composition"
|
pkgdesc="Platform for audio synthesis and algorithmic composition"
|
||||||
arch=('x86_64')
|
arch=(x86_64)
|
||||||
url="https://supercollider.github.io"
|
url="https://supercollider.github.io"
|
||||||
license=('GPL3')
|
license=(GPL3)
|
||||||
groups=('pro-audio')
|
groups=(pro-audio)
|
||||||
depends=('gcc-libs' 'glibc' 'libx11' 'qt5-base' 'qt5-svg' 'qt5-webengine'
|
depends=(gcc-libs glibc libx11 qt5-base qt5-svg qt5-webengine qt5-websockets)
|
||||||
'qt5-websockets')
|
makedepends=(abletonlink alsa-lib avahi boost cmake emacs fftw libsndfile
|
||||||
makedepends=('abletonlink' 'alsa-lib' 'avahi' 'boost' 'cmake' 'emacs' 'fftw'
|
qt5-tools readline systemd-libs yaml-cpp)
|
||||||
'libsndfile' 'qt5-tools' 'readline' 'systemd-libs' 'yaml-cpp')
|
checkdepends=(xorg-server-xvfb)
|
||||||
checkdepends=('xorg-server-xvfb')
|
|
||||||
optdepends=('emacs: emacs interface'
|
optdepends=('emacs: emacs interface'
|
||||||
'gedit: gedit interface'
|
'gedit: gedit interface'
|
||||||
'sc3-plugins: additional extension plugins for scsynth')
|
'sc3-plugins: additional extension plugins for scsynth')
|
||||||
provides=('libscsynth.so' "sclang=${pkgver}" "scsynth=${pkgver}")
|
provides=(libscsynth.so "sclang=${pkgver}" "scsynth=${pkgver}")
|
||||||
source=(
|
source=(
|
||||||
"https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
|
"https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
|
||||||
)
|
)
|
||||||
install="${pkgname}.install"
|
install="${pkgname}.install"
|
||||||
sha512sums=('8fc8540e8ee952ff30f41feb49e915366ee7c5d44d7af6137bba2ccf98d521d05fd18e103d9943120370cbee970700ace15a090907a887acdc29405e919ad102'
|
sha512sums=('ad2466047353b65879f2acd9ba6b6f429010af08ef3f1150adebb93927244f4337aeb09d5aa6cc4cd26b091bc101488eebf822d21c177de55f0f8f7c2a31eb7c'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
b2sums=('ffb2d0313a27bc8a067588fa1ee26e59f0261b16c4928e48b94c3011d7fe58c7c9588e6ba3b7007b45eec74fbeedfaca781ebfd8baa93bd1f9c9797ea15a2b21'
|
b2sums=('27ffb7ad1dc4be637e166789116a5f6f09a995a374003c1f5f2a29ccaacaaf6778fd52ee32de17a6eadc16472d6d333a483b947432d9f1229045139b63f66fcb'
|
||||||
'SKIP')
|
'SKIP')
|
||||||
validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin Pączkowski (dyfer)
|
validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin Pączkowski (dyfer)
|
||||||
|
|
||||||
|
|
||||||
prepare() {
|
|
||||||
mv -v "${_name}-${pkgver}-Source" "${pkgname}-${pkgver}"
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
export CFLAGS+=" -DNDEBUG"
|
export CFLAGS+=" -DNDEBUG"
|
||||||
export CXXFLAGS+=" -DNDEBUG"
|
export CXXFLAGS+=" -DNDEBUG"
|
||||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
@ -56,22 +50,20 @@ build() {
|
||||||
-B build \
|
-B build \
|
||||||
-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}" \
|
||||||
-S .
|
-S "${_name}-${pkgver}-Source"
|
||||||
make VERBOSE=1 -C build
|
make VERBOSE=1 -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
xvfb-run make test ARGS="-VV -d -j1" -C build
|
xvfb-run make test ARGS="-VV -d -j1" -C build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
depends+=('libasound.so' 'libavahi-common.so' 'libavahi-client.so'
|
depends+=(libasound.so libavahi-common.so libavahi-client.so
|
||||||
'libboost_filesystem.so' 'libboost_program_options.so' 'libboost_regex.so'
|
libboost_filesystem.so libboost_program_options.so libboost_regex.so
|
||||||
'libboost_thread.so' 'libfftw3f.so' 'libjack.so' 'libsndfile.so'
|
libboost_thread.so libfftw3f.so libjack.so libsndfile.so libreadline.so
|
||||||
'libreadline.so' 'libudev.so' 'libyaml-cpp.so')
|
libudev.so libyaml-cpp.so)
|
||||||
cd "${pkgname}-${pkgver}"
|
|
||||||
make DESTDIR="${pkgdir}" install -C build
|
make DESTDIR="${pkgdir}" install -C build
|
||||||
install -vDm 644 {AUTHORS,{CHANGELOG,README,README_LINUX}.md} \
|
install -vDm 644 "${_name}-${pkgver}-Source/"{AUTHORS,{CHANGELOG,README,README_LINUX}.md} -t "${pkgdir}/usr/share/doc/${pkgname}/"
|
||||||
-t "${pkgdir}/usr/share/doc/${pkgname}/"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue