summary refs log tree commit diff
path: root/pkgs/desktops/xfce/core/libxfcegui4.nix
blob: d9e5cce25e852d1028af8180e45b55ee05d59c9d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
{ stdenv, fetchurl, pkgconfig, intltool, gtk
, libxfce4util, xfconf, libglade, libstartup_notification, hicolor_icon_theme }:
let
  p_name  = "libxfcegui4";
  ver_maj = "4.10";
  ver_min = "0";
in
stdenv.mkDerivation rec {
  name = "${p_name}-${ver_maj}.${ver_min}";

  src = fetchurl {
    url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
    sha256 = "0cs5im0ib0cmr1lhr5765yliqjfyxvk4kwy8h1l8bn3mj6bzk0ib";
  };

  outputs = [ "dev" "out" "docdev" ];

  #TODO: gladeui
  # By default, libxfcegui4 tries to install into libglade's prefix.
  # Install into our own prefix instead.
  configureFlags = [
    "--with-libglade-module-path=$(out)/lib/libglade/2.0"
  ];
  #NOTE: missing keyboard library support is OK according to the mailing-list

  buildInputs =
    [ pkgconfig intltool gtk libxfce4util xfconf libglade
      libstartup_notification hicolor_icon_theme
    ];

  meta = {
    homepage = http://www.xfce.org/;
    description = "Basic GUI library for Xfce";
    license = stdenv.lib.licenses.lgpl2Plus;
  };
}