Add kdeutils-4.5.0

svn path=/nixpkgs/trunk/; revision=23170
This commit is contained in:
Yury G. Kudryashov 2010-08-13 23:50:44 +00:00
parent e7b1d4c69e
commit dc831feb4b
3 changed files with 42 additions and 0 deletions

View File

@ -42,6 +42,8 @@
kdebase_runtime = callPackage ./base-runtime { };
kdeutils = callPackage ./utils { };
kdeartwork = callPackage ./artwork { };
### DEVELOPMENT

View File

@ -0,0 +1,10 @@
--- a/CMakeLists.txt 2010-04-15 12:58:25.000000000 +0400
+++ b/CMakeLists.txt.new 2010-08-14 03:30:16.000000000 +0400
@@ -1,6 +1,6 @@
project( kdeutils )
-set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+set( CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules ${CMAKE_MODULE_PATH} )
# search packages used by KDE
find_package( KDE4 REQUIRED )

View File

@ -0,0 +1,30 @@
{ kdePackage, cmake, qt4, perl, gmp, python, libzip, libarchive, xz
, sip, pyqt4, pycups, rhpl, system_config_printer, qjson, shared_mime_info
, kdelibs, kdepimlibs, kdebase, kdebindings, automoc4, qimageblitz, qca2}:
kdePackage {
pn = "kdeutils";
v = "4.5.0";
inherit system_config_printer;
preConfigure = ''
sed -e "s@/usr\(/share/system-config-printer\)@${system_config_printer}\1@" -i \
printer-applet/cmake-modules/FindSystemConfigPrinter.py \
printer-applet/printer-applet.py
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" printer-applet/cmake-modules/FindSystemConfigPrinter.py
'';
cmakeFlags = "-DCMAKE_MODULE_PATH=${qjson}/share/apps/cmake/modules";
patches = [ ./cmake-module-path.diff ];
buildInputs = [ cmake qt4 perl gmp python libzip libarchive xz sip pyqt4
pycups rhpl system_config_printer kdelibs kdepimlibs kdebase kdebindings
automoc4 qimageblitz qca2 qjson shared_mime_info ];
meta = {
description = "KDE Utilities";
license = "GPL";
homepage = http://www.kde.org;
inherit (kdelibs.meta) maintainers platforms;
};
}