kdepim{,runtime}-4.5.94.1

svn path=/nixpkgs/trunk/; revision=25939
This commit is contained in:
Yury G. Kudryashov 2011-02-13 04:37:08 +00:00
parent 96636f0779
commit 0c7c2c5c30
3 changed files with 20 additions and 19 deletions

View file

@ -139,7 +139,6 @@ rec {
printer_applet = callPackage ./utils/printer-applet.nix { };
superkaramba = callPackage ./utils/superkaramba.nix { };
sweeper = callPackage ./utils/sweeper.nix { };
wacomtablet = callPackage ./utils/wacomtablet.nix { };
};
kdewebdev = combinePkgs "kdewebdev" {

View file

@ -1,24 +1,25 @@
{ kde, fetchurl, cmake, qt4, perl, libxml2, libxslt, boost, shared_mime_info
, kdelibs, kdepimlibs
, kdelibs, kdepimlibs, gettext
, automoc4, phonon, akonadi, soprano, strigi}:
kde.package rec {
buildInputs = [ cmake qt4 perl libxml2 libxslt boost shared_mime_info
kdelibs kdepimlibs
automoc4 phonon akonadi soprano strigi ];
prePatch = ''
find .. -name CMakeLists.txt | xargs sed -i -e "s@DESTINATION \''${KDE4_DBUS_INTERFACES_DIR}@DESTINATION \''${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces/@"
'';
name = with meta.kde; "${module}-${release}";
buildInputs = [ cmake qt4 perl libxml2 libxslt boost shared_mime_info kdelibs
kdepimlibs automoc4 phonon akonadi soprano strigi gettext ];
src = fetchurl {
url = "mirror://kde/stable/kdepim-${meta.kde.version}/src/${meta.kde.module}-${meta.kde.version}.tar.bz2";
sha256 = "029a0i83b2yrc1xn9as7gc9rakpxjh5cjmqcmhrrj0xwalqz490n";
url = "mirror://kde/unstable/kdepim/${meta.kde.release}/src/${name}.tar.bz2";
sha256 = "0gsp1yycjb7a3p285yqhs6v9rsrpbq0wfq3jhz7ky306692lrxig";
};
meta = {
description = "KDE PIM runtime";
homepage = http://www.kde.org;
license = "GPL";
kde.module = "kdepim-runtime";
kde = {
release = "4.5.94.1";
module = "kdepim-runtime";
};
};
}

View file

@ -1,22 +1,20 @@
{ kde, fetchurl, cmake, perl, boost, gpgme, libassuan, libgpgerror, libxslt
, shared_mime_info, libXScrnSaver, kdelibs, kdepimlibs, kdepim_runtime
, automoc4, akonadi, qca2}:
, automoc4, akonadi, qca2, gettext, grantlee}:
kde.package rec {
buildInputs = [ cmake boost gpgme libassuan libgpgerror libxslt
shared_mime_info libXScrnSaver kdelibs kdepimlibs automoc4 akonadi ];
prePatch = ''
find .. -name CMakeLists.txt | xargs sed -i -e "s@DESTINATION \''${KDE4_DBUS_INTERFACES_DIR}@DESTINATION \''${CMAKE_INSTALL_PREFIX}/share/dbus-1/interfaces/@"
'';
shared_mime_info libXScrnSaver kdelibs kdepimlibs automoc4 akonadi gettext
grantlee ];
postInstall = ''
mkdir -p $out/nix-support/
echo ${akonadi} ${kdepimlibs} ${kdepim_runtime} > $out/nix-support/propagated-user-env-packages
'';
src = fetchurl {
url = "mirror://kde/stable/kdepim-${meta.kde.version}/src/${meta.kde.module}-${meta.kde.version}.tar.bz2";
sha256 = "02nbdn8s4504ljqz0qylm1jyw4hpg5fjw3vi6sbzm522xvkax4wh";
url = "mirror://kde/unstable/kdepim/${meta.kde.release}/src/${meta.kde.module}-${meta.kde.release}.tar.bz2";
sha256 = "1bnlyrflcjy7lj4c2jag212ws2gzzpqyn5g2p97x8y936dza7ic3";
};
meta = {
@ -26,6 +24,9 @@ kde.package rec {
'';
license = "GPL";
homepage = http://pim.kde.org;
kde.module = "kdepim";
kde = {
release = "4.5.94.1";
module = "kdepim";
};
};
}