mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-02 03:47:42 +01:00
make available panners dependent on program name
This commit is contained in:
parent
5aa834e1d8
commit
f1bb33ee7e
1 changed files with 6 additions and 1 deletions
|
|
@ -1,14 +1,15 @@
|
|||
#!/usr/bin/env python
|
||||
from waflib.extras import autowaf as autowaf
|
||||
from waflib import Options
|
||||
import os
|
||||
|
||||
# Mandatory variables
|
||||
top = '.'
|
||||
out = 'build'
|
||||
|
||||
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
|
||||
|
||||
def options(opt):
|
||||
|
||||
autowaf.set_options(opt)
|
||||
|
||||
def sub_config_and_use(conf, name, has_objects = True):
|
||||
|
|
@ -23,5 +24,9 @@ def configure(conf):
|
|||
sub_config_and_use(conf, i)
|
||||
|
||||
def build(bld):
|
||||
if Options.options.program_name == 'TracksLive':
|
||||
panners = [ '1in2out', 'vbap', 'stereobalance' ]
|
||||
else:
|
||||
panners = [ '2in2out', '1in2out', 'vbap', 'stereobalance' ]
|
||||
for i in panners:
|
||||
bld.recurse(i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue