2010-02-13 15:02:07 +01:00
|
|
|
{ stdenv, fetchurl, lib, cmake, perl, python, sip, pyqt4, zlib, libpng, freetype, fontconfig, qt4, boost
|
|
|
|
, kdelibs, kdepimlibs, automoc4, phonon, soprano, akonadi, qimageblitz, attica, polkit_qt
|
|
|
|
}:
|
2010-02-10 16:06:50 +01:00
|
|
|
|
|
|
|
# This function will only build the pykde4 module. I don't need the other bindings and
|
|
|
|
# some bindings are even broken.
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2010-02-10 17:01:55 +01:00
|
|
|
name = "kdebindings-4.4.0";
|
2010-02-10 16:06:50 +01:00
|
|
|
src = fetchurl {
|
2010-02-10 17:01:55 +01:00
|
|
|
url = mirror://kde/stable/4.4.0/src/kdebindings-4.4.0.tar.bz2;
|
2010-02-11 14:34:28 +01:00
|
|
|
sha256 = "1yn0wynnigbp288j9pqfd5cppc6mja9z9pcfz7g789pmyig42jvd";
|
2010-02-10 16:06:50 +01:00
|
|
|
};
|
2010-02-13 15:02:07 +01:00
|
|
|
#builder = ./builder.sh;
|
|
|
|
|
|
|
|
# Disable smoke because I don't need it and gives us an error
|
|
|
|
cmakeFlags = [ "-DENABLE_SMOKE=OFF" ];
|
|
|
|
|
|
|
|
# Okular seems also an optional depenedency which I left out
|
|
|
|
buildInputs = [ cmake perl python sip pyqt4 zlib libpng freetype fontconfig qt4 boost
|
|
|
|
kdelibs kdepimlibs automoc4 phonon soprano akonadi qimageblitz attica polkit_qt ];
|
2010-02-10 16:06:50 +01:00
|
|
|
meta = {
|
|
|
|
description = "KDE bindings";
|
|
|
|
longDescription = "Provides KDE bindings for several languages such as Java, Smoke and Python";
|
|
|
|
license = "LGPL";
|
|
|
|
homepage = http://www.kde.org;
|
|
|
|
maintainers = [ lib.maintainers.sander ];
|
|
|
|
};
|
|
|
|
}
|