2017-10-31 05:17:59 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, exo, gtk, garcon, libxfce4util
|
|
|
|
, libxfce4ui, xfconf, libXi, upower ? null, libnotify ? null
|
|
|
|
, libXcursor ? null, xf86inputlibinput ? null, libxklavier ? null }:
|
|
|
|
|
2015-10-14 12:23:37 +01:00
|
|
|
let
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "xfce4-settings";
|
2015-03-12 21:46:47 +00:00
|
|
|
ver_maj = "4.12";
|
2016-09-17 13:59:46 +01:00
|
|
|
ver_min = "1";
|
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";
|
2016-09-17 13:59:46 +01:00
|
|
|
sha256 = "0x35i1cvkqp0hib1knwa58mckdwrfbhaisz4bsx6bbbx385llj7n";
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
2013-08-15 15:10:34 +01:00
|
|
|
|
|
|
|
patches = [ ./xfce4-settings-default-icon-theme.patch ];
|
|
|
|
|
2017-10-31 05:17:59 +00:00
|
|
|
postPatch = ''
|
|
|
|
for f in $(find . -name \*.c); do
|
|
|
|
substituteInPlace $f --replace \"libinput-properties.h\" '<xorg/libinput-properties.h>'
|
|
|
|
done
|
|
|
|
'';
|
|
|
|
|
|
|
|
nativeBuildInputs = [ pkgconfig intltool ];
|
2016-09-17 13:59:46 +01:00
|
|
|
|
2017-10-31 05:17:59 +00:00
|
|
|
buildInputs = [
|
|
|
|
exo
|
|
|
|
gtk
|
|
|
|
garcon
|
|
|
|
libxfce4util
|
|
|
|
libxfce4ui
|
|
|
|
xfconf
|
|
|
|
libXi
|
|
|
|
upower
|
|
|
|
libnotify
|
|
|
|
libXcursor
|
|
|
|
xf86inputlibinput
|
|
|
|
libxklavier
|
|
|
|
];
|
2013-08-15 15:10:34 +01:00
|
|
|
|
2015-10-14 12:23:37 +01:00
|
|
|
configureFlags = [ "--enable-pluggable-dialogs" "--enable-sound-settings" ];
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2017-11-16 20:40:33 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2015-10-14 12:23:37 +01:00
|
|
|
meta = with stdenv.lib; {
|
2019-04-15 00:25:45 +01:00
|
|
|
homepage = https://www.xfce.org/projects/xfce4-settings;
|
2013-02-21 11:16:51 +00:00
|
|
|
description = "Settings manager for Xfce";
|
2015-10-14 12:23:37 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.eelco ];
|
2013-02-21 11:16:51 +00:00
|
|
|
};
|
|
|
|
}
|