diff --git a/pkgs/desktops/kde-4.2/default.nix b/pkgs/desktops/kde-4.2/default.nix new file mode 100644 index 000000000000..b90e51635596 --- /dev/null +++ b/pkgs/desktops/kde-4.2/default.nix @@ -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; + }; +} diff --git a/pkgs/desktops/kde-4.2/libs/default.nix b/pkgs/desktops/kde-4.2/libs/default.nix new file mode 100644 index 000000000000..66248f78d99f --- /dev/null +++ b/pkgs/desktops/kde-4.2/libs/default.nix @@ -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 ]; +} diff --git a/pkgs/desktops/kde-4.2/support/automoc4/default.nix b/pkgs/desktops/kde-4.2/support/automoc4/default.nix new file mode 100644 index 000000000000..8826396b1856 --- /dev/null +++ b/pkgs/desktops/kde-4.2/support/automoc4/default.nix @@ -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 ]; +} diff --git a/pkgs/desktops/kde-4.2/support/phonon/default.nix b/pkgs/desktops/kde-4.2/support/phonon/default.nix new file mode 100644 index 000000000000..99b3403f992e --- /dev/null +++ b/pkgs/desktops/kde-4.2/support/phonon/default.nix @@ -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 ]; +} diff --git a/pkgs/desktops/kde-4.2/support/soprano/default.nix b/pkgs/desktops/kde-4.2/support/soprano/default.nix new file mode 100644 index 000000000000..558c4fd66fb6 --- /dev/null +++ b/pkgs/desktops/kde-4.2/support/soprano/default.nix @@ -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 ]; +} diff --git a/pkgs/desktops/kde-4.2/support/strigi/default.nix b/pkgs/desktops/kde-4.2/support/strigi/default.nix new file mode 100644 index 000000000000..85d7099d8a44 --- /dev/null +++ b/pkgs/desktops/kde-4.2/support/strigi/default.nix @@ -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 ]; +}