tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gtk-xfce-engine: add support to Gtk3
José Romildo Malaquias
9 years ago
f0da9ff4
f72a2faa
+5
-3
2 changed files
expand all
collapse all
unified
split
pkgs
desktops
xfce
core
gtk-xfce-engine.nix
default.nix
+4
-2
pkgs/desktops/xfce/core/gtk-xfce-engine.nix
···
1
1
-
{ stdenv, fetchurl, pkgconfig, intltool, gtk }:
1
1
+
{ stdenv, fetchurl, pkgconfig, intltool, gtk, withGtk3 ? false, gtk3 }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
p_name = "gtk-xfce-engine";
···
11
11
};
12
12
name = "${p_name}-${ver_maj}.${ver_min}";
13
13
14
14
-
buildInputs = [ pkgconfig intltool gtk ];
14
14
+
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional withGtk3 gtk3;
15
15
+
16
16
+
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
15
17
16
18
meta = {
17
19
homepage = http://www.xfce.org/;
+1
-1
pkgs/desktops/xfce/default.nix
···
21
21
22
22
exo = callPackage ./core/exo.nix { };
23
23
garcon = callPackage ./core/garcon.nix { };
24
24
-
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { }; # ToDo: when should be used?
24
24
+
gtk_xfce_engine = callPackage ./core/gtk-xfce-engine.nix { withGtk3 = true; }; # ToDo: when should be used?
25
25
libxfce4ui = callPackage ./core/libxfce4ui.nix { };
26
26
libxfce4ui_gtk3 = libxfce4ui.override { withGtk3 = true; };
27
27
libxfce4util = callPackage ./core/libxfce4util.nix { };