Added KDE 4.2 plasma addons package
svn path=/nixpkgs/trunk/; revision=14220
This commit is contained in:
parent
a8b75358b3
commit
f056ebe614
|
@ -133,6 +133,12 @@ rec {
|
|||
inherit automoc4 phonon akonadi strigi soprano qca2;
|
||||
};
|
||||
|
||||
kdeplasma_addons = import ./plasma-addons {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl python shared_mime_info;
|
||||
inherit kdelibs kdebase_workspace kdepimlibs kdegraphics;
|
||||
inherit automoc4 phonon;
|
||||
};
|
||||
|
||||
kdegames = import ./games {
|
||||
inherit (pkgs) stdenv fetchurl cmake qt4 perl;
|
||||
inherit kdelibs;
|
||||
|
|
9
pkgs/desktops/kde-4.2/plasma-addons/builder.sh
Normal file
9
pkgs/desktops/kde-4.2/plasma-addons/builder.sh
Normal file
|
@ -0,0 +1,9 @@
|
|||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
sed -i -e "s@\${DBUS_INTERFACES_INSTALL_DIR}@\$ENV{kdebase_workspace}/share/dbus-1/interfaces@" applets/lancelot/app/src/CMakeLists.txt
|
||||
}
|
||||
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
15
pkgs/desktops/kde-4.2/plasma-addons/default.nix
Normal file
15
pkgs/desktops/kde-4.2/plasma-addons/default.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{stdenv, fetchurl, cmake, qt4, perl, python, shared_mime_info,
|
||||
kdelibs, kdebase_workspace, kdepimlibs, kdegraphics, automoc4, phonon}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "kdeplasma-addons-4.2.0";
|
||||
src = fetchurl {
|
||||
url = mirror://kde/stable/4.2.0/src/kdeplasma-addons-4.2.0.tar.bz2;
|
||||
md5 = "d98f805f4c9b7af7278067f9e544b2ec";
|
||||
};
|
||||
inherit kdebase_workspace;
|
||||
builder = ./builder.sh;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl python shared_mime_info
|
||||
kdelibs kdebase_workspace kdepimlibs kdegraphics automoc4 phonon ];
|
||||
}
|
Loading…
Reference in a new issue