2016-05-03 19:18:23 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, withGtk3 ? false, gtk3 }:
|
2011-08-22 23:51:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 11:16:51 +00:00
|
|
|
p_name = "gtk-xfce-engine";
|
2016-05-03 19:14:50 +01:00
|
|
|
ver_maj = "3.2";
|
|
|
|
ver_min = "0";
|
2013-02-21 11:16:51 +00:00
|
|
|
|
2011-08-22 23:51:23 +01:00
|
|
|
src = fetchurl {
|
2013-02-21 11:16:51 +00:00
|
|
|
url = "mirror://xfce/src/xfce/${p_name}/${ver_maj}/${name}.tar.bz2";
|
2016-05-03 19:14:50 +01:00
|
|
|
sha256 = "1va71f3gpl8gikfkmqsd5ikgp7qj8b64jii2l98g1ylnv8xrqp47";
|
2011-08-22 23:51:23 +01:00
|
|
|
};
|
2013-02-21 11:16:51 +00:00
|
|
|
name = "${p_name}-${ver_maj}.${ver_min}";
|
2011-08-22 23:51:23 +01:00
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ intltool gtk ] ++ stdenv.lib.optional withGtk3 gtk3;
|
2016-05-03 19:18:23 +01:00
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
|
2011-08-22 23:51:23 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "GTK+ theme engine for Xfce";
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-09-06 00:30:26 +01:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2011-08-22 23:51:23 +01:00
|
|
|
};
|
|
|
|
}
|