Merge pull request #927 from jpcima/refork-vst3sdk

Use a fork of VST public.sdk
This commit is contained in:
JP Cimalando 2021-06-23 22:39:23 +02:00 committed by GitHub
commit 4bbcea4381
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 28 deletions

View file

@ -251,19 +251,6 @@ jobs:
run: |
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
/usr/i686-w64-mingw32/include/dwrite_3.h
- name: Fix VST sources (case)
shell: bash
# need to convert some includes to lower case (as of VST 3.7.1)
run: |
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
xargs -0 sed -i 's/<Windows.h>/<windows.h>/'
- name: Fix VST sources (includes)
shell: bash
# need to add include <limits> (as of VST 3.7.2)
run: |
sed -i '0,/#include </s//#include <limits>\n#include </' \
"$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/main/moduleinit.h
- name: Create Build Environment
shell: bash
working-directory: ${{runner.workspace}}
@ -327,19 +314,6 @@ jobs:
run: |
cp -vf "$GITHUB_WORKSPACE"/scripts/mingw_dwrite_3.h \
/usr/x86_64-w64-mingw32/include/dwrite_3.h
- name: Fix VST sources (case)
shell: bash
# need to convert some includes to lower case (as of VST 3.7.1)
run: |
find "$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK -type d -name source -exec \
find {} -type f -name '*.[hc]' -o -name '*.[hc]pp' -print0 \; | \
xargs -0 sed -i 's/<Windows.h>/<windows.h>/'
- name: Fix VST sources (includes)
shell: bash
# need to add include <limits> (as of VST 3.7.2)
run: |
sed -i '0,/#include </s//#include <limits>\n#include </' \
"$GITHUB_WORKSPACE"/plugins/vst/external/VST_SDK/VST3_SDK/public.sdk/source/main/moduleinit.h
- name: Create Build Environment
shell: bash
working-directory: ${{runner.workspace}}

2
.gitmodules vendored
View file

@ -13,7 +13,7 @@
shallow = true
[submodule "vst/external/VST_SDK/VST3_SDK/public.sdk"]
path = plugins/vst/external/VST_SDK/VST3_SDK/public.sdk
url = https://github.com/steinbergmedia/vst3_public_sdk.git
url = https://github.com/sfztools/vst3_public_sdk.git
shallow = true
[submodule "vst/external/VST_SDK/VST3_SDK/vstgui4"]
path = plugins/editor/external/vstgui4

@ -1 +1 @@
Subproject commit c3948deb407bdbff89de8fb6ab8500ea4df9d6d9
Subproject commit d69d011fa08c3977928f7da0010f8938f93fd370