3
0
Fork 0
forked from mirrors/nixpkgs

qt54.qtbase: don't propagate gtk dependencies

It is not necessary to propagate the GTK dependencies if Qt is
configured with the GTK Style enabled.
This commit is contained in:
Thomas Tuegel 2016-01-23 09:33:45 -06:00
parent b0753cec2a
commit a6fd9e9be6

View file

@ -187,15 +187,15 @@ stdenv.mkDerivation {
]
# Qt doesn't directly need GLU (just GL), but many apps use, it's small and
# doesn't remain a runtime-dep if not used
++ lib.optionals mesaSupported [ mesa mesa_glu ]
++ lib.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf];
++ lib.optionals mesaSupported [ mesa mesa_glu ];
buildInputs =
[ bison flex gperf ruby ]
++ lib.optional developerBuild gdb
++ lib.optional (cups != null) cups
++ lib.optional (mysql != null) mysql.lib
++ lib.optional (postgresql != null) postgresql;
++ lib.optional (postgresql != null) postgresql
++ lib.optionals gtkStyle [gnome_vfs libgnomeui gtk GConf];
nativeBuildInputs = [ python perl pkgconfig ];