mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 09:31:01 +00:00
qt4: enable gtk2 by default
This commit is contained in:
parent
75f1a55fbe
commit
b5258982d2
|
@ -6,7 +6,8 @@
|
||||||
, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
|
, buildMultimedia ? stdenv.isLinux, alsaLib, gstreamer, gst-plugins-base
|
||||||
, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
|
, buildWebkit ? (stdenv.isLinux || stdenv.isDarwin)
|
||||||
, flashplayerFix ? false, gdk_pixbuf
|
, flashplayerFix ? false, gdk_pixbuf
|
||||||
, gtkStyle ? false, libgnomeui, gtk2, GConf, gnome_vfs
|
, gtkStyle ? true, gtk2
|
||||||
|
, gnomeStyle ? false, libgnomeui, GConf, gnome_vfs
|
||||||
, developerBuild ? false
|
, developerBuild ? false
|
||||||
, docs ? false
|
, docs ? false
|
||||||
, examples ? false
|
, examples ? false
|
||||||
|
@ -73,14 +74,15 @@ stdenv.mkDerivation rec {
|
||||||
glibc = stdenv.cc.libc.out;
|
glibc = stdenv.cc.libc.out;
|
||||||
openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
|
openglDriver = if mesaSupported then mesa.driverLink else "/no-such-path";
|
||||||
})
|
})
|
||||||
] ++ stdenv.lib.optional gtkStyle (substituteAll {
|
] ++ stdenv.lib.optional gtkStyle (substituteAll ({
|
||||||
src = ./dlopen-gtkstyle.diff;
|
src = ./dlopen-gtkstyle.diff;
|
||||||
# substituteAll ignores env vars starting with capital letter
|
# substituteAll ignores env vars starting with capital letter
|
||||||
gconf = GConf.out;
|
|
||||||
gtk = gtk2.out;
|
gtk = gtk2.out;
|
||||||
|
} // stdenv.lib.optionalAttrs gnomeStyle {
|
||||||
|
gconf = GConf.out;
|
||||||
libgnomeui = libgnomeui.out;
|
libgnomeui = libgnomeui.out;
|
||||||
gnome_vfs = gnome_vfs.out;
|
gnome_vfs = gnome_vfs.out;
|
||||||
})
|
}))
|
||||||
++ stdenv.lib.optional flashplayerFix (substituteAll {
|
++ stdenv.lib.optional flashplayerFix (substituteAll {
|
||||||
src = ./dlopen-webkit-nsplugin.diff;
|
src = ./dlopen-webkit-nsplugin.diff;
|
||||||
gtk = gtk2.out;
|
gtk = gtk2.out;
|
||||||
|
|
Loading…
Reference in a new issue