Skip to content

Commit

Permalink
Update to latest dpf, enable AU
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Nov 6, 2024
1 parent 78b930f commit 9675b0a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 10 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ jobs:
target: [linux-arm64, linux-armhf, linux-i686, linux-riscv64, linux-x86_64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache faustpp build
uses: actions/cache@v3
uses: actions/cache@v4
id: faustpp
with:
path: build/faustpp/faustpp
Expand All @@ -29,13 +29,13 @@ jobs:
strategy:
matrix:
target: [macos-intel, macos-universal]
runs-on: macos-11
runs-on: macos-12
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache faustpp build
uses: actions/cache@v3
uses: actions/cache@v4
id: faustpp
with:
path: build/faustpp/faustpp
Expand All @@ -52,11 +52,11 @@ jobs:
target: [win32, win64]
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Cache faustpp build
uses: actions/cache@v3
uses: actions/cache@v4
id: faustpp
with:
path: build/faustpp/faustpp
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (C) 2022 Filipe Coelho <[email protected]>
Copyright (C) 2022-2024 Filipe Coelho <[email protected]>

Permission to use, copy, modify, and/or distribute this software for any purpose with
or without fee is hereby granted, provided that the above copyright notice and this
Expand Down
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ gen: $(PLUGIN_GENERATED_FILES)
# plugins target, for actual building the plugin stuff after its source code has been generated

define PLUGIN_BUILD
$(MAKE) ladspa lv2_dsp vst2 vst3 clap -C build/fadeli-$(1) -f $(CURDIR)/dpf/Makefile.plugins.mk APP_EXT=$(APP_EXT) NAME=fadeli-$(1) FILES_DSP=Plugin.cpp
$(MAKE) ladspa lv2_dsp vst2 vst3 clap au -C build/fadeli-$(1) -f $(CURDIR)/dpf/Makefile.plugins.mk APP_EXT=$(APP_EXT) NAME=fadeli-$(1) FILES_DSP=Plugin.cpp

endef

Expand All @@ -75,10 +75,14 @@ AS_LABEL = $(shell echo $(1) | tr - _)
AS_LV2_URI = urn:fadeli:$(1)
AS_CLAP_ID = studio.kx.distrho.fadeli.$(1)

# FIXME replace with a custom nice regex
AS_UNIQUE_ID = $(shell echo $(1) | base64 | cut -c 1-4)

FAUSTPP_ARGS = \
-Dbinary_name="fadeli-$(1)" \
-Dbrand="DISTRHO" \
-Dclapid="$(call AS_CLAP_ID,$(1))" \
-Duniqueid="$(call AS_UNIQUE_ID,$(1))" \
-Dhomepage="https://github.com/DISTRHO/Fadeli" \
-Dlabel="$(call AS_LABEL,$(1))" \
-Dlicense="ISC" \
Expand Down
2 changes: 1 addition & 1 deletion dpf
Submodule dpf updated 113 files
3 changes: 3 additions & 0 deletions template/DistrhoPluginInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
#define DISTRHO_PLUGIN_NUM_INPUTS {{inputs}}
#define DISTRHO_PLUGIN_NUM_OUTPUTS {{outputs}}

#define DISTRHO_PLUGIN_BRAND_ID Dstr
#define DISTRHO_PLUGIN_UNIQUE_ID {{uniqueid}}

enum Parameters {
// inputs
{% for p in active %}kParameter_{{p.meta.symbol|default("" ~ loop.index)}},
Expand Down

0 comments on commit 9675b0a

Please sign in to comment.