KTorrent 4.1.3, fix build with KDE 4.8
svn path=/nixpkgs/trunk/; revision=31713
This commit is contained in:
@@ -1,18 +1,22 @@
|
||||
{ stdenv, fetchurl, kdelibs, cmake, gmp, qca2, boost, gettext, qt4, automoc4
|
||||
, phonon, libgcrypt }:
|
||||
|
||||
let
|
||||
mp_ = "1.3";
|
||||
version = "1.${mp_}";
|
||||
version4 = "4.${mp_}";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
name = pname + "-" + version;
|
||||
pname = "libktorrent";
|
||||
version = "1.1.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://ktorrent.org/downloads/4.1.1/${name}.tar.bz2";
|
||||
sha256 = "06d93xpshxawz49hqh6pvypir4ygm1f781hs7yim5k6b7shivfs1";
|
||||
url = "http://ktorrent.org/downloads/${version4}/${name}.tar.bz2";
|
||||
sha256 = "0mvvx6mdfy0pyhk6lwwmmbd3pd2ai6n2rf5kdjqhpkm9wbrck85n";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
[ cmake kdelibs qt4 automoc4 phonon gmp qca2 boost libgcrypt gettext ];
|
||||
buildNativeInputs = [ cmake automoc4 gettext ];
|
||||
buildInputs = [ kdelibs phonon gmp qca2 boost libgcrypt ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user