nixpkgs/pkgs/desktops/kde-4.2/extragear/ktorrent/default.nix
Lluís Batlle i Rossell abed7b8441 Made kde-4.2 packages work, adding the proper derivation attribute to get all qt include
paths into NIX_CFLAGS_COMPILE. This helps build kde42 packages, because they have a broken
FindQt4.cmake, which doesn't find properly the qt4 header files.

svn path=/nixpkgs/trunk/; revision=15841
2009-06-03 17:33:54 +00:00

16 lines
642 B
Nix

{stdenv, fetchurl, cmake, qt4, perl, gmp, taglib, boost, gettext,
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "ktorrent-3.2.1";
src = fetchurl {
url = http://ktorrent.org/downloads/3.2.1/ktorrent-3.2.1.tar.bz2;
sha256 = "e37324519fdd04cad2a489fb772cbe628d8ff9f578e2bb913b18a1404dd7c4eb";
};
includeAllQtDirs=true;
CMAKE_PREFIX_PATH=kdepimlibs;
cmakeFlags = "-DTASKMANAGER_INCLUDE_DIR=${kdebase_workspace}/include";
buildInputs = [ cmake qt4 perl gmp taglib boost gettext stdenv.gcc.libc
kdelibs kdepimlibs kdebase_workspace automoc4 phonon qca2 ];
}