Added initial KDE 4.2 nix expression which build kdelibs

svn path=/nixpkgs/trunk/; revision=14044
This commit is contained in:
Sander van der Burg 2009-02-12 16:26:32 +00:00
parent 120bb8afe3
commit be986c5f97
6 changed files with 103 additions and 0 deletions

View File

@ -0,0 +1,36 @@
{stdenv, fetchurl, cmake, qt4, xlibs, bzip2, libxml2, libxslt, perl, exiv2, aspell,
pthread_stubs, gst_all, xineLib, fam, log4cxx, cluceneCore, redland, avahi, jdk,
pcre, jasper, openexr, shared_mime_info, giflib}:
rec {
### SUPPORT
automoc4 = import ./support/automoc4 {
inherit stdenv fetchurl cmake;
inherit qt4;
};
phonon = import ./support/phonon {
inherit stdenv fetchurl cmake;
inherit qt4 pthread_stubs gst_all xineLib;
inherit (xlibs) libXau libXdmcp;
inherit automoc4;
};
strigi = import ./support/strigi {
inherit stdenv fetchurl cmake perl;
inherit bzip2 qt4 libxml2 exiv2 fam log4cxx cluceneCore;
};
soprano = import ./support/soprano {
inherit stdenv fetchurl cmake;
inherit qt4 jdk cluceneCore redland;
};
### LIBS
kdelibs = import ./libs {
inherit stdenv fetchurl cmake perl;
inherit qt4 bzip2 pcre fam libxml2 libxslt shared_mime_info giflib jasper;
inherit openexr aspell avahi;
inherit automoc4 phonon strigi soprano;
};
}

View File

@ -0,0 +1,15 @@
{stdenv, fetchurl, cmake, perl,
qt4, bzip2, pcre, fam, libxml2, libxslt, shared_mime_info, giflib, jasper,
openexr, aspell, avahi,
automoc4, phonon, strigi, soprano}:
stdenv.mkDerivation {
name = "kdelibs-4.2.0";
src = fetchurl {
url = mirror://kde/stable/4.2.0/src/kdelibs-4.2.0.tar.bz2;
md5 = "2d830a922195fefe6e073111850247ac";
};
buildInputs = [ cmake perl qt4 stdenv.gcc.libc bzip2 pcre fam libxml2 libxslt
shared_mime_info giflib jasper openexr aspell avahi
automoc4 phonon strigi soprano ];
}

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, cmake,
qt4}:
stdenv.mkDerivation {
name = "automoc4-0.9.88";
src = fetchurl {
url = mirror://kde/stable/automoc4/0.9.88/automoc4-0.9.88.tar.bz2;
md5 = "91bf517cb940109180ecd07bc90c69ec";
};
buildInputs = [ cmake qt4 ];
}

View File

@ -0,0 +1,17 @@
{stdenv, fetchurl, cmake,
libXau, libXdmcp,
qt4, pthread_stubs,
gst_all, xineLib,
automoc4}:
stdenv.mkDerivation {
name = "phonon-4.3.0";
src = fetchurl {
url = mirror://kde/stable/phonon/4.3.0/phonon-4.3.0.tar.bz2;
md5 = "f851219ec1fb4eadc7904f053b6b498d";
};
buildInputs = [ cmake
libXau libXdmcp
qt4 pthread_stubs gst_all.gstreamer gst_all.gstPluginsBase xineLib
automoc4 ];
}

View File

@ -0,0 +1,11 @@
{stdenv, fetchurl, cmake, qt4, jdk, cluceneCore, redland}:
stdenv.mkDerivation {
name = "soprano-2.2.1";
src = fetchurl {
url = mirror://sourceforge/soprano/soprano-2.2.1.tar.bz2;
md5 = "69688a71273e1e9389fc60e3085c695f";
};
JAVA_HOME=jdk;
buildInputs = [ cmake qt4 jdk cluceneCore redland ];
}

View File

@ -0,0 +1,13 @@
{stdenv, fetchurl, cmake, perl,
bzip2, qt4, libxml2, exiv2, fam, log4cxx, cluceneCore}:
stdenv.mkDerivation {
name = "strigi-0.6.4";
src = fetchurl {
url = mirror://sourceforge/strigi/strigi-0.6.4.tar.bz2;
md5 = "324fd9606ac77765501717ff92c04f9a";
};
CLUCENE_HOME=cluceneCore;
buildInputs = [ cmake perl
bzip2 stdenv.gcc.libc qt4 libxml2 exiv2 fam log4cxx cluceneCore ];
}