summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristopher Arndt2016-10-23 20:22:39 +0200
committerChristopher Arndt2016-10-23 20:22:39 +0200
commit54612a12d845a9a9fc8124852db4834f8e75b730 (patch)
tree1b4294d390ca760350602539b47b458ef4031e78
parentf92fe655049f008407b0180c24382dfb8e44880a (diff)
downloadaur-oxefmsynth.tar.gz
New upstream version 1.3.5; use steinberg-vst36 pkg as makedepends
Signed-off-by: Christopher Arndt <chris@chrisarndt.de>
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD25
2 files changed, 23 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 100a4c22aa6..82b59b48ed1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,17 @@
+# Generated by mksrcinfo v8
+# Sun Oct 23 18:21:44 UTC 2016
pkgbase = oxefmsynth
pkgdesc = An 8-OP FM synthesizer VST plug-in
- pkgver = 1.3.4
- pkgrel = 2
+ pkgver = 1.3.5
+ pkgrel = 1
url = http://www.oxesoft.com/
arch = i686
arch = x86_64
license = GPL3
+ makedepends = steinberg-vst36
depends = mesa
- source = https://github.com/oxesoft/oxefmsynth/archive/v1.3.4.zip
- source = http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip
- md5sums = 44841c42b5a3d934f27d3cec73b20b57
- md5sums = 1ac422ebb4aa2e86061278412c347b55
+ source = https://github.com/oxesoft/oxefmsynth/archive/v1.3.5.zip
+ md5sums = d89f70be3a0b7bfb9883e08b86858b57
pkgname = oxefmsynth
diff --git a/PKGBUILD b/PKGBUILD
index 5ed186adbd6..18840f3c5de 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,31 @@
# Maintainer: Christopher Arndt <aur -at- chrisarndt -dot- de>
pkgname=oxefmsynth
-pkgver=1.3.4
-pkgrel=2
+pkgver=1.3.5
+pkgrel=1
pkgdesc="An 8-OP FM synthesizer VST plug-in"
arch=('i686' 'x86_64')
url="http://www.oxesoft.com/"
license=('GPL3')
depends=('mesa')
-source=("https://github.com/oxesoft/oxefmsynth/archive/v${pkgver}.zip"
- 'http://www.steinberg.net/sdk_downloads/vstsdk360_22_11_2013_build_100.zip')
-md5sums=('44841c42b5a3d934f27d3cec73b20b57'
- '1ac422ebb4aa2e86061278412c347b55')
+makedepends=('steinberg-vst36')
+source=("https://github.com/oxesoft/oxefmsynth/archive/v${pkgver}.zip")
+md5sums=('d89f70be3a0b7bfb9883e08b86858b57')
build() {
cd "$srcdir/$pkgname-$pkgver"
- export VSTSDK_PATH="$srcdir/VST3\\ SDK"
- # See: http://stackoverflow.com/questions/10789012/g-cdecl-calling-convention-with-steinberg-vst-sdk
- export CFLAGS='-D__cdecl=""'
+ export VSTSDK_PATH="/usr/include/vst36"
+ export CFLAGS="$CFLAGS -std=c++11 -Wno-narrowing"
+ for file in Makefile.vstlinux \
+ src/vst/oxevst.h \
+ src/vst/oxevsteditor.h \
+ src/vst/oxevsteditor.cpp \
+ src/vst/vsthostinterface.cpp; do
+ sed -i -e 's|public.sdk/source/vst2.x/||g' "$file"
+ done
+ sed -i -e 's| "VERSION_STR| " VERSION_STR|' src/synth/constants.h
+ sed -i -e 's|BMP_PATH| BMP_PATH |' src/toolkits/xlibtoolkit.cpp
make -f Makefile.vstlinux LIBS="-lX11 -lGL -lpthread -ldl"
}