Add kdeadmin-4.5.0

svn path=/nixpkgs/trunk/; revision=23238
This commit is contained in:
Yury G. Kudryashov 2010-08-18 18:58:53 +00:00
parent 96edbab084
commit 0b8bd11ce3
3 changed files with 36 additions and 1 deletions

View File

@ -0,0 +1,13 @@
source $stdenv/setup
myPatchPhase()
{
for i in system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py system-config-printer-kde/system-config-printer-kde.py
do
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
done
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py
}
patchPhase=myPatchPhase
genericBuild

View File

@ -0,0 +1,22 @@
{ kdePackage, cmake, qt4, pkgconfig, perl, python
, sip, pyqt4, pycups, rhpl, system_config_printer
, kdelibs, kdepimlibs, kdebindings, automoc4}:
kdePackage {
pn = "kdeadmin";
v = "4.5.0";
builder = ./builder.sh;
inherit system_config_printer;
PYTHONPATH = "${pycups}/lib/python${python.majorVersion}/site-packages";
buildInputs = [ cmake qt4 pkgconfig perl python sip pyqt4 pycups rhpl system_config_printer
kdelibs kdepimlibs kdebindings automoc4 ];
meta = {
description = "KDE Administration Utilities";
license = "GPL";
};
}

View File

@ -44,6 +44,7 @@
### OTHER MODULES
kdeaccessibility = callPackage ./accessibility { };
kdeadmin = callPackage ./admin { };
kdeartwork = callPackage ./artwork { };
kdeedu = callPackage ./edu { };
kdegames = callPackage ./games { };
@ -58,5 +59,4 @@
### DEVELOPMENT
kdebindings = callPackage ./bindings { };
}