community/supercollider to 3.12.0-1

This commit is contained in:
David Beauchamp 2021-08-14 20:49:04 -04:00
parent 10dd6dd4a8
commit 429ff2f50a

View file

@ -1,3 +1,4 @@
# Maintainer: Brett Cornwall <ainola@archlinux.org>
# Maintainer: David Runge <dvzrv@archlinux.org>
# Contributor: speps <speps at aur dot archlinux dot org>
# Contributor: osc <farid at archlinux-br.org>
@ -7,9 +8,9 @@
_name=SuperCollider
pkgname=supercollider
pkgver=3.11.2
pkgrel=4
pkgdesc="Environment and programming language for real time audio synthesis and algorithmic composition"
pkgver=3.12.0
pkgrel=1
pkgdesc="Platform for audio synthesis and algorithmic composition"
arch=('x86_64')
url="https://supercollider.github.io"
license=('GPL3')
@ -23,40 +24,19 @@ optdepends=('emacs: emacs interface'
'gedit: gedit interface'
'sc3-plugins: additional extension plugins for scsynth')
provides=('libscsynth.so' "sclang=${pkgver}" "scsynth=${pkgver}")
source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
"${pkgname}-3.11.1-devendor_abletonlink.patch::https://github.com/supercollider/supercollider/pull/4836/commits/95bd9721226f3cb1bba903bea8154cee5859cfb8.patch"
"${pkgname}-3.11.2-fix_4992.patch::https://github.com/dvzrv/supercollider/commit/9563fb5e73425a2ee0370162178964cceb559d5d.patch"
"${pkgname}-3.11.2-boost-1.74.patch::https://github.com/supercollider/supercollider/commit/cc873049ff9249a33567e4cbcdeffeb6806a30d6.patch"
source=(
"https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc}
)
install="${pkgname}.install"
sha512sums=('636062c6acf8be43260632287b587f167352079c4e86ede34d1c6056180bfdb3ae50d6a3ff4f349327a3ab6af0eb01ac503d6b22667b4799dfcddd9c6489a23c'
'SKIP'
'972aaebde8de5aaf5d6a01e59f3e6fe3b64fba63495bc0216cc91a5f7590fc987f8c592503556f97dd6c7e7fd7437915fc6d02fdd447fd8a80d43d24ab1216d1'
'd957b7b1c272a121dd24308b1d5073a0bcce4c04aed56af05819003ed149e6ec632fb323c9cc195685a51f28cb9489fd179eff7d6c3be52158f0a404a1990b69'
'a014924881ea8a7b84d7a3cc77d3e0e735ef5edb28062e7859a9a227f86cc00c1c04753b1ce7fca423be513dc8c476236814fcd16ab154fda948948736472814')
b2sums=('3713561e5ebee6dd4c08baa8aaaf4a422ab983480c76b2176373ce3cd080128f9392b50482e02dc82dce235e928d058c42722e0863dad9f6d2dd086894cd85da'
'SKIP'
'0c84bb1e31eee267a8bce5cdc8fd7da97e3336a565eacc8759bc3fe33c5f4c1f6cf6dfcf2ea01405676ada660d1b6ac09bce3fb2faa4987599289e5fc5cdc0d7'
'd496b364f63c04e5bc93542fcdb537fcbc86a5687202555cabe68e28c1dbfc131aaab2f4b76a2a47d26785e9f029408f8fc02f1d5a2e19cfdea65c2159f5a26f'
'734bee43a90951b646d3c4ae1273b85257765e9156bd1b9f3dabafeda9728d7af2257155f990bc0b1038c7d1e372f95f5c7686fb7bff9f5c092b988f52816faa')
validpgpkeys=('0B7D1EA4E32B5C3C4275D3C70796CC538BEFF177') # Brian Heim <self@brianlheim.com>
sha512sums=('bd2f627347c5e3a2d1115f7afb9746ffabe14b53a36e4f3eccbd2d0e48f704bfd66a464b44680af274f74fe83ef5dfcf6b03ca6651e723ed99e226239d8ddeb4'
'SKIP')
b2sums=('2757192699b6168fe8466984a6ba5e7513cafbacdcad7ca454af966c04fa51542a4d5f4976a8a197ecf6c8c31365e115d831d181022b4f10b05d8d79e14cab2c'
'SKIP')
validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin Pączkowski (dyfer)
prepare() {
mv -v "${_name}-${pkgver}-Source" "${pkgname}-${pkgver}"
cd "${pkgname}-${pkgver}"
# devendoring Ableton Link:
# https://github.com/supercollider/supercollider/issues/4818
# https://github.com/supercollider/supercollider/pull/4836
echo "Applying patch: ../${pkgname}-3.11.1-devendor_abletonlink.patch"
patch -Np1 -i "../${pkgname}-3.11.1-devendor_abletonlink.patch"
# fix linker issues with libscsynth.so (backported patch)
# https://github.com/supercollider/supercollider/issues/4992
echo "Applying patch: ../${pkgname}-3.11.2-fix_4992.patch"
patch -Np1 -i "../${pkgname}-3.11.2-fix_4992.patch"
echo "Applying patch: ../${pkgname}-3.11.2-boost-1.74.patch"
patch -Np1 -i "../${pkgname}-3.11.2-boost-1.74.patch"
}
build() {