summaryrefslogtreecommitdiff
path: root/libre/supercollider/PKGBUILD
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-21 02:03:11 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2020-01-21 02:03:11 -0500
commite4a1f4fa7057e9c1a388912e9e0784996544552a (patch)
tree55090589234d814c94b4dd44f1e5bca220f0d341 /libre/supercollider/PKGBUILD
parentdc77e728abb12539fb7fd7613cd0b49a8d4802b1 (diff)
downloadabslibre-e4a1f4fa7057e9c1a388912e9e0784996544552a.tar.gz
abslibre-e4a1f4fa7057e9c1a388912e9e0784996544552a.tar.bz2
abslibre-e4a1f4fa7057e9c1a388912e9e0784996544552a.zip
supercollider-3.10.4-1.parabola1: updating version
Diffstat (limited to 'libre/supercollider/PKGBUILD')
-rw-r--r--libre/supercollider/PKGBUILD67
1 files changed, 34 insertions, 33 deletions
diff --git a/libre/supercollider/PKGBUILD b/libre/supercollider/PKGBUILD
index c2bd0f4b2..a19d94d3a 100644
--- a/libre/supercollider/PKGBUILD
+++ b/libre/supercollider/PKGBUILD
@@ -1,12 +1,12 @@
-# Maintainer (Arch): David Runge <dave@sleepmap.de>
+# Maintainer (Arch): David Runge <dvzrv@archlinux.org>
# Contributor (Arch): speps <speps at aur dot archlinux dot org>
# Contributor (Arch): osc <farid at archlinux-br.org>
# Contributor (Prabola): Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
_name=SuperCollider
pkgname=supercollider
-pkgver=3.10.1
-pkgrel=2
+pkgver=3.10.4
+pkgrel=1
pkgrel+=.parabola1
pkgdesc="Environment and programming language for real time audio synthesis and algorithmic composition"
pkgdesc+=" (built without qt5-webengine)"
@@ -15,55 +15,56 @@ arch+=('armv7h' 'i686')
url="https://supercollider.github.io"
license=('GPL3')
groups=('pro-audio')
-depends=('boost-libs' 'desktop-file-utils' 'fftw' 'jack' 'qt5-svg' 'qt5-webkit' 'qt5-websockets' 'yaml-cpp')
+depends=('avahi' 'desktop-file-utils' 'fftw' 'gcc-libs' 'glibc' 'libasound.so'
+'libboost_filesystem.so' 'libboost_program_options.so' 'libboost_regex.so'
+'libboost_thread.so' 'libjack.so' 'libsndfile.so' 'libx11' 'libyaml-cpp.so'
+'qt5-base' 'qt5-svg' 'qt5-webkit' 'qt5-websockets' 'libreadline.so'
+'systemd-libs')
makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
checkdepends=('xorg-server-xvfb')
optdepends=('emacs: emacs interface'
'gedit: gedit interface'
'sc3-plugins: additional extension plugins for scsynth')
+provides=("libscsynth.so" "sclang=${pkgver}" "scsynth=${pkgver}")
+# fixes for system boost were not backported:
+# https://github.com/supercollider/supercollider/issues/4743
source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2"
- 'boost-1.67.patch'
- "${pkgname}-use_system_boost.patch"
-)
+ "${pkgname}-3.10.4-system_boost.patch::https://github.com/dvzrv/supercollider/commit/21f5c7f765223a77621c9a46beb95d0ac00115a4.patch")
install="${pkgname}.install"
-sha512sums=('283fb44f3c5d690f0c646782f3ac4d3cab6c9d787982006c85c743246f32bbe0de2b79dd1f6b183fd9a5085424b956c8e7c25878ef2418e50d41e1f8d85ed0b9'
- '9980d77802f18fd56d2a13f24f070e81768d9111b2cc63e479a0e9b405a04aec28bc523e5d36aab0462af6a3831d64598470cdc6c3266431e2ca64aa427a6bf2'
- 'd9b2ef108673b11a27c63654ceacf3b7e51df11ce05fc6d9045abd219ea718c2552f5ea026a5182c272639e695a1073192013b14cae257e7e4b00dd3c303ecae')
+sha512sums=('8d414e036899ed2c8f1e6852cf325d85f2b99b0fa98dc1bd832be6106c8ec4d71f130a3280a86abc24ff71606e98242899319f1c7ed782fbf02af375e0477f6b'
+ 'e460e53c425bcd15d26214d9e4d5d16aa5ab9b9922ed0b6ad74ad4d62baff7666110da80e9b488a6c60905fe6cc5845da67ec246a3e00139b570bdbda372b683')
prepare() {
mv -v "${_name}-Source" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
- # supernova build:
- # https://github.com/supercollider/supercollider/issues/3981
- patch -Np1 -i ../boost-1.67.patch
- # make sure system boost is used
- # https://github.com/supercollider/supercollider/issues/4096
- patch -Np1 -i ../"${pkgname}-use_system_boost.patch"
- mkdir -v build
+ patch -Np1 -i "../${pkgname}-3.10.4-system_boost.patch"
}
build() {
- cd "${pkgname}-${pkgver}/build"
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE=Release \
- -DLIBSCSYNTH=ON \
- -DFORTIFY=ON \
- -DSYSTEM_YAMLCPP=ON \
- -DSYSTEM_BOOST=ON \
- -DSC_VIM=OFF \
- -DSC_IDE=OFF \
- -DSC_QT=OFF
- make VERBOSE=1
+ cd "${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBoost_NO_BOOST_CMAKE=ON \
+ -DLIBSCSYNTH=ON \
+ -DFORTIFY=ON \
+ -DSYSTEM_YAMLCPP=ON \
+ -DSYSTEM_BOOST=ON \
+ -DSC_VIM=OFF \
+ -DSC_IDE=OFF \
+ -DSC_QT=OFF \
+ -B build \
+ .
+ make VERBOSE=1 -C build
}
check() {
cd "${pkgname}-${pkgver}/build"
- xvfb-run make test ARGS="-V" || warning "Known failing tests: https://github.com/supercollider/supercollider/issues/3555"
+ xvfb-run make test ARGS="-V" -C build || echo "Known failing tests: https://github.com/supercollider/supercollider/issues/3555"
}
package() {
- cd "${pkgname}-${pkgver}/build"
- make DESTDIR="${pkgdir}" install
- install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
- -vDm 644 ../{AUTHORS,{CHANGELOG,README,README_LINUX}.md}
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install -C build
+ install -vDm 644 {AUTHORS,{CHANGELOG,README,README_LINUX}.md} \
+ -t "${pkgdir}/usr/share/doc/${pkgname}/"
}