Date: Friday, April 6, 2018 @ 15:12:10 Author: lfleischer Revision: 314587
archrelease: copy trunk to community-staging-x86_64 Added: stk/repos/community-staging-x86_64/ stk/repos/community-staging-x86_64/PKGBUILD (from rev 314586, stk/trunk/PKGBUILD) stk/repos/community-staging-x86_64/runtime.patch (from rev 314586, stk/trunk/runtime.patch) stk/repos/community-staging-x86_64/stk.license (from rev 314586, stk/trunk/stk.license) ---------------+ PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ runtime.patch | 18 ++++++++++++++++++ stk.license | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 107 insertions(+) Copied: stk/repos/community-staging-x86_64/PKGBUILD (from rev 314586, stk/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-06 15:12:10 UTC (rev 314587) @@ -0,0 +1,50 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Ray Rashif <sc...@archlinux.org> +# Contributor: Mateusz Herych <heni...@gmail.com> + +pkgname=stk +pkgver=4.6.0 +pkgrel=1 +pkgdesc='The Synthesis ToolKit in C++' +arch=('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=("https://ccrma.stanford.edu/software/stk/release/$pkgname-$pkgver.tar.gz" + "$pkgname.license" + runtime.patch) +md5sums=('4008470eaa5f0befd81bb09066507f64' + '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 + autoreconf + ./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-staging-x86_64/runtime.patch (from rev 314586, stk/trunk/runtime.patch) =================================================================== --- community-staging-x86_64/runtime.patch (rev 0) +++ community-staging-x86_64/runtime.patch 2018-04-06 15:12:10 UTC (rev 314587) @@ -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-staging-x86_64/stk.license (from rev 314586, stk/trunk/stk.license) =================================================================== --- community-staging-x86_64/stk.license (rev 0) +++ community-staging-x86_64/stk.license 2018-04-06 15:12:10 UTC (rev 314587) @@ -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.