Add kdeadmin-4.5.0
svn path=/nixpkgs/trunk/; revision=23238
This commit is contained in:
parent
96edbab084
commit
0b8bd11ce3
13
pkgs/desktops/kde-4.5/admin/builder.sh
Normal file
13
pkgs/desktops/kde-4.5/admin/builder.sh
Normal 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
|
22
pkgs/desktops/kde-4.5/admin/default.nix
Normal file
22
pkgs/desktops/kde-4.5/admin/default.nix
Normal 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";
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user