Phase 31: add CLAP, VST2 and VST3 mono effect hosting

This commit is contained in:
Johannes Findeisen 2026-10-27 17:34:46 +01:00
commit 9e0e4562d7
114 changed files with 10369 additions and 75 deletions

View file

@ -10,6 +10,8 @@ if not shutil.which("clang"):
jack = subprocess.run(["pkg-config", "--cflags", "jack"], capture_output=True, text=True) if shutil.which("pkg-config") else None
for source in sys.argv[1:]:
flags = []
if source == "src/plugin/modern.c":
flags = ["-isystem", "third_party/clap/include", "-isystem", "third_party/vst3"]
if source == "src/backend/jack_backend.c" and jack and jack.returncode == 0:
import shlex
flags = ["-DXTC_HAVE_JACK", *shlex.split(jack.stdout)]

View file

@ -32,6 +32,8 @@ def inventory(source, paths):
('bindir', 'xtc-check', None), ('bindir', 'xtc', None),
('desktopdir', 'xtc.desktop', source / 'packaging/xtc.desktop'),
('licensedir', 'LICENSE', source / 'LICENSE'),
('licensedir', 'CLAP-LICENSE', source / 'third_party/clap/LICENSE'),
('licensedir', 'VST3-C-API-LICENSE', source / 'third_party/vst3/LICENSE.txt'),
('docdir', 'README.md', source / 'README.md'),
('docdir', 'BINARY_MANIFEST.json', None)]
entries += [('includedir', 'xtc/' + p.name, p) for p in sorted((source / 'include/xtc').glob('*.h'))]