Xfce: Don't depend on GTK+ 3 by default

Given that Xfce is intended as a light-weight desktop environment,
pulling in two versions of GTK+ by default is not ideal.
This commit is contained in:
Eelco Dolstra 2014-04-29 14:40:19 +02:00
parent 02cef04c81
commit 0b2dd3a12f

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, intltool, gtk, gtk3 }:
{ stdenv, fetchurl, pkgconfig, intltool, gtk, enableGtk3Support ? false, gtk3 }:
stdenv.mkDerivation rec {
p_name = "gtk-xfce-engine";
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
name = "${p_name}-${ver_maj}.${ver_min}";
#TODO: gtk3
buildInputs = [ pkgconfig intltool gtk gtk3 ];
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional enableGtk3Support gtk;
meta = {
homepage = http://www.xfce.org/;