You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/wxpython/files/wxpython-4.0.6-no-webkit.patch

28 lines
1.4 KiB

diff -ru wxPython-4.0.5-orig/wscript wxPython-4.0.5/wscript
--- wxPython-4.0.5-orig/wscript 2019-05-18 22:03:12.000000000 -0400
+++ wxPython-4.0.5/wscript 2019-05-22 07:59:46.522966555 -0400
@@ -230,15 +230,6 @@
uselib_store='WXGL', mandatory=True,
msg='Finding libs for WXGL')
- if cfg.checkSetup(wxConfigDir, 'wxUSE_WEBVIEW'):
- wv_libs = '--libs webview,core,net'
- else:
- wv_libs = '--libs core,net'
- conf.check_cfg(path=conf.options.wx_config, package='',
- args='--cxxflags ' + wv_libs + rpath,
- uselib_store='WXWEBVIEW', mandatory=True,
- msg='Finding libs for WXWEBVIEW')
-
if isDarwin:
conf.check_cfg(path=conf.options.wx_config, package='',
args='--cxxflags --libs core,net' + rpath,
@@ -591,7 +582,6 @@
makeETGRule(bld, 'etg/_stc.py', '_stc', 'WXSTC')
makeETGRule(bld, 'etg/_html.py', '_html', 'WXHTML')
makeETGRule(bld, 'etg/_glcanvas.py', '_glcanvas', 'WXGL')
- makeETGRule(bld, 'etg/_html2.py', '_html2', 'WXWEBVIEW')
makeETGRule(bld, 'etg/_xml.py', '_xml', 'WXXML')
makeETGRule(bld, 'etg/_xrc.py', '_xrc', 'WXXRC')
makeETGRule(bld, 'etg/_richtext.py', '_richtext', 'WXHTML WXRICHTEXT')