2016-05-03 20:18:23 +02:00
|
|
|
{ stdenv, fetchurl, pkgconfig, intltool, gtk, withGtk3 ? false, gtk3 }:
|
2011-08-23 00:51:23 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2013-02-21 12:16:51 +01:00
|
|
|
p_name = "gtk-xfce-engine";
|
2016-05-03 20:14:50 +02:00
|
|
|
ver_maj = "3.2";
|
|
|
|
ver_min = "0";
|
2013-02-21 12:16:51 +01:00
|
|
|
|
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";
|
2016-05-03 20:14:50 +02:00
|
|
|
sha256 = "1va71f3gpl8gikfkmqsd5ikgp7qj8b64jii2l98g1ylnv8xrqp47";
|
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
|
|
|
|
2016-05-03 20:18:23 +02:00
|
|
|
buildInputs = [ pkgconfig intltool gtk ] ++ stdenv.lib.optional withGtk3 gtk3;
|
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional withGtk3 "--enable-gtk3";
|
2011-08-23 00:51:23 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.xfce.org/;
|
|
|
|
description = "GTK+ theme engine for Xfce";
|
2014-06-19 06:19:00 +02:00
|
|
|
license = stdenv.lib.licenses.gpl2Plus;
|
2011-09-06 01:30:26 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.eelco ];
|
2011-08-23 00:51:23 +02:00
|
|
|
};
|
|
|
|
}
|