2011-08-23 00:51:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, libxfce4util, xfconf
|
|
|
|
, libglade, libstartup_notification }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 12:16:51 +01:00
|
|
|
p_name = "libxfce4ui";
|
|
|
|
ver_maj = "4.10";
|
|
|
|
ver_min = "0";
|
|
|
|
|
2011-08-23 00:51:23 +02:00
|
|
|
src = fetchurl {
|
2013-02-21 12:16:51 +01:00
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "1qm31s6568cz4c8rl9fsfq0xmf7pldxm0ki62gx1cpybihlgmfd2";
|
2011-08-23 00:51:23 +02:00
|
|
|
};
|
2013-02-21 12:16:51 +01:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2011-08-23 00:51:23 +02:00
|
|
|
|
2013-02-21 12:16:51 +01:00
|
|
|
#TODO: gladeui
|
2011-08-23 00:51:23 +02:00
|
|
|
# Install into our own prefix instead.
|
|
|
|
preConfigure =
|
|
|
|
''
|
|
|
|
configureFlags="--with-libglade-module-path=$out/lib/libglade/2.0"
|
|
|
|
'';
|
|
|
|
|
|
|
|
buildInputs =
|
2013-02-21 12:16:51 +01:00
|
|
|
[ pkgconfig intltool gtk libxfce4util xfconf libglade
|
2011-08-23 00:51:23 +02:00
|
|
|
libstartup_notification
|
|
|
|
];
|
|
|
|
|
2013-11-12 12:44:20 +01:00
|
|
|
preFixup = "rm $out/share/icons/hicolor/icon-theme.cache";
|
|
|
|
|
2011-08-23 00:51:23 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "Basic GUI library for Xfce";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2011-08-23 00:51:23 +02:00
|
|
|
};
|
|
|
|
}
|