[arch-commits] Commit in supercollider/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Oct 6 21:42:57 UTC 2018


    Date: Saturday, October 6, 2018 @ 21:42:56
  Author: dvzrv
Revision: 390911

upgpkg: supercollider 3.9.3-5

Rebuilding, fixing upstream bug 4116, which prevents the proper use of mathmatical constructs. Adding note about boost fixes.

Modified:
  supercollider/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-10-06 20:49:16 UTC (rev 390910)
+++ PKGBUILD	2018-10-06 21:42:56 UTC (rev 390911)
@@ -5,13 +5,13 @@
 _name=SuperCollider
 pkgname=supercollider
 pkgver=3.9.3
-pkgrel=4
+pkgrel=5
 pkgdesc="Environment and programming language for real time audio synthesis and algorithmic composition"
 arch=('x86_64')
 url="https://supercollider.github.io"
 license=('GPL3')
 groups=('pro-audio')
-depends=('boost-libs' 'fftw' 'jack' 'qt5-webkit' 'yaml-cpp')
+depends=('boost-libs' 'desktop-file-utils' 'fftw' 'jack' 'qt5-webkit' 'yaml-cpp')
 makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
 optdepends=('emacs: emacs interface'
             'gedit: gedit interface'
@@ -26,10 +26,15 @@
   mv -v "${_name}-Source" "${pkgname}-${pkgver}"
   cd "${pkgname}-${pkgver}"
   patch -Np1 -i ../boost-1.67.patch
+  # make sure the system boost headers are used
+  # https://github.com/supercollider/supercollider/issues/4096
+  rm -r external_libraries/boost
+  # fixing fundamental mathmatical problems:
+  # https://github.com/supercollider/supercollider/issues/4116
+  sed -e 's/-ffast-math/-fno-math-errno -fno-signaling-nans/' \
+      -i CMakeLists.txt
   # requires out-of-tree build
   mkdir -v bld
-  # make sure the system boost headers are used
-  rm -r external_libraries/boost
 }
 
 build() {



More information about the arch-commits mailing list