2020-06-03 16:34:08 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
, intltool
|
|
|
|
, pkg-config
|
|
|
|
, libX11
|
|
|
|
, gtk2
|
|
|
|
, gtk3
|
|
|
|
, withGtk3 ? true
|
|
|
|
}:
|
2014-02-19 15:38:44 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-16 13:31:42 +00:00
|
|
|
name = "lxappearance-0.6.3";
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
src = fetchurl {
|
2016-02-28 12:07:42 +00:00
|
|
|
url = "mirror://sourceforge/project/lxde/LXAppearance/${name}.tar.xz";
|
2017-02-16 13:31:42 +00:00
|
|
|
sha256 = "0f4bjaamfxxdr9civvy55pa6vv9dx1hjs522gjbbgx7yp1cdh8kj";
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
pkg-config
|
|
|
|
intltool
|
|
|
|
];
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
buildInputs = [
|
|
|
|
libX11
|
|
|
|
(if withGtk3 then gtk3 else gtk2)
|
|
|
|
];
|
2017-06-09 21:57:39 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
patches = [
|
|
|
|
./lxappearance-0.6.3-xdg.system.data.dirs.patch
|
|
|
|
];
|
2017-06-09 21:57:39 +01:00
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
|
2016-09-20 02:25:05 +01:00
|
|
|
|
2020-06-03 16:34:08 +01:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Lightweight program for configuring the theme and fonts of gtk applications";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://lxde.org/";
|
2020-06-03 16:34:08 +01:00
|
|
|
license = licenses.gpl2;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ hinton romildo ];
|
2014-02-19 15:38:44 +00:00
|
|
|
};
|
|
|
|
}
|