2011-08-06 16:28:15 +02:00
|
|
|
{ stdenv, fetchurl, cmake, automoc4, libktorrent, taglib, kdepimlibs, boost
|
|
|
|
, gettext, kdebase_workspace, qt4, kdelibs, phonon }:
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = pname + "-" + version;
|
|
|
|
|
|
|
|
pname = "ktorrent";
|
2012-01-19 21:28:05 +01:00
|
|
|
version = "4.1.3";
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${meta.homepage}/downloads/${version}/${name}.tar.bz2";
|
2012-01-19 21:28:05 +01:00
|
|
|
sha256 = "0ih68bml6ic3mxk5l4ypgmxwyg9mglp57gw5igrnm5yszm7jz19g";
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
|
2012-01-19 21:28:05 +01:00
|
|
|
patches = [ ./find-workspace.diff ./drop-taskmanager-dependency.patch ];
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
KDEDIRS = libktorrent;
|
|
|
|
|
2011-08-06 16:28:15 +02:00
|
|
|
buildInputs =
|
|
|
|
[ cmake qt4 kdelibs automoc4 phonon libktorrent boost taglib kdepimlibs
|
|
|
|
gettext kdebase_workspace
|
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
2010-09-13 16:23:02 +02:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "KDE integrated BtTorrent client";
|
|
|
|
homepage = http://ktorrent.org;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ sander urkud ];
|
2011-08-26 15:49:23 +02:00
|
|
|
inherit (libktorrent.meta) platforms;
|
2010-09-13 16:23:02 +02:00
|
|
|
};
|
|
|
|
}
|