3 from waflib import Logs
11 dci_metadata_dialog.cc
17 gain_calculator_dialog.cc
28 conf.check_cfg(msg='Checking for wxWidgets', package='', path=conf.options.wx_config,
29 args='--cppflags --cxxflags --libs', uselib_store='WXWIDGETS', mandatory=True)
31 wx_version = conf.check_cfg(package='', path=conf.options.wx_config, args='--version').strip()
33 if wx_version != '2.9.4':
34 conf.fatal('wxwidgets version 2.9.4 is required; %s found' % wx_version)
38 obj = bld(features = 'cxx cxxstlib')
40 obj = bld(features = 'cxx cxxshlib')
42 obj.name = 'libdvdomatic-wx'
43 obj.includes = [ '..' ]
44 obj.export_includes = ['.']
45 obj.uselib = 'WXWIDGETS'
46 obj.use = 'libdvdomatic'
48 obj.target = 'dvdomatic-wx'
50 i18n.po_to_mo(os.path.join('src', 'wx'), 'libdvdomatic-wx', bld)
53 i18n.pot(os.path.join('src', 'wx'), sources, 'libdvdomatic-wx')
56 i18n.pot_merge(os.path.join('src', 'wx'), 'libdvdomatic-wx')