nixpkgs/pkgs/desktops/kde-4.4/extragear/ktorrent/default.nix
Lluís Batlle i Rossell ffcac187e8 Trying to get kde-4.4 build *normally*. That is, without the hack "includeAllQtDirs".
I patched properly their own copy of cmake findqt4 module, the same way as we had to
do in the cmake expression.
The findqt4 patch we have is already filled in the cmake buglist, but it seems it is
still not solved in in cmake 2.8.0

svn path=/nixpkgs/trunk/; revision=19960
2010-02-12 17:02:45 +00:00

21 lines
783 B
Nix

{stdenv, fetchurl, lib, cmake, qt4, perl, gmp, taglib, boost, gettext,
kdelibs, kdepimlibs, kdebase_workspace, automoc4, phonon, qca2}:
stdenv.mkDerivation {
name = "ktorrent-3.3.2";
src = fetchurl {
url = http://ktorrent.org/downloads/3.3.2/ktorrent-3.3.2.tar.bz2;
sha256 = "08s67nz6wml5bx595czw2gcvrfb09hw1n1rzbj1n8iprr1abcpz1";
};
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 ];
meta = {
description = "KDE integrated BitTorrent client";
license = "GPL";
homepage = http://ktorrent.org;
maintainers = [ lib.maintainers.sander ];
};
}