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:
parent
02cef04c81
commit
0b2dd3a12f
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, intltool, gtk, gtk3 }:
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, enableGtk3Support ? false, gtk3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
p_name = "gtk-xfce-engine";
|
p_name = "gtk-xfce-engine";
|
||||||
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
|
|||||||
name = "${p_name}-${ver_maj}.${ver_min}";
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
||||||
|
|
||||||
#TODO: gtk3
|
#TODO: gtk3
|
||||||
buildInputs = [ pkgconfig intltool gtk gtk3 ];
|
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional enableGtk3Support gtk;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.xfce.org/;
|
homepage = http://www.xfce.org/;
|
||||||
|
Loading…
Reference in New Issue
Block a user