Skip to content

Commit

Permalink
Add juce plugins
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Dec 31, 2023
1 parent 1ff7baf commit 16bbc1c
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 11 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: build
on: [push, pull_request]

env:
CACHE_VERSION_LINUX: 11
CACHE_VERSION_MACOS: 11
CACHE_VERSION_WIN64: 11
CACHE_VERSION_LINUX: 13
CACHE_VERSION_MACOS: 13
CACHE_VERSION_WIN64: 13
DEBIAN_FRONTEND: noninteractive
PAWPAW_SKIP_LTO: 1
PAWPAW_SKIP_TESTS: 1
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Set up dependencies
run: |
./src/PawPaw/.github/workflows/bootstrap-deps.sh linux-x86_64
apt-get install -yqq p7zip-full unzip wget xdg-user-dirs zip
apt-get install -yqq libfreetype6-dev p7zip-full unzip wget xdg-user-dirs zip
- name: Set up cache
id: cache
uses: actions/cache@v3
Expand Down Expand Up @@ -183,7 +183,7 @@ jobs:
- name: Set up dependencies
run: |
./src/PawPaw/.github/workflows/bootstrap-deps.sh win64
apt-get install -yqq p7zip-full unzip wget xdg-user-dirs xvfb zip
apt-get install -yqq libfreetype6-dev libx11-dev libxrandr-dev p7zip-full unzip wget xdg-user-dirs xvfb zip
- name: Set up cache
id: cache
uses: actions/cache@v3
Expand Down
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ PLUGINS += artyfx
PLUGINS += bolliedelay
PLUGINS += caps-lv2
PLUGINS += carla-plugins
PLUGINS += chow-centaur
PLUGINS += die-plugins
PLUGINS += dpf-plugins
PLUGINS += dragonfly-reverb
Expand All @@ -191,6 +192,7 @@ PLUGINS += neuralrecord
PLUGINS += neural-amp-modeler-lv2
PLUGINS += notes-lv2
PLUGINS += pitchtracking-series
PLUGINS += schrammel-ojd
# crashing linux https://github.com/moddevices/mod-app/actions/runs/6718888228/job/18259448918
# crashing macos https://github.com/moddevices/mod-app/actions/runs/6718888228/job/18259448741
# PLUGINS += screcord
Expand Down
2 changes: 1 addition & 1 deletion src/mod-plugin-builder
2 changes: 1 addition & 1 deletion utils/plugin-builder/plugin-builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ source src/PawPaw/local.env "${target}"
# ---------------------------------------------------------------------------------------------------------------------

export CFLAGS+="-D__MOD_DEVICES__ -D_MOD_DESKTOP"
export CXXFLAGS+="-D__MOD_DEVICES__ -D_MOD_DESKTOP"
export CXXFLAGS+="-D__MOD_DEVICES__ -D_MOD_DESKTOP -DJUCE_AUDIOPROCESSOR_NO_GUI=1"

export CMAKE
export PAWPAW_BUILDDIR
Expand Down
6 changes: 3 additions & 3 deletions utils/plugin-builder/validate-plugins.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function convert_path() {
}

if [ -e mod-ui.exe ]; then
source ../PawPaw/local.env win64
source ../src/PawPaw/local.env win64
DOCS_DIR=$(xdg-user-dir DOCUMENTS)
LV2_PATH="$(convert_path $(pwd)/plugins)"
OS_SEP="\\"
Expand All @@ -29,7 +29,7 @@ elif [ -e mod-app.app ]; then
LV2_PATH="$(pwd)/mod-app.app/Contents/PlugIns/LV2"
OS_SEP='/'
else
source ../PawPaw/local.env linux
source ../src/PawPaw/local.env linux
DOCS_DIR=$(xdg-user-dir DOCUMENTS)
LV2_PATH="$(pwd)/plugins"
OS_SEP='/'
Expand All @@ -49,7 +49,7 @@ mkdir -p "${DOCS_DIR}/MOD App/keys"
mkdir -p "${DOCS_DIR}/MOD App/user-files/Audio Recordings"

if [ -z "${EXE_WRAPPER}" ] && [ -n "${VALGRIND}" ] && [ "${VALGRIND}" -eq 1 ]; then
EXE_WRAPPER="valgrind --leak-check=full --track-origins=yes --keep-debuginfo=yes --suppressions=../mod-plugin-builder/plugins-dep/valgrind-libdl.supp"
EXE_WRAPPER="valgrind --leak-check=full --track-origins=yes --keep-debuginfo=yes --suppressions=../src/mod-plugin-builder/plugins-dep/valgrind-libdl.supp"
fi

PLUGINS=($(${EXE_WRAPPER} "${PAWPAW_PREFIX}/lib/carla/carla-discovery-native${APP_EXT}" lv2 ":all" 2>/dev/null | tr -dC '[:print:]\n' | awk 'sub("carla-discovery::label::","")'))
Expand Down

0 comments on commit 16bbc1c

Please sign in to comment.