no need to patch if old wxWebView is used
commitbb8759f9286856292e52f02735f45994f6be90bf
authorVolth <volth@webmaster.ms>
dateSun 28 May 2017, 10:09 (10 years ago)
parenta195c04
pkgs/development/libraries/wxwidgets/3.0/default.nix+3−4
@@ -37,13 +37,12 @@ stdenv.mkDerivation {
3737
3838 propagatedBuildInputs = optional stdenv.isDarwin AGL;
3939
40− patches = [
40+ patches =
4141 # "Add support for WebKit2GTK+ in wxWebView". Will be in 3.0.4
42− (fetchpatch {
42+ optional (!withGtk2) (fetchpatch {
4343 url = "https://github.com/wxWidgets/wxWidgets/commit/ec6e54bc893fb7516731ca9c71e0d0bbc5ae9ff7.patch";
4444 sha256 = "0gxd83xajm7gdv9rdzyvqwa2p5nz29nr23i0zx2dgfpsvz2qjp3q";
45− })
46− ];
45+ });
4746
4847 configureFlags =
4948 [ "--disable-precomp-headers" "--enable-mediactrl"