summaryrefslogtreecommitdiff
path: root/community/zynaddsubfx/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/zynaddsubfx/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/zynaddsubfx/PKGBUILD')
-rw-r--r--community/zynaddsubfx/PKGBUILD65
1 files changed, 0 insertions, 65 deletions
diff --git a/community/zynaddsubfx/PKGBUILD b/community/zynaddsubfx/PKGBUILD
deleted file mode 100644
index b5ce8787a..000000000
--- a/community/zynaddsubfx/PKGBUILD
+++ /dev/null
@@ -1,65 +0,0 @@
-# $Id: PKGBUILD 72810 2012-06-22 13:58:49Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: SpepS <dreamspepser at yahoo dot it>
-# Contributor: Ionut Biru <ibiru@archlinux.org>
-# Contributor: DonVla <donvla@users.sourceforge.net>
-
-pkgname=zynaddsubfx
-pkgver=2.4.3
-pkgrel=1
-pkgdesc="Opensource software synthesizer capable of making a countless number of instruments."
-arch=('i686' 'x86_64')
-url="http://zynaddsubfx.sourceforge.net"
-license=('GPL')
-depends=('fltk' 'libgl' 'fftw' 'lash' 'mxml')
-makedepends=('cmake' 'pkgconfig' 'mesa' 'setconf' 'gendesk')
-options=('!emptydirs')
-source=("http://switch.dl.sourceforge.net/sourceforge/$pkgname/ZynAddSubFX-$pkgver.tar.bz2"
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk.patch"
- "http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-sound/zynaddsubfx/files/zynaddsubfx-2.4.1-fltk13.patch"
- "$pkgname.svg")
-md5sums=('2e8994cc54e5f1a64b77dfac3baf0d9a'
- 'eb95d339ff5deac8c6b54965f04a8c60'
- '49464a33ab9c4250520eda0df7705663'
- '6f7e9c3ce3947088a10c99c46a65431f')
-
-build() {
- cd "$srcdir"
- gendesk
- setconf "$pkgname.desktop" Icon "$pkgname.svg"
-
- cd "ZynAddSubFX-$pkgver"
-
- # patches
-# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk.patch"
-# patch -p1 -i "$srcdir/$pkgname-$pkgver-fltk13.patch"
- sed -i '1,1i#include <unistd.h>' src/Nio/NulEngine.cpp
-
- [ -d build ] || mkdir build && cd build
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DOutputModule=jack -DGuiModule=fltk ..
- make
-
- # build external programs
- cd ../ExternalPrograms/Spliter && make
- cd ../Controller && sed -i "s|Box\.h|Box\.H|" ControllerUI.fl && make
-}
-
-package() {
- cd "$srcdir/ZynAddSubFX-$pkgver/build"
-
- make DESTDIR="$pkgdir/" install
-
- # install external programs
- install -Dm755 ../ExternalPrograms/Spliter/spliter "$pkgdir/usr/bin/spliter"
- install -Dm755 ../ExternalPrograms/Controller/controller "$pkgdir/usr/bin/controller"
- install -Dm644 ../ExternalPrograms/Spliter/readme.txt "$pkgdir/usr/share/doc/$pkgname/SPLITER.txt"
-
- # banks and examples
- install -d "$pkgdir/usr/share/$pkgname"
- cp -a ../instruments/banks "$pkgdir/usr/share/$pkgname"
- cp -a ../instruments/examples "$pkgdir/usr/share/$pkgname"
-
- # desktop file and icon
- install -Dm644 "$srcdir/$pkgname.svg" "$pkgdir/usr/share/pixmaps/$pkgname.svg"
- install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
-}