mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
wxwidgets: resolve easy let ins
This commit is contained in:
parent
ee2f1269d0
commit
368ad4df2e
@ -28,7 +28,6 @@
|
||||
assert withGtk2 -> (!withWebKit);
|
||||
|
||||
let
|
||||
inherit (gst_all_1) gstreamer gst-plugins-base;
|
||||
gtk = if withGtk2 then gtk2 else gtk3;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -47,8 +46,8 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
gstreamer
|
||||
gst-plugins-base
|
||||
gst_all_1.gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gtk
|
||||
libSM
|
||||
libXinerama
|
||||
|
@ -31,8 +31,6 @@
|
||||
assert withGtk2 -> (!withWebKit);
|
||||
|
||||
let
|
||||
inherit (gnome2) GConf;
|
||||
inherit (gst_all_1) gst-plugins-base gstreamer;
|
||||
gtk = if withGtk2 then gtk2 else gtk3;
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
@ -55,8 +53,8 @@ stdenv.mkDerivation rec {
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
|
||||
buildInputs = [
|
||||
gst-plugins-base
|
||||
gstreamer
|
||||
gst_all_1.gst-plugins-base
|
||||
gst_all_1.gstreamer
|
||||
gtk
|
||||
libSM
|
||||
libXinerama
|
||||
@ -65,7 +63,7 @@ stdenv.mkDerivation rec {
|
||||
xorgproto
|
||||
]
|
||||
++ lib.optionals withGtk2 [
|
||||
GConf
|
||||
gnome2.GConf
|
||||
]
|
||||
++ lib.optional withMesa libGLU
|
||||
++ lib.optional withWebKit webkitgtk
|
||||
|
@ -20523,7 +20523,7 @@ with pkgs;
|
||||
};
|
||||
wxmac = callPackage ../development/libraries/wxwidgets/wxmac30.nix {
|
||||
inherit (darwin.stubs) derez rez setfile;
|
||||
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel WebKit;
|
||||
inherit (darwin.apple_sdk.frameworks) AGL Cocoa Kernel WebKit;
|
||||
};
|
||||
|
||||
wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; };
|
||||
|
Loading…
Reference in New Issue
Block a user