summary refs log tree commit diff
path: root/pkgs/desktops/xfce-4.6/core/libxfcegui4.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/desktops/xfce-4.6/core/libxfcegui4.nix')
-rw-r--r--pkgs/desktops/xfce-4.6/core/libxfcegui4.nix29
1 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/desktops/xfce-4.6/core/libxfcegui4.nix b/pkgs/desktops/xfce-4.6/core/libxfcegui4.nix
new file mode 100644
index 000000000000..52ee3a6262fc
--- /dev/null
+++ b/pkgs/desktops/xfce-4.6/core/libxfcegui4.nix
@@ -0,0 +1,29 @@
+{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, xfconf
+, libglade, libstartup_notification }:
+
+stdenv.mkDerivation rec {
+  name = "libxfcegui4-4.6.4";
+  
+  src = fetchurl {
+    url = "http://www.xfce.org/archive/xfce-4.6.2/src/${name}.tar.bz2";
+    sha1 = "a12c79f8fa14c5d1fc0fca5615a451b7d23f8695";
+  };
+
+  # By default, libxfcegui4 tries to install into libglade's prefix.
+  # Install into our own prefix instead.
+  preConfigure =
+    ''
+      configureFlags="--with-libglade-module-path=$out/lib/libglade/2.0"
+    '';
+
+  buildInputs =
+    [ pkgconfig intltool gtk libxfce4util xfconf libglade
+      libstartup_notification
+    ];
+
+  meta = {
+    homepage = http://www.xfce.org/;
+    description = "Basic GUI library for Xfce";
+    license = "LGPLv2+";
+  };
+}