2015-09-27 16:11:01 +01:00
|
|
|
{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
|
2014-05-08 17:09:47 +01:00
|
|
|
, gtk2, kde_workspace, kdelibs # Toolkit dependencies
|
2015-09-15 10:26:18 +01:00
|
|
|
, libpthreadstubs, libXdmcp, libxcb, xorg # X11 dependencies
|
2014-05-08 17:09:47 +01:00
|
|
|
}:
|
2013-12-28 15:42:10 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2014-05-08 17:09:47 +01:00
|
|
|
name = "qtcurve-1.8.18";
|
2013-12-28 15:42:10 +00:00
|
|
|
src = fetchurl {
|
2014-05-08 17:09:47 +01:00
|
|
|
url = "https://github.com/QtCurve/qtcurve/archive/1.8.18.tar.gz";
|
|
|
|
sha256 = "19kk11hgi6md1cl0hr0pklcczbl66jczahlkf5fr8j59ljgpr6c5";
|
2013-12-28 15:42:10 +00:00
|
|
|
};
|
|
|
|
|
2015-09-27 16:11:01 +01:00
|
|
|
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
|
|
|
|
|
2013-12-28 15:42:10 +00:00
|
|
|
buildInputs = [
|
|
|
|
gtk2
|
|
|
|
kde_workspace
|
|
|
|
kdelibs
|
|
|
|
libpthreadstubs
|
|
|
|
libXdmcp
|
|
|
|
libxcb
|
|
|
|
pkgconfig
|
2015-09-15 10:26:18 +01:00
|
|
|
xorg.libxshmfence
|
2013-12-28 15:42:10 +00:00
|
|
|
];
|
|
|
|
|
2014-05-08 18:54:36 +01:00
|
|
|
patches = [
|
|
|
|
./qtcurve-1.8.18-install-paths.patch
|
|
|
|
./qtcurve-1.8.18-toolbar-alpha.patch
|
|
|
|
];
|
2013-12-28 15:42:10 +00:00
|
|
|
|
|
|
|
cmakeFlags = ''
|
|
|
|
-DENABLE_QT5=OFF
|
|
|
|
-DQTC_QT4_ENABLE_KWIN=ON
|
|
|
|
'';
|
|
|
|
|
2014-03-07 17:20:18 +00:00
|
|
|
meta = with stdenv.lib; {
|
2013-12-28 15:42:10 +00:00
|
|
|
homepage = https://github.com/QtCurve/qtcurve;
|
|
|
|
description = "Widget styles for Qt4/KDE4 and gtk2";
|
2014-03-07 17:20:18 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
maintainers = [ maintainers.ttuegel ];
|
2013-12-28 15:42:10 +00:00
|
|
|
};
|
|
|
|
}
|