2013-02-21 11:16:51 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk
|
2018-02-25 02:23:58 +00:00
|
|
|
, libxfce4util, xfconf, libglade, libstartup_notification, hicolor-icon-theme }:
|
2015-10-14 12:23:37 +01:00
|
|
|
let
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "libxfcegui4";
|
|
|
|
ver_maj = "4.10";
|
|
|
|
ver_min = "0";
|
2015-10-14 12:23:37 +01:00
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
|
|
|
sha256 = "0cs5im0ib0cmr1lhr5765yliqjfyxvk4kwy8h1l8bn3mj6bzk0ib";
|
|
|
|
};
|
2015-10-14 12:23:37 +01:00
|
|
|
|
2016-09-01 10:07:23 +01:00
|
|
|
outputs = [ "out" "dev" "devdoc" ];
|
2013-02-21 11:16:51 +00:00
|
|
|
|
|
|
|
#TODO: gladeui
|
|
|
|
# By default, libxfcegui4 tries to install into libglade's prefix.
|
|
|
|
# Install into our own prefix instead.
|
2015-10-14 12:23:37 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-libglade-module-path=$(out)/lib/libglade/2.0"
|
|
|
|
];
|
2013-02-21 11:16:51 +00:00
|
|
|
#NOTE: missing keyboard library support is OK according to the mailing-list
|
|
|
|
|
|
|
|
buildInputs =
|
|
|
|
[ pkgconfig intltool gtk libxfce4util xfconf libglade
|
2018-02-25 02:23:58 +00:00
|
|
|
libstartup_notification hicolor-icon-theme
|
2013-02-21 11:16:51 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "Basic GUI library for Xfce";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.lgpl2Plus;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|