2015-09-27 17:11:01 +02:00
|
|
|
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
|
|
|
, gtk2, gtk3, kdelibs, libxcb, libpthreadstubs, libXdmcp
|
|
|
|
, glib, gdk_pixbuf
|
|
|
|
}:
|
2013-12-25 02:15:42 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
name = "kde-gtk-config-2.2.1";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://kde/stable/kde-gtk-config/2.2.1/src/kde-gtk-config-2.2.1.tar.xz";
|
|
|
|
sha256 = "11aw86jcjcg3ywnzrxy9x8dvd73my18k0if52fnvyvmb75z0v2cw";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2015-09-27 17:11:01 +02:00
|
|
|
gdk_pixbuf glib gtk2 gtk3 kdelibs libxcb libpthreadstubs libXdmcp
|
2013-12-25 02:15:42 +01:00
|
|
|
];
|
|
|
|
|
2015-09-27 17:11:01 +02:00
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
|
2014-10-06 15:31:47 +02:00
|
|
|
patches = [
|
|
|
|
./kde-gtk-config-2.2.1-install-paths.patch
|
|
|
|
./kde-gtk-config-follow-symlinks.patch
|
|
|
|
];
|
2013-12-25 02:15:42 +01:00
|
|
|
|
|
|
|
cmakeFlags = ''
|
2015-10-04 14:54:57 +02:00
|
|
|
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
|
|
|
|
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
|
2016-04-16 19:34:51 +02:00
|
|
|
-DGTK2_INCLUDE_DIRS=${gtk2.dev}/include/gtk-2.0
|
2013-12-25 02:15:42 +01:00
|
|
|
-DKDE4_LIBEXEC_INSTALL_DIR=lib/kde4/libexec
|
|
|
|
'';
|
|
|
|
|
2014-03-07 18:20:18 +01:00
|
|
|
meta = with stdenv.lib; {
|
2013-12-25 02:15:42 +01:00
|
|
|
homepage = https://projects.kde.org/projects/extragear/base/kde-gtk-config;
|
|
|
|
description = "GTK configuration module for KDE System Settings";
|
|
|
|
longDescription = ''
|
|
|
|
Configuration dialog to adapt GTK applications appearance to your taste under KDE.
|
|
|
|
Among its many features, it lets you:
|
|
|
|
- Choose which theme is used for GTK2 and GTK3 applications.
|
|
|
|
- Tweak some GTK applications behaviour.
|
|
|
|
- Select what icon theme to use in GTK applications.
|
|
|
|
- Select GTK applications default fonts.
|
|
|
|
- Easily browse and install new GTK2 and GTK3 themes.
|
|
|
|
'';
|
2014-03-07 18:20:18 +01:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.gpl3;
|
|
|
|
maintainers = [ maintainers.ttuegel ];
|
2013-12-25 02:15:42 +01:00
|
|
|
};
|
|
|
|
}
|