diff --git a/pkgs/desktops/kde-4.2/base-runtime/default.nix b/pkgs/desktops/kde-4.2/base-runtime/default.nix new file mode 100644 index 000000000000..690f03e8a209 --- /dev/null +++ b/pkgs/desktops/kde-4.2/base-runtime/default.nix @@ -0,0 +1,13 @@ +{stdenv, fetchurl, cmake, perl, bzip2, qt4, alsaLib, xineLib, samba, kdelibs, + automoc4, phonon, strigi, soprano, cluceneCore}: + +stdenv.mkDerivation { + name = "kdebase-runtime-4.2.0"; + src = fetchurl { + url = mirror://kde/stable/4.2.0/src/kdebase-runtime-4.2.0.tar.bz2; + md5 = "8ef48aae16a6dddb3055d81d7e5c375f"; + }; +/* CLUCENE_HOME=cluceneCore;*/ + buildInputs = [ cmake perl bzip2 qt4 alsaLib xineLib samba stdenv.gcc.libc kdelibs + automoc4 phonon strigi soprano cluceneCore ]; +} diff --git a/pkgs/desktops/kde-4.2/base-workspace/default.nix b/pkgs/desktops/kde-4.2/base-workspace/default.nix new file mode 100644 index 000000000000..0cc523eb56f6 --- /dev/null +++ b/pkgs/desktops/kde-4.2/base-workspace/default.nix @@ -0,0 +1,16 @@ +{stdenv, fetchurl, cmake, perl, python, +qt4, kdelibs, +libXi, libXau, libXdmcp, libXtst, libXcomposite, libXdamage, +lm_sensors, libxklavier, libusb, pthread_stubs, +automoc4, phonon, strigi, soprano, qimageblitz}: + +stdenv.mkDerivation { + name = "kdebase-workspace-4.2.0"; + src = fetchurl { + url = mirror://kde/stable/4.2.0/src/kdebase-workspace-4.2.0.tar.bz2; + md5 = "193e30b9ed0b55b0196289d9df43a904"; + }; + buildInputs = [ cmake perl python qt4 kdelibs pthread_stubs libusb stdenv.gcc.libc + libXi libXau libXdmcp libXtst libXcomposite libXdamage + lm_sensors libxklavier automoc4 phonon strigi soprano qimageblitz ]; +} diff --git a/pkgs/desktops/kde-4.2/base/default.nix b/pkgs/desktops/kde-4.2/base/default.nix new file mode 100644 index 000000000000..992f1d22dd63 --- /dev/null +++ b/pkgs/desktops/kde-4.2/base/default.nix @@ -0,0 +1,12 @@ +{stdenv, fetchurl, cmake, perl, qt4, kdelibs, pciutils, libraw1394, + automoc4, phonon, strigi, qimageblitz, soprano}: + +stdenv.mkDerivation { + name = "kdebase-4.2.0"; + src = fetchurl { + url = mirror://kde/stable/4.2.0/src/kdebase-4.2.0.tar.bz2; + md5 = "da86a8ad624e86eda3a7509f39272060"; + }; + buildInputs = [ cmake perl qt4 kdelibs pciutils libraw1394 + automoc4 phonon strigi qimageblitz soprano ]; +} diff --git a/pkgs/desktops/kde-4.2/default.nix b/pkgs/desktops/kde-4.2/default.nix index 0376b4006c43..9b9e6f8d74a5 100644 --- a/pkgs/desktops/kde-4.2/default.nix +++ b/pkgs/desktops/kde-4.2/default.nix @@ -24,8 +24,33 @@ rec { inherit (pkgs) qt4 jdk cluceneCore redland; }; + qimageblitz = import ./support/qimageblitz { + inherit (pkgs) stdenv fetchurl cmake qt4; + }; + ### LIBS kdelibs = import ./libs (pkgs // { inherit automoc4 phonon strigi soprano; }); + + kdebase_workspace = import ./base-workspace { + inherit (pkgs) stdenv fetchurl cmake qt4 perl python; + inherit (pkgs) lm_sensors libxklavier libusb pthread_stubs; + inherit (pkgs.xlibs) libXi libXau libXdmcp libXtst libXcomposite libXdamage; + inherit kdelibs; + inherit automoc4 phonon strigi soprano qimageblitz; + }; + + kdebase = import ./base { + inherit (pkgs) stdenv fetchurl cmake perl qt4 pciutils libraw1394; + inherit kdelibs; + inherit automoc4 phonon strigi qimageblitz soprano; + }; + + kdebase_runtime = import ./base-runtime { + inherit (pkgs) stdenv fetchurl cmake perl bzip2 qt4; + inherit (pkgs) xineLib alsaLib samba cluceneCore; + inherit kdelibs; + inherit automoc4 phonon strigi soprano; + }; } diff --git a/pkgs/desktops/kde-4.2/support/qimageblitz/default.nix b/pkgs/desktops/kde-4.2/support/qimageblitz/default.nix new file mode 100644 index 000000000000..8e3dd70e2806 --- /dev/null +++ b/pkgs/desktops/kde-4.2/support/qimageblitz/default.nix @@ -0,0 +1,10 @@ +{stdenv, fetchurl, cmake, qt4}: + +stdenv.mkDerivation { + name = "qimageblitz-0.0.4"; + src = fetchurl { + url = mirror://sourceforge/qimageblitz/qimageblitz-0.0.4.tar.bz2; + md5 = "cb87c7f1c0455e8984ee4830f1e749cf"; + }; + buildInputs = [ cmake qt4 ]; +}