diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 32 insertions, 11 deletions
@@ -1,7 +1,7 @@ pkgbase = dexed pkgdesc = A software synth closely modelled on the Yamaha DX7 pkgver = 0.9.4 - pkgrel = 1 + pkgrel = 2 url = http://asb2m10.github.io/dexed/ changelog = ChangeLog arch = i686 diff --git a/ChangeLog b/ChangeLog index df02a5a82e20..a82e348ba9e7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2018-04-24 Christopher Arndt <aur -at- chrisarndt -dot- de> + + * 0.9.4-2 + Compile VST plug-in separately as a workaround for + https://github.com/asb2m10/dexed/issues/132 + 2018-03-24 Christopher Arndt <aur -at- chrisarndt -dot- de> * 0.9.4-1 @@ -2,7 +2,7 @@ pkgname="dexed" pkgver=0.9.4 -pkgrel=1 +pkgrel=2 pkgdesc="A software synth closely modelled on the Yamaha DX7" arch=('i686' 'x86_64') url="http://asb2m10.github.io/dexed/" @@ -17,27 +17,42 @@ md5sums=('0e69fdcc3c18a8ac083657213a7921a2' changelog=ChangeLog -prepare() { +build() { + msg2 "Building Dexed stand-alone..." cd "$srcdir/${pkgname}-${pkgver}" - - msg2 "Enabling JACK audio in Dexed JUCE project file..." - sed -i -e 's|JUCE_JACK="0"|JUCE_JACK="1"|' Dexed.jucer + sed -i \ + -e 's|JUCE_JACK="0"|JUCE_JACK="1"|' \ + -e 's|buildVST="1"|buildVST="0"|' \ + Dexed.jucer Projucer --resave Dexed.jucer -} -build() { cd "${srcdir}/${pkgname}-${pkgver}/Builds/Linux" + make CONFIG=Release + cp -f build/Dexed "${srcdir}/${pkgname}-${pkgver}" + msg2 "Building Dexed VST plug-in..." + cd "$srcdir/${pkgname}-${pkgver}" + sed -i \ + -e 's|JUCE_ALSA="1"|JUCE_ALSA="0"|' \ + -e 's|JUCE_JACK="1"|JUCE_JACK="0"|' \ + -e 's|buildVST="0"|buildVST="1"|' \ + -e 's|buildStandalone="1"|buildStandalone="0"|' \ + Dexed.jucer + Projucer --resave Dexed.jucer + + cd "${srcdir}/${pkgname}-${pkgver}/Builds/Linux" + make clean make CONFIG=Release + cp -f build/Dexed.so "${srcdir}/${pkgname}-${pkgver}" } package() { cd "${srcdir}/${pkgname}-${pkgver}" - # install VST plugin - install -Dm755 Builds/Linux/build/Dexed.so "${pkgdir}/usr/lib/vst/Dexed.so" # install standalone program - install -Dm755 Builds/Linux/build/Dexed "${pkgdir}/usr/bin/dexed" + install -Dm755 Dexed "${pkgdir}/usr/bin/dexed" + # install VST plugin + install -Dm755 Dexed.so "${pkgdir}/usr/lib/vst/Dexed.so" # install icon and desktop file install -Dm755 Resources/ui/dexedIcon.png "${pkgdir}/usr/share/icons/hicolor/512x512/apps/dexed.png" |