'ardour_ui_ed.cc',
'ardour_ui_mixer.cc',
'ardour_ui_options.cc',
+ 'ardour_window.cc',
'audio_clock.cc',
'audio_region_editor.cc',
'audio_region_view.cc',
'midi_tracer.cc',
'missing_file_dialog.cc',
'missing_plugin_dialog.cc',
+ 'mixer_actor.cc',
'mixer_group_tabs.cc',
'mixer_strip.cc',
'mixer_ui.cc',
'utils.cc',
'verbose_cursor.cc',
'version.cc',
+ 'visibility_group.cc',
'volume_controller.cc',
'waveview.cc',
'window_proxy.cc'
autowaf.check_pkg(conf, 'libgnomecanvasmm-2.6',
uselib_store='GNOMECANVASMM', atleast_version='2.16')
autowaf.check_pkg(conf, 'ogg', uselib_store='OGG', atleast_version='1.1.2')
+ autowaf.check_pkg(conf, 'x11', uselib_store='X11', atleast_version='1.3', mandatory=False)
conf.write_config_header('gtk2ardour-config.h', remove=False)
if sys.platform == 'darwin':
obj.use += ' libappleutility'
obj.defines = [
- 'PACKAGE="gtk2_ardour"',
+ 'PACKAGE="gtk2_ardour3"',
'VERSIONSTRING="' + bld.env['VERSION'] + '"',
'DATA_DIR="' + os.path.normpath(bld.env['DATADIR']) + '"',
'CONFIG_DIR="' + os.path.normpath(bld.env['SYSCONFDIR']) + '"',
if bld.is_defined('FREESOUND'):
obj.source += [ 'sfdb_freesound_mootcher.cc' ]
+ obj.defines += [ 'FREESOUND' ]
if bld.is_defined('VST_SUPPORT'):
obj.source += [ 'vst_pluginui.cc' ]
obj.defines += [ 'VST_SUPPORT' ]
- bld.env.append ('LINKFLAGS', '-lX11')
+ obj.uselib += ' X11 '
if bld.is_defined('LXVST_SUPPORT'):
- obj.source += [ 'lxvst_pluginui.cc' ]
+ obj.source += [ 'vstfxwin.cc', 'lxvst_pluginui.cc' ]
obj.defines += [ 'LXVST_SUPPORT' ]
- obj.linkflags += [ '-lX11' ]
-
+ obj.uselib += ' X11 '
+
if bld.is_defined('PHONE_HOME'):
obj.defines += [ 'PHONE_HOME' ]
# not modified at present
bld.install_files(os.path.join(bld.env['SYSCONFDIR'], 'ardour3'),
'step_editing.bindings')
+ bld.install_files(os.path.join(bld.env['SYSCONFDIR'], 'ardour3'),
+ 'mixer.bindings')
# Icons/Images
bld.install_files('${DATADIR}/ardour3/icons', bld.path.ant_glob('icons/*.png'))
# i18n
if bld.is_defined('ENABLE_NLS'):
- mo_files = bld.path.ant_glob ('po/*.mo')
+ mo_files = bld.path.ant_glob('po/*.mo')
for mo in mo_files:
- lang = os.path.basename (mo).replace ('.mo', '')
- bld.install_as (os.path.join(bld.env['PREFIX'], 'share', 'locale',
- lang, 'LC_MESSAGES', APPNAME + '.mo'),
- mo)
+ lang = os.path.basename(mo.srcpath()).replace('.mo', '')
+ bld.install_as(os.path.join(bld.env['PREFIX'], 'share', 'locale',
+ lang, 'LC_MESSAGES', APPNAME + '.mo'),
+ mo)
def i18n(bld):
- autowaf.build_i18n(bld, srcdir, 'gtk2_ardour', APPNAME, gtk2_ardour_sources)
+ autowaf.build_i18n(bld, top, 'gtk2_ardour', APPNAME, gtk2_ardour_sources,
+ 'Paul Davis')