Phase 31: add CLAP, VST2 and VST3 mono effect hosting
This commit is contained in:
parent
90eac33a71
commit
9e0e4562d7
114 changed files with 10369 additions and 75 deletions
|
|
@ -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)]
|
||||
|
|
|
|||
|
|
@ -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'))]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue