Added XPlanet support to kdeedu-4.3.1, not that is an essential feature but it looks cool :-)

svn path=/nixpkgs/trunk/; revision=17054
This commit is contained in:
Sander van der Burg 2009-09-11 14:06:51 +00:00
parent 7cc0f07690
commit cdfc752210
4 changed files with 25 additions and 3 deletions

View File

@ -0,0 +1,16 @@
{stdenv, fetchurl, lib, pkgconfig, freetype, pango, libpng, libtiff, giflib, libjpeg}:
stdenv.mkDerivation {
name = "xplanet-1.2.1";
src = fetchurl {
url = mirror://sourceforge/xplanet/xplanet-1.2.1.tar.gz;
sha256 = "1pp55a1rgjkfcrwc00y3l48fhpqcp3qagd1zbym6zg27fzi5fbgm";
};
buildInputs = [ pkgconfig freetype pango libpng libtiff giflib libjpeg ];
meta = {
description = "Renders an image of the earth or other planets into the X root window";
homepage = http://xplanet.sourceforge.net;
license = "GPL";
maintainers = [ lib.maintainers.sander ];
};
}

View File

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

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, lib, cmake, qt4, perl, libxml2, libxslt, openbabel, boost, readline, gmm, gsl
, facile, ocaml
, facile, ocaml, xplanet
, kdelibs, automoc4, phonon, eigen}:
stdenv.mkDerivation {
@ -9,7 +9,7 @@ stdenv.mkDerivation {
sha1 = "6326cff7779dfadc1b18a3a6bbe7b0750fb7ceaf";
};
includeAllQtDirs=true;
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml
buildInputs = [ cmake qt4 perl libxml2 libxslt openbabel boost readline gmm gsl facile ocaml xplanet
kdelibs automoc4 phonon eigen ];
meta = {
description = "KDE Educative software";

View File

@ -7828,6 +7828,12 @@ let
kdelibs = kde3.kdelibs;
kdebase = kde3.kdebase;
### SCIENCE
xplanet = import ../applications/science/xplanet {
inherit stdenv fetchurl lib pkgconfig freetype libpng libjpeg giflib libtiff;
inherit (gtkLibs) pango;
};
### SCIENCE/GEOMETRY