X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Fwscript;h=c2d4357fb6ce4f8f1e9553e5b02020912f0d6d6d;hp=22d9f0db6a18938d045c6446feaa6f121a5630c8;hb=0f13efdcc1a1994085b20940a2b9657a3f99bfcf;hpb=47e29203daec51d313ed8ab8ef759752bce18d45 diff --git a/src/wx/wscript b/src/wx/wscript index 22d9f0db6..c2d4357fb 100644 --- a/src/wx/wscript +++ b/src/wx/wscript @@ -40,6 +40,7 @@ sources = """ config_dialog.cc config_move_dialog.cc confirm_kdm_email_dialog.cc + content_advanced_dialog.cc content_colour_conversion_dialog.cc content_menu.cc content_panel.cc @@ -49,6 +50,7 @@ sources = """ controls.cc closed_captions_dialog.cc credentials_download_certificate_panel.cc + custom_scale_dialog.cc dcp_panel.cc dcpomatic_button.cc disk_warning_dialog.cc @@ -69,7 +71,6 @@ sources = """ film_name_location_dialog.cc film_viewer.cc filter_dialog.cc - filter_editor.cc focus_manager.cc fonts_dialog.cc full_config_dialog.cc @@ -89,7 +90,6 @@ sources = """ kdm_dialog.cc kdm_output_panel.cc kdm_timing_panel.cc - key_dialog.cc make_chain_dialog.cc markers_dialog.cc message_dialog.cc @@ -165,7 +165,7 @@ sources = """ def configure(conf): - wx_libs = 'core,richtext,adv,html,xml' + wx_libs = 'core,richtext,adv,html,xml,propgrid' try: wx_config = '/usr/lib64/wx/config/gtk2-unicode-3.0' @@ -199,7 +199,7 @@ def configure(conf): conf.env.append_value('CXXFLAGS', ['-DWGL_WGLEXT_PROTOTYPES']) if conf.options.static_wxwidgets: - # wx-config returns its static libraries as full paths, without -l prefixes, which confuses + # wx-config returns its static libraries as full paths, without -l prefixes, which confuses # check_cfg(). It puts the static libraries into LINKFLAGS_WXWIDGETS, so fish them out. stlibs = [] new_linkflags = [] @@ -223,6 +223,10 @@ def configure(conf): if not wx_version.startswith('3.0.'): conf.fatal('wxwidgets version 3.0.x is required; %s found' % wx_version) + config = conf.check_cfg(package='wxwidgets', path=wx_config, args='--selected-config').strip() + if config.find('gtk2') != -1: + conf.check_cfg(package='gtk+-2.0', args='--cflags --libs', uselib_store='GTK', mandatory=True) + try: conf.check_cfg(msg='Checking for RtAudio using pkg-config', package='rtaudio',