summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2018-08-14 23:14:03 +0200
committerChristopher Arndt2018-08-14 23:14:03 +0200
commitd2a45aaaa3a9f26763eae793121359465a2620ff (patch)
tree04f5e086f7fd82d6dbe45589f3314dfcff4a8fca
parent2bf26e3dede6f9e5bc3226f6a6208b143bbbf72c (diff)
downloadaur-d2a45aaaa3a9f26763eae793121359465a2620ff.tar.gz
Better workaround for upstream issue #144
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD22
2 files changed, 4 insertions, 20 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55db279bafe..69949e48c94 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = dexed
pkgdesc = A software synth closely modelled on the Yamaha DX7
pkgver = 0.9.4
- pkgrel = 2
+ pkgrel = 3
url = http://asb2m10.github.io/dexed/
changelog = ChangeLog
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 3e9e2570392..6cc51c5d226 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname="dexed"
pkgver=0.9.4
-pkgrel=2
+pkgrel=3
pkgdesc="A software synth closely modelled on the Yamaha DX7"
arch=('i686' 'x86_64')
url="http://asb2m10.github.io/dexed/"
@@ -19,30 +19,14 @@ changelog=ChangeLog
build() {
msg2 "Building Dexed stand-alone..."
- cd "$srcdir/${pkgname}-${pkgver}"
- sed -i \
- -e 's|JUCE_JACK="0"|JUCE_JACK="1"|' \
- -e 's|buildVST="1"|buildVST="0"|' \
- Dexed.jucer
- Projucer --resave Dexed.jucer
-
cd "${srcdir}/${pkgname}-${pkgver}/Builds/Linux"
- make CONFIG=Release
+ make CONFIG=Release CXXFLAGS="-D JUCE_JACK=1 -D JUCE_ALSA=1 -D buildVST=0 -D buildStandalone=1"
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
+ make CONFIG=Release CXXFLAGS="-D JUCE_JACK=0 -D JUCE_ALSA=0 -D buildVST=1 -D buildStandalone=0"
cp -f build/Dexed.so "${srcdir}/${pkgname}-${pkgver}"
}