[arch-commits] Commit in stk/repos (8 files)

Lukas Fleischer lfleischer at archlinux.org
Sat Aug 13 11:04:34 UTC 2016


    Date: Saturday, August 13, 2016 @ 11:04:33
  Author: lfleischer
Revision: 186700

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  stk/repos/community-testing-i686/
  stk/repos/community-testing-i686/PKGBUILD
    (from rev 186699, stk/trunk/PKGBUILD)
  stk/repos/community-testing-i686/runtime.patch
    (from rev 186699, stk/trunk/runtime.patch)
  stk/repos/community-testing-i686/stk.license
    (from rev 186699, stk/trunk/stk.license)
  stk/repos/community-testing-x86_64/
  stk/repos/community-testing-x86_64/PKGBUILD
    (from rev 186699, stk/trunk/PKGBUILD)
  stk/repos/community-testing-x86_64/runtime.patch
    (from rev 186699, stk/trunk/runtime.patch)
  stk/repos/community-testing-x86_64/stk.license
    (from rev 186699, stk/trunk/stk.license)

----------------------------------------+
 community-testing-i686/PKGBUILD        |   49 +++++++++++++++++++++++++++++++
 community-testing-i686/runtime.patch   |   18 +++++++++++
 community-testing-i686/stk.license     |   39 ++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD      |   49 +++++++++++++++++++++++++++++++
 community-testing-x86_64/runtime.patch |   18 +++++++++++
 community-testing-x86_64/stk.license   |   39 ++++++++++++++++++++++++
 6 files changed, 212 insertions(+)

Copied: stk/repos/community-testing-i686/PKGBUILD (from rev 186699, stk/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,49 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=stk
+pkgver=4.5.1
+pkgrel=1
+pkgdesc='The Synthesis ToolKit in C++'
+arch=('i686' 'x86_64')
+url='http://ccrma.stanford.edu/software/stk/'
+license=('MIT')
+depends=('gcc-libs' 'jack')
+makedepends=('pkg-config')
+optdepends=('tk: run provided demos/samples')
+source=("http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz"
+        "$pkgname.license"
+        runtime.patch)
+md5sums=('87e1b1a24ec09f81321c01f2cdea513d'
+         'a0163d75a5f516b6c93f4fc948acff73'
+         '36551c348340307c765fde85d4336e73')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # add missing linker flag
+  export LIBS="$LIBS -lpthread" 
+
+  # enable shared library
+  sed -i 's/all : $(STATICLIB)/all : $(SHAREDLIB)/' src/Makefile.in
+
+  # fix demo rawwaves path
+  sed -i 's:\.\./\.\.:/usr/lib/stk:' projects/demo/demo.cpp
+
+  # run actual build
+  ./configure RAWWAVE_PATH=/usr/lib/stk/rawwaves/ --prefix=/usr --with-alsa --with-jack
+  make
+
+  # fix executable scripts
+  patch -Np1 -i ../runtime.patch
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="${pkgdir}" install
+
+  # install license
+  install -Dm644 "../$pkgname.license" "$pkgdir/usr/share/licenses/stk/LICENSE"
+}

Copied: stk/repos/community-testing-i686/runtime.patch (from rev 186699, stk/trunk/runtime.patch)
===================================================================
--- community-testing-i686/runtime.patch	                        (rev 0)
+++ community-testing-i686/runtime.patch	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,18 @@
+diff -Naur stk-4.4.2.orig//projects/demo/StkDemo stk-4.4.2/projects/demo/StkDemo
+--- stk-4.4.2.orig//projects/demo/StkDemo	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/demo/StkDemo	2010-09-01 08:51:48.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Demo.tcl | ./demo Clarinet -or -ip
+diff -Naur stk-4.4.2.orig//projects/effects/StkEffects stk-4.4.2/projects/effects/StkEffects
+--- stk-4.4.2.orig//projects/effects/StkEffects	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/effects/StkEffects	2010-09-01 08:51:54.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Effects.tcl | ./effects -ip
+diff -Naur stk-4.4.2.orig//projects/ragamatic/Raga stk-4.4.2/projects/ragamatic/Raga
+--- stk-4.4.2.orig//projects/ragamatic/Raga	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/ragamatic/Raga	2010-09-01 08:52:04.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Raga.tcl | ./ragamat -ip

Copied: stk/repos/community-testing-i686/stk.license (from rev 186699, stk/trunk/stk.license)
===================================================================
--- community-testing-i686/stk.license	                        (rev 0)
+++ community-testing-i686/stk.license	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,39 @@
+The Synthesis ToolKit in C++ (STK) is a set of open source audio
+signal processing and algorithmic synthesis classes written in the
+C++ programming language. STK was designed to facilitate rapid
+development of music synthesis and audio processing software, with
+an emphasis on cross-platform functionality, realtime control,
+ease of use, and educational example code.  STK currently runs
+with realtime support (audio and MIDI) on Linux, Macintosh OS X,
+and Windows computer platforms. Generic, non-realtime support has
+been tested under NeXTStep, Sun, and other platforms and should
+work with any standard C++ compiler.
+
+STK WWW site: http://ccrma.stanford.edu/software/stk/
+
+The Synthesis ToolKit in C++ (STK)
+Copyright (c) 1995-2010 Perry R. Cook and Gary P. Scavone
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Any person wishing to distribute modifications to the Software is
+asked to send the modifications to the original developer so that they
+can be incorporated into the canonical version.  This is, however, not
+a binding provision of this license.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copied: stk/repos/community-testing-x86_64/PKGBUILD (from rev 186699, stk/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,49 @@
+# Maintainer: Lukas Fleischer <lfleischer at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: Mateusz Herych <heniekk at gmail.com>
+
+pkgname=stk
+pkgver=4.5.1
+pkgrel=1
+pkgdesc='The Synthesis ToolKit in C++'
+arch=('i686' 'x86_64')
+url='http://ccrma.stanford.edu/software/stk/'
+license=('MIT')
+depends=('gcc-libs' 'jack')
+makedepends=('pkg-config')
+optdepends=('tk: run provided demos/samples')
+source=("http://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz"
+        "$pkgname.license"
+        runtime.patch)
+md5sums=('87e1b1a24ec09f81321c01f2cdea513d'
+         'a0163d75a5f516b6c93f4fc948acff73'
+         '36551c348340307c765fde85d4336e73')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # add missing linker flag
+  export LIBS="$LIBS -lpthread" 
+
+  # enable shared library
+  sed -i 's/all : $(STATICLIB)/all : $(SHAREDLIB)/' src/Makefile.in
+
+  # fix demo rawwaves path
+  sed -i 's:\.\./\.\.:/usr/lib/stk:' projects/demo/demo.cpp
+
+  # run actual build
+  ./configure RAWWAVE_PATH=/usr/lib/stk/rawwaves/ --prefix=/usr --with-alsa --with-jack
+  make
+
+  # fix executable scripts
+  patch -Np1 -i ../runtime.patch
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  make DESTDIR="${pkgdir}" install
+
+  # install license
+  install -Dm644 "../$pkgname.license" "$pkgdir/usr/share/licenses/stk/LICENSE"
+}

Copied: stk/repos/community-testing-x86_64/runtime.patch (from rev 186699, stk/trunk/runtime.patch)
===================================================================
--- community-testing-x86_64/runtime.patch	                        (rev 0)
+++ community-testing-x86_64/runtime.patch	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,18 @@
+diff -Naur stk-4.4.2.orig//projects/demo/StkDemo stk-4.4.2/projects/demo/StkDemo
+--- stk-4.4.2.orig//projects/demo/StkDemo	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/demo/StkDemo	2010-09-01 08:51:48.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Demo.tcl | ./demo Clarinet -or -ip
+diff -Naur stk-4.4.2.orig//projects/effects/StkEffects stk-4.4.2/projects/effects/StkEffects
+--- stk-4.4.2.orig//projects/effects/StkEffects	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/effects/StkEffects	2010-09-01 08:51:54.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Effects.tcl | ./effects -ip
+diff -Naur stk-4.4.2.orig//projects/ragamatic/Raga stk-4.4.2/projects/ragamatic/Raga
+--- stk-4.4.2.orig//projects/ragamatic/Raga	2010-09-01 08:51:05.000000000 +0800
++++ stk-4.4.2/projects/ragamatic/Raga	2010-09-01 08:52:04.000000000 +0800
+@@ -1 +1,2 @@
++cd /usr/lib/stk
+ wish < tcl/Raga.tcl | ./ragamat -ip

Copied: stk/repos/community-testing-x86_64/stk.license (from rev 186699, stk/trunk/stk.license)
===================================================================
--- community-testing-x86_64/stk.license	                        (rev 0)
+++ community-testing-x86_64/stk.license	2016-08-13 11:04:33 UTC (rev 186700)
@@ -0,0 +1,39 @@
+The Synthesis ToolKit in C++ (STK) is a set of open source audio
+signal processing and algorithmic synthesis classes written in the
+C++ programming language. STK was designed to facilitate rapid
+development of music synthesis and audio processing software, with
+an emphasis on cross-platform functionality, realtime control,
+ease of use, and educational example code.  STK currently runs
+with realtime support (audio and MIDI) on Linux, Macintosh OS X,
+and Windows computer platforms. Generic, non-realtime support has
+been tested under NeXTStep, Sun, and other platforms and should
+work with any standard C++ compiler.
+
+STK WWW site: http://ccrma.stanford.edu/software/stk/
+
+The Synthesis ToolKit in C++ (STK)
+Copyright (c) 1995-2010 Perry R. Cook and Gary P. Scavone
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+Any person wishing to distribute modifications to the Software is
+asked to send the modifications to the original developer so that they
+can be incorporated into the canonical version.  This is, however, not
+a binding provision of this license.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.



More information about the arch-commits mailing list