diff options
Diffstat (limited to 'community/stk')
-rw-r--r-- | community/stk/PKGBUILD | 66 | ||||
-rw-r--r-- | community/stk/runtime.patch | 18 | ||||
-rw-r--r-- | community/stk/stk.license | 39 |
3 files changed, 0 insertions, 123 deletions
diff --git a/community/stk/PKGBUILD b/community/stk/PKGBUILD deleted file mode 100644 index 2a97d360c..000000000 --- a/community/stk/PKGBUILD +++ /dev/null @@ -1,66 +0,0 @@ -# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de> -# Contributor: Ray Rashif <schiv@archlinux.org> -# Contributor: Mateusz Herych <heniekk@gmail.com> - -pkgname=stk -pkgver=4.4.4 -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=('66646cb1117eee2d767c4571cc51a8c3' - '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" - - mkdir -p "$pkgdir"/usr/{bin,{lib,include}/stk} - - # install library - cp -a src/libstk.* "$pkgdir/usr/lib/" - - # install headers - install -m644 include/* "$pkgdir/usr/include/stk/" - - # install runtime files - cp -a rawwaves projects/demo/{demo,tcl} projects/effects/{effects,tcl} \ - projects/ragamatic/{ragamat,tcl,rawwaves} "$pkgdir/usr/lib/stk/" - - # install executables - install -m755 projects/{demo/StkDemo,effects/StkEffects} "$pkgdir/usr/bin/" - install -m755 projects/ragamatic/Raga "$pkgdir/usr/bin/StkRagamatic" - - # install license - install -Dm644 "../$pkgname.license" "$pkgdir/usr/share/licenses/stk/LICENSE" - - # remove .DS_Store directory: https://bugs.archlinux.org/task/25255 - rm -rf "${pkgdir}/usr/lib/stk/rawwaves/.DS_Store" -} diff --git a/community/stk/runtime.patch b/community/stk/runtime.patch deleted file mode 100644 index da7098a81..000000000 --- a/community/stk/runtime.patch +++ /dev/null @@ -1,18 +0,0 @@ -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 diff --git a/community/stk/stk.license b/community/stk/stk.license deleted file mode 100644 index 613db6ddd..000000000 --- a/community/stk/stk.license +++ /dev/null @@ -1,39 +0,0 @@ -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. |