gtk-xfce-engine: add support to Gtk3
This commit is contained in:
parent
f72a2faa28
commit
f0da9ff412
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, pkgconfig, intltool, gtk }:
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, withGtk3 ? false, gtk3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
p_name = "gtk-xfce-engine";
|
p_name = "gtk-xfce-engine";
|
||||||
|
@ -11,7 +11,9 @@ stdenv.mkDerivation rec {
|
||||||
};
|
};
|
||||||
name = "${p_name}-${ver_maj}.${ver_min}";
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
||||||
|
|
||||||
buildInputs = [ pkgconfig intltool gtk ];
|
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional withGtk3 gtk3;
|
||||||
|
|
||||||
|
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.xfce.org/;
|
homepage = http://www.xfce.org/;
|
||||||
|
|
|
@ -21,7 +21,7 @@ xfce_self = rec { # the lines are very long but it seems better than the even-od
|
||||||
|
|
||||||
exo = callPackage ./core/exo.nix { };
|
exo = callPackage ./core/exo.nix { };
|
||||||
garcon = callPackage ./core/garcon.nix { };
|
garcon = callPackage ./core/garcon.nix { };
|
||||||
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { }; # ToDo: when should be used?
|
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { withGtk3 = true; }; # ToDo: when should be used?
|
||||||
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
|
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
|
||||||
libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
|
libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
|
||||||
libxfce4util = callPackage ./core/libxfce4util.nix { };
|
libxfce4util = callPackage ./core/libxfce4util.nix { };
|
||||||
|
|
Loading…
Reference in New Issue