[arch-commits] Commit in supercollider/repos (4 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Tue Jan 2 12:57:00 UTC 2018


    Date: Tuesday, January 2, 2018 @ 12:56:57
  Author: bpiotrowski
Revision: 277691

archrelease: copy trunk to community-staging-x86_64

Added:
  supercollider/repos/community-staging-x86_64/
  supercollider/repos/community-staging-x86_64/PKGBUILD
    (from rev 277688, supercollider/trunk/PKGBUILD)
  supercollider/repos/community-staging-x86_64/gcc7-bind-functional.patch
    (from rev 277688, supercollider/trunk/gcc7-bind-functional.patch)
  supercollider/repos/community-staging-x86_64/supercollider.install
    (from rev 277688, supercollider/trunk/supercollider.install)

----------------------------+
 PKGBUILD                   |   52 +++++++++++++++++++++++++++++++++++++++++++
 gcc7-bind-functional.patch |   20 ++++++++++++++++
 supercollider.install      |    8 ++++++
 3 files changed, 80 insertions(+)

Copied: supercollider/repos/community-staging-x86_64/PKGBUILD (from rev 277688, supercollider/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-01-02 12:56:57 UTC (rev 277691)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: David Runge <dave at sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: osc <farid at archlinux-br.org>
+
+_name=SuperCollider
+pkgname=supercollider
+pkgver=3.8.0
+pkgrel=4
+pkgdesc="An environment and programming language for real time audio synthesis and algorithmic composition"
+arch=('x86_64')
+url="https://supercollider.github.io"
+license=('GPL3')
+depends=('boost-libs' 'fftw' 'jack' 'qt5-webkit')
+makedepends=('boost' 'cmake' 'emacs' 'qt5-tools')
+optdepends=('emacs: emacs interface'
+'gedit: gedit interface')
+source=("https://github.com/${pkgname}/${pkgname}/releases/download/Version-${pkgver}/${_name}-${pkgver}-Source-linux.tar.bz2"
+        "gcc7-bind-functional.patch")
+install="${pkgname}.install"
+sha512sums=('305898067cb323682ca3dc65b3f093658192dbad228632d928f2fbd4a635c651f49e2e4f32c338997aafd48a22b739cd80de4296f747c3f1810ddede0aff283a'
+            '7b702d2bfdd18d8201d7ff5e5d2680f1137078c48e59ac15abf96d601b9eaabf8c612527a61d7987661edb73e483f91711cc80de3091b3027a21fd19cb6f8029')
+
+prepare() {
+  cd "${_name}-Source"
+  # fix the use of std::bind for gcc7
+  # https://github.com/supercollider/supercollider/pull/3015
+  # https://github.com/supercollider/supercollider/pull/3029
+  patch -Np0 -i "../gcc7-bind-functional.patch"
+  # requires out-of-tree build
+  [ -d bld ] || mkdir bld && cd bld
+}
+
+build() {
+  cd "${_name}-Source/bld"
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+           -DCMAKE_BUILD_TYPE=Release \
+           -DLIBSCSYNTH=ON \
+           -DSC_VIM=OFF \
+           -DSYSTEM_BOOST=ON
+  make
+}
+
+package() {
+  cd "${_name}-Source/bld"
+  make DESTDIR="${pkgdir}" install
+  cd ..
+  install -Dm644 AUTHORS ${pkgdir}/usr/share/doc/${pkgname}/AUTHORS
+  install -Dm644 CHANGELOG.md ${pkgdir}/usr/share/doc/${pkgname}/CHANGELOG.md
+  install -Dm644 README.md ${pkgdir}/usr/share/doc/${pkgname}/README.md
+  install -Dm644 README_LINUX.md ${pkgdir}/usr/share/doc/${pkgname}/README_LINUX.md
+}

Copied: supercollider/repos/community-staging-x86_64/gcc7-bind-functional.patch (from rev 277688, supercollider/trunk/gcc7-bind-functional.patch)
===================================================================
--- community-staging-x86_64/gcc7-bind-functional.patch	                        (rev 0)
+++ community-staging-x86_64/gcc7-bind-functional.patch	2018-01-02 12:56:57 UTC (rev 277691)
@@ -0,0 +1,20 @@
+--- server/plugins/DiskIO_UGens.cpp	2016-08-22 10:12:21.000000000 +0200
++++ server/plugins/DiskIO_UGens.cpp.fix	2017-12-06 23:45:39.043242894 +0100
+@@ -27,6 +27,7 @@
+ #include <sndfile.h>
+ 
+ #include <atomic>
++#include <functional>
+ #include <new>
+ #include <SC_Lock.h>
+ 
+--- lang/LangPrimSource/PyrSerialPrim.cpp	2016-08-22 10:12:21.000000000 +0200
++++ lang/LangPrimSource/PyrSerialPrim.cpp.fix	2017-12-07 00:06:12.756776492 +0100
+@@ -27,6 +27,7 @@
+ 
+ #include <errno.h>
+ #include <fcntl.h>
++#include <functional>
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <stdlib.h>

Copied: supercollider/repos/community-staging-x86_64/supercollider.install (from rev 277688, supercollider/trunk/supercollider.install)
===================================================================
--- community-staging-x86_64/supercollider.install	                        (rev 0)
+++ community-staging-x86_64/supercollider.install	2018-01-02 12:56:57 UTC (rev 277691)
@@ -0,0 +1,8 @@
+post_install () {
+  echo "The vim plugin 'SCVim' is now developed separately: https://github.com/supercollider/scvim"
+  echo "Until a package is provided, please use the install methods mentioned in the link."
+}
+
+post_upgrade () {
+  post_install
+}



More information about the arch-commits mailing list