diff --git a/community/supercollider/PKGBUILD b/community/supercollider/PKGBUILD index a5a881bab..83c39d45a 100644 --- a/community/supercollider/PKGBUILD +++ b/community/supercollider/PKGBUILD @@ -9,7 +9,7 @@ _name=SuperCollider pkgname=supercollider pkgver=3.12.2 -pkgrel=1 +pkgrel=2 pkgdesc="Platform for audio synthesis and algorithmic composition" arch=(x86_64) url="https://supercollider.github.io" @@ -25,15 +25,23 @@ optdepends=('emacs: emacs interface' provides=(libscsynth.so "sclang=${pkgver}" "scsynth=${pkgver}") source=( "https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source.tar.bz2"{,.asc} + $pkgname-libsndfile-1.1.0.patch::https://github.com/supercollider/supercollider/commit/b9dd70c4c8d6.patch ) install="${pkgname}.install" sha512sums=('ad2466047353b65879f2acd9ba6b6f429010af08ef3f1150adebb93927244f4337aeb09d5aa6cc4cd26b091bc101488eebf822d21c177de55f0f8f7c2a31eb7c' - 'SKIP') + 'SKIP' + '20c6095d83a57879149f15d10054d5946fcda0bbba5b2f6768293e2a164ed0bf652c5c88a490df2e379bcae571642ce9060316e0bebc0c914f50270917aad04a') b2sums=('27ffb7ad1dc4be637e166789116a5f6f09a995a374003c1f5f2a29ccaacaaf6778fd52ee32de17a6eadc16472d6d333a483b947432d9f1229045139b63f66fcb' - 'SKIP') + 'SKIP' + '6106824f6d8212b073aa36cd6aaa050690ea101788b734811cccc7e755d15f168f54cc2c8f3fdd3303b895b9a5ee9ab7a5785c6b6a2fa6150030e890a34ffd77') validpgpkeys=('2E1C4FC2F6BB58FA157B21B8064B501EB7405F04') # Marcin PÄ…czkowski (dyfer) +prepare() { + cd ${_name}-${pkgver}-Source + patch -Np1 -i ../$pkgname-libsndfile-1.1.0.patch +} + build() { export CFLAGS+=" -DNDEBUG" export CXXFLAGS+=" -DNDEBUG"