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

David Runge dvzrv at archlinux.org
Sat Sep 14 18:14:52 UTC 2019


    Date: Saturday, September 14, 2019 @ 18:14:51
  Author: dvzrv
Revision: 510576

upgpkg: supercollider 3.10.3-2

Rebuilding against boost 1.71.0. Adding upstream patch for boost >= 1.70.0.
Adding all direct library dependencies. Adding -DBoost_NO_BOOST_CMAKE=ON, so boost own cmake file won't get used ( https://github.com/supercollider/supercollider/issues/4576 ).

Modified:
  supercollider/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-09-14 17:25:55 UTC (rev 510575)
+++ PKGBUILD	2019-09-14 18:14:51 UTC (rev 510576)
@@ -5,14 +5,15 @@
 _name=SuperCollider
 pkgname=supercollider
 pkgver=3.10.3
-pkgrel=1
+pkgrel=2
 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' 'desktop-file-utils' 'fftw' 'jack' 'qt5-svg'
-'qt5-webengine' 'qt5-websockets' 'yaml-cpp')
+depends=('alsa-lib' 'avahi' 'boost-libs' 'desktop-file-utils' 'fftw' 'gcc-libs'
+'glibc' 'jack' 'libsndfile' 'libx11' 'qt5-base' 'qt5-svg' 'qt5-webengine'
+'qt5-websockets' 'readline' 'systemd-libs' 'yaml-cpp')
 makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
 checkdepends=('xorg-server-xvfb')
 optdepends=('emacs: emacs interface'
@@ -21,10 +22,11 @@
 provides=('libscsynth.so')
 source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2"
         "${pkgname}-use_system_boost.patch"
-)
+        "${pkgname}-3.10.3-boost-1.70.patch::https://patch-diff.githubusercontent.com/raw/supercollider/supercollider/pull/4491.patch")
 install="${pkgname}.install"
 sha512sums=('e6427ae367395e50e3f31986bab43aa53894f6d8c35563371c14940e6c3303068d419f95edf198509479d8ac7420400d8f9df7d4168a326db2f262b954ea2c24'
-            'd9b2ef108673b11a27c63654ceacf3b7e51df11ce05fc6d9045abd219ea718c2552f5ea026a5182c272639e695a1073192013b14cae257e7e4b00dd3c303ecae')
+            'd9b2ef108673b11a27c63654ceacf3b7e51df11ce05fc6d9045abd219ea718c2552f5ea026a5182c272639e695a1073192013b14cae257e7e4b00dd3c303ecae'
+            'a0d0004d3e0a6e0eb346af4a262131054272ab6f9ddf62baea4bfe1eed332657536d6a80752e8422827bff0241d34e98905f9dc9fc3f02abade60d559a551e15')
 
 prepare() {
   mv -v "${_name}-Source" "${pkgname}-${pkgver}"
@@ -32,6 +34,7 @@
   # make sure system boost is used
   # https://github.com/supercollider/supercollider/issues/4096
   patch -Np1 -i ../"${pkgname}-use_system_boost.patch"
+  patch -Np1 -i ../"${pkgname}-3.10.3-boost-1.70.patch"
   mkdir -v build
 }
 
@@ -39,6 +42,7 @@
   cd "${pkgname}-${pkgver}/build"
   cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
            -DCMAKE_BUILD_TYPE=Release \
+           -DBoost_NO_BOOST_CMAKE=ON \
            -DLIBSCSYNTH=ON \
            -DFORTIFY=ON \
            -DSYSTEM_YAMLCPP=ON \


More information about the arch-commits mailing list