kdeedu builds, and kdebindings build

svn path=/nixpkgs/trunk/; revision=19976
This commit is contained in:
Lluís Batlle i Rossell 2010-02-13 15:37:06 +00:00
parent ce46e7ff63
commit aaffbe6971
3 changed files with 7 additions and 3 deletions

View File

@ -15,6 +15,10 @@ stdenv.mkDerivation {
# Disable smoke because I don't need it and gives us an error
cmakeFlags = [ "-DENABLE_SMOKE=OFF" ];
preConfigure = ''
cmakeFlags="$cmakeFlags -DPYTHON_SITE_PACKAGES_DIR=$out/lib/${python.libPrefix}/site-packages"
cmakeFlags="$cmakeFlags -DSIP_DEFAULT_SIP_DIR=$out/share/sip"
'';
# Okular seems also an optional depenedency which I left out
buildInputs = [ cmake perl python sip pyqt4 zlib libpng freetype fontconfig qt4 boost

View File

@ -125,7 +125,7 @@ pkgs.recurseIntoAttrs (rec {
kdeedu = import ./edu {
inherit (pkgs) stdenv fetchurl lib cmake qt4 perl libxml2 libxslt openbabel boost;
inherit (pkgs) readline gmm gsl facile ocaml xplanet;
inherit kdelibs;
inherit kdelibs attica;
inherit automoc4 phonon eigen;
};

View File

@ -1,6 +1,6 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
, facile, ocaml, xplanet
, kdelibs, automoc4, phonon, eigen}:
, kdelibs, automoc4, phonon, eigen, attica}:
stdenv.mkDerivation {
name = "kdeedu-4.4.0";
@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha256 = "0qc7y361ndpmvjpkdxa7psvx9brx3lhwp5fmm94j6gva7kvyad9d";
};
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml xplanet
kdelibs automoc4 phonon eigen ];
kdelibs automoc4 phonon eigen attica ];
meta = {
description = "KDE Educative software";
license = "GPL";