updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dssi-vst / PKGBUILD
blob76c9b06640a222dd0f53ff0e7466001bdf41e232
1 # this is an exact clone of the i686 package with arch changed to x86_64
2 # $Id: PKGBUILD 16705 2010-05-05 18:08:13Z schiv $
3 # Maintainer: Zak Johnson <zjohnson1111@gmail.com>
4 # i686 Maintainer: Ray Rashif <schivmeister@gmail.com>
6 pkgname=dssi-vst
7 pkgver=0.9.2
8 pkgrel=1
9 pkgdesc="DSSI adapter/wrapper for win32 VST plug-ins, amd64 package"
10 arch=(x86_64)
11 url="http://www.breakfastquay.com/dssi-vst/"
12 license=('GPL')
13 depends=('wine' 'jack' 'liblo')
14 makedepends=('dssi' 'ladspa')
15 source=(http://code.breakfastquay.com/attachments/download/10/$pkgname-$pkgver.tar.bz2
16         winexec.patch)
18 build() {
19   cd "$srcdir/$pkgname-$pkgver"
21   # fix executable extension issue
22   patch -Np1 -i ../winexec.patch || return 1
24   # use CXXFLAGS in build
25   sed -i \
26     "s:-Ivestige -Wall -fPIC:$CXXFLAGS -Ivestige -Wall -fPIC:" Makefile
28   make || return 1
29   make  BINDIR="$pkgdir/usr/bin" \
30         DSSIDIR="$pkgdir/usr/lib/dssi" \
31         LADSPADIR="$pkgdir/usr/lib/ladspa" install
33   # dssi-vst does not know about the executable extension issue
34   cd "$pkgdir/usr/lib/dssi/dssi-vst"
36   mv dssi-vst-server.exe dssi-vst-server
37   mv dssi-vst-scanner.exe dssi-vst-scanner
39 md5sums=('5c569200571de76dac18be4eb6fbd9c8'
40          '7578313fb2861165ed349cef1d02f829')