mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-30 08:44:31 +00:00
Add kdeutils-4.5.0
svn path=/nixpkgs/trunk/; revision=23170
This commit is contained in:
parent
e7b1d4c69e
commit
dc831feb4b
@ -42,6 +42,8 @@
|
||||
|
||||
kdebase_runtime = callPackage ./base-runtime { };
|
||||
|
||||
kdeutils = callPackage ./utils { };
|
||||
|
||||
kdeartwork = callPackage ./artwork { };
|
||||
|
||||
### DEVELOPMENT
|
||||
|
10
pkgs/desktops/kde-4.5/utils/cmake-module-path.diff
Normal file
10
pkgs/desktops/kde-4.5/utils/cmake-module-path.diff
Normal 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 )
|
30
pkgs/desktops/kde-4.5/utils/default.nix
Normal file
30
pkgs/desktops/kde-4.5/utils/default.nix
Normal 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;
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user