1 # Contributor: Ray Rashif <schivmeister@gmail.com>
6 pkgdesc="JACK host for native VST, DSSI and LADSPA plug-ins"
8 url="http://www.anticore.org/jucetice/?page_id=4"
10 depends=('dssi' 'freetype2' 'libxinerama' 'pth')
11 makedepends=('ladspa' 'steinberg-vst')
12 source=(http://www.anticore.org/jucetice/wp-content/uploads/${pkgname}_src-v$pkgver.tar.bz2
18 cd "$srcdir/$pkgname-v$pkgver"
20 # fails with --as-needed
21 export LDFLAGS="${LDFLAGS//-Wl,--as-needed}"
23 # fix building with gcc 4.3
24 patch -Np1 -i ../gcc44.patch || return 1
27 #[ -n "${depends[6]}" ] && {
28 # patch -Np0 -i ../${pkgname}-${pkgver}-jostbridge-m64.patch
29 # sed -i 's:#define JOST_USE_JACKBRIDGE 0:#define JOST_USE_JACKBRIDGE 1:g' \
30 # plugins/Jost/src/Config.h || return 1
33 # we already have vst on our system
34 sed -i 's:source/common:vst:g' \
35 wrapper/formats/VST/juce_VstWrapper.cpp || return 1
37 # to use 2.4 read the file we edited
38 #sed -i 's:public.sdk/source/vst2.x:vst24:g' \
39 # wrapper/formats/VST/juce_VstWrapper.cpp || return 1
41 # fix unexpected exit returns
42 sed -i -e 's:Release &:Release:g' -e 's:Debug &:Debug:g' \
43 -e 's:$mode &:$mode:g' shared/compile_jost || return 1
49 ./compile_libs Release || return 1
50 ./compile_jost Release || return 1
53 install -Dm755 ../bin/jost "$pkgdir/usr/bin/$pkgname"
54 install -Dm755 ../bin/libjostvst.so "$pkgdir/usr/lib/vst/$pkgname.so"
56 install -Dm644 ../plugins/Jost/src/resources/jost.png \
57 "$pkgdir/usr/share/pixmaps/jost.png"
58 install -Dm644 "$srcdir/jost.desktop" \
59 "$pkgdir/usr/share/applications/jost.desktop"
61 md5sums=('2d8e6d86d4b683d29a83e7d5240c2a8e'
62 '75d8e51e1c5383d7864998b64598513c'
63 '9b669a96925c9a7b8d62ea6e88c06216')