summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD12
-rw-r--r--aeffect.patch15
3 files changed, 29 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 60bd05fd6cb..6aa44831576 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,15 @@
-# Generated by mksrcinfo v8
-# Wed May 24 09:44:37 UTC 2017
pkgbase = steinberg-vst36
pkgdesc = Steinberg's VST SDK (version 3.6)
pkgver = 3.6.7
- pkgrel = 1
+ pkgrel = 2
url = http://www.steinberg.net/en/company/developers.html
arch = any
license = custom
provides = steinberg-vst
- source = http://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip
- md5sums = b4ed4f4f4be77b267f1821fc1413ea36
+ source = https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip
+ source = aeffect.patch
+ sha512sums = 54ed5101c4b1b07f2341c5c4440223f4de08f9a12b08cc335c5917297db74d1474ba84f06d0120f0b7ae074d9ad776250396269ac7617b69bbab7937c752e098
+ sha512sums = 571e841b6540bc55bc92333ddff0a67b09e47be03cec745c1ab543a8286c145bb2fe098551ccfb44bc1c04dc2bcaa522ac2cb460a12a7da3591e8e70c23439eb
pkgname = steinberg-vst36
diff --git a/PKGBUILD b/PKGBUILD
index d8072a84d1f..3ee5dc3d743 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,15 +4,21 @@
pkgname=steinberg-vst36
pkgver=3.6.7
-pkgrel=1
+pkgrel=2
pkgdesc="Steinberg's VST SDK (version 3.6)"
arch=('any')
url="http://www.steinberg.net/en/company/developers.html"
license=('custom')
provides=('steinberg-vst')
-source=(http://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip)
-md5sums=('b4ed4f4f4be77b267f1821fc1413ea36')
+source=("https://www.steinberg.net/sdk_downloads/vstsdk367_03_03_2017_build_352.zip"
+ "aeffect.patch")
+sha512sums=('54ed5101c4b1b07f2341c5c4440223f4de08f9a12b08cc335c5917297db74d1474ba84f06d0120f0b7ae074d9ad776250396269ac7617b69bbab7937c752e098'
+ '571e841b6540bc55bc92333ddff0a67b09e47be03cec745c1ab543a8286c145bb2fe098551ccfb44bc1c04dc2bcaa522ac2cb460a12a7da3591e8e70c23439eb')
+prepare() {
+ cd "$srcdir/VST_SDK/VST2_SDK/"
+ patch -p1 -i "${srcdir}/aeffect.patch"
+}
package() {
cd "$srcdir/VST_SDK/VST2_SDK/"
diff --git a/aeffect.patch b/aeffect.patch
new file mode 100644
index 00000000000..3e0356dd0ef
--- /dev/null
+++ b/aeffect.patch
@@ -0,0 +1,15 @@
+--- VST3 SDK/pluginterfaces/vst2.x/aeffect.h 2017-03-03 10:56:00.000000000 +0100
++++ VST3 SDK/pluginterfaces/vst2.x/aeffect.h 2020-02-07 21:49:58.291111777 +0100
+@@ -66,7 +66,11 @@
+ #pragma options push -a8
+ #elif defined(__GNUC__)
+ #pragma pack(push,8)
+- #define VSTCALLBACK __cdecl
++ #if defined(__linux__)
++ #define VSTCALLBACK
++ #else
++ #define VSTCALLBACK __cdecl
++ #endif
+ #elif defined(WIN32) || defined(__FLAT__) || defined CBUILDER
+ #pragma pack(push)
+ #pragma pack(8)