nixpkgs/pkgs/misc/themes/qtcurve/default.nix
Thomas Tuegel 2e0589b4ca kde414: build with kdelibs-4.14.12
Upstream changes to the build system required adjusting many packages'
dependencies. On the Nixpkgs side, we no longer propagate the dependency
on cmake (to reduce closure size), so downstream dependencies had to be
adjusted for most packages that depend on kdelibs.
2015-09-27 15:08:12 -05:00

44 lines
1.0 KiB
Nix

{ stdenv, fetchurl, automoc4, cmake, gettext, perl, pkgconfig
, gtk2, kde_workspace, kdelibs # Toolkit dependencies
, libpthreadstubs, libXdmcp, libxcb, xorg # X11 dependencies
}:
stdenv.mkDerivation {
name = "qtcurve-1.8.18";
src = fetchurl {
url = "https://github.com/QtCurve/qtcurve/archive/1.8.18.tar.gz";
sha256 = "19kk11hgi6md1cl0hr0pklcczbl66jczahlkf5fr8j59ljgpr6c5";
};
nativeBuildInputs = [ automoc4 cmake gettext perl pkgconfig ];
buildInputs = [
gtk2
kde_workspace
kdelibs
libpthreadstubs
libXdmcp
libxcb
pkgconfig
xorg.libxshmfence
];
patches = [
./qtcurve-1.8.18-install-paths.patch
./qtcurve-1.8.18-toolbar-alpha.patch
];
cmakeFlags = ''
-DENABLE_QT5=OFF
-DQTC_QT4_ENABLE_KWIN=ON
'';
meta = with stdenv.lib; {
homepage = https://github.com/QtCurve/qtcurve;
description = "Widget styles for Qt4/KDE4 and gtk2";
platforms = platforms.linux;
license = licenses.lgpl21Plus;
maintainers = [ maintainers.ttuegel ];
};
}