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