projects
/
ardour.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add OSC Lua bindings
[ardour.git]
/
gtk2_ardour
/
wscript
diff --git
a/gtk2_ardour/wscript
b/gtk2_ardour/wscript
index 251c7c06c4f0679ad427c1bee9e76d4686869b6b..36223bd2cbdd0e9f0a41fc17803a178fb74da710 100644
(file)
--- a/
gtk2_ardour/wscript
+++ b/
gtk2_ardour/wscript
@@
-122,6
+122,9
@@
gtk2_ardour_sources = [
'led.cc',
'level_meter.cc',
'location_ui.cc',
'led.cc',
'level_meter.cc',
'location_ui.cc',
+ 'lua_script_manager.cc',
+ 'luainstance.cc',
+ 'luawindow.cc',
'main.cc',
'main_clock.cc',
'marker.cc',
'main.cc',
'main_clock.cc',
'marker.cc',
@@
-207,6
+210,7
@@
gtk2_ardour_sources = [
'ruler_dialog.cc',
'save_as_dialog.cc',
'search_path_option.cc',
'ruler_dialog.cc',
'save_as_dialog.cc',
'search_path_option.cc',
+ 'script_selector.cc',
'selection.cc',
'selection_memento.cc',
'send_ui.cc',
'selection.cc',
'selection_memento.cc',
'send_ui.cc',
@@
-475,13
+479,10
@@
def build(bld):
]
obj.install_path = bld.env['DLLDIR']
obj.linkflags = ''
]
obj.install_path = bld.env['DLLDIR']
obj.linkflags = ''
- obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL'
- obj.uselib += ' GTKMM CANVAS FFTW3F'
- obj.uselib += ' AUDIOUNITS OSX GTKOSX LO '
- obj.uselib += ' TAGLIB '
+ obj.uselib = 'UUID FLAC FONTCONFIG GLIBMM GTHREAD GTK OGG CURL DL GTKMM CANVAS FFTW3F LO TAGLIB XML '
if sys.platform == 'darwin':
if sys.platform == 'darwin':
- obj.uselib += ' AUDIOUNITS OSX
GTKOSX
'
+ obj.uselib += ' AUDIOUNITS OSX '
obj.use += ' libappleutility'
obj.source += [ 'cocoacarbon.mm', 'bundle_env_cocoa.cc' ]
elif bld.env['build_target'] == 'mingw':
obj.use += ' libappleutility'
obj.source += [ 'cocoacarbon.mm', 'bundle_env_cocoa.cc' ]
elif bld.env['build_target'] == 'mingw':
@@
-578,7
+579,7
@@
def build(bld):
base_font = ""
# Set up font sizes
base_font = ""
# Set up font sizes
- if
bld.is_defined('GTKOSX'): # OS X fonts
+ if
sys.platform == 'darwin':
basefont = ""
font_sizes = {
'SMALLER' : '9',
basefont = ""
font_sizes = {
'SMALLER' : '9',
@@
-662,8
+663,8
@@
def build(bld):
# Menus
menus_argv = []
# Menus
menus_argv = []
- if
bld.is_defined('GTKOSX')
:
- menus_argv = [ '-E', '-P', '-D
GTKOSX
', '-' ]
+ if
sys.platform == 'darwin'
:
+ menus_argv = [ '-E', '-P', '-D
__APPLE__
', '-' ]
else:
menus_argv = [ '-E', '-P' ]
else:
menus_argv = [ '-E', '-P' ]
@@
-715,26
+716,20
@@
def build(bld):
# Keybindings
# Keybindings
- # 'SAE-de-keypad', 'SAE-de-nokeypad', 'SAE-us-keypad',
- # 'SAE-us-nokeypad', 'ergonomic-us'
-
# NATIVE ARDOUR BINDING FILES
# explicitly state the use of perl here so that it works on windows too
#
# NATIVE ARDOUR BINDING FILES
# explicitly state the use of perl here so that it works on windows too
#
- a_rule = 'perl ../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap ${SRC} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
-
- for b in [ 'mnemonic-us' ] :
+ a_rule = 'perl ../tools/fmt-bindings --platform="%s" --winkey="%s" --accelmap ${SRC[0].abspath()} >${TGT}' % (sys.platform, bld.env['WINDOWS_KEY'] )
+ for b in [ 'ardour' ] :
obj = bld(
obj = bld(
- target = b + '.
binding
s',
- source =
b + '.bindings.in'
,
+ target = b + '.
key
s',
+ source =
[ b + '.keys.in', 'mixer.bindings', 'processor_box.bindings', 'step_editing.bindings', 'monitor.bindings' ]
,
rule = a_rule
)
obj.install_path = bld.env['CONFDIR']
# not modified at present
bld.install_files(bld.env['CONFDIR'], 'dark.colors')
rule = a_rule
)
obj.install_path = bld.env['CONFDIR']
# not modified at present
bld.install_files(bld.env['CONFDIR'], 'dark.colors')
- bld.install_files(bld.env['CONFDIR'], 'step_editing.bindings')
- bld.install_files(bld.env['CONFDIR'], 'mixer.bindings')
# Icons/Images
bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))
# Icons/Images
bld.install_files(os.path.join (bld.env['DATADIR'], 'icons'), bld.path.ant_glob('icons/*.png'))