nixpkgs/pkgs/desktops/kde-4.4/extragear/gtk-qt-engine/builder.sh
Sander van der Burg bcb6e407ea Added my initial KDE 4.4 expression
svn path=/nixpkgs/trunk/; revision=19906
2010-02-10 15:06:50 +00:00

12 lines
393 B
Bash

source $stdenv/setup
cmakeFlags="-DINSTALL_PATH_GTK_ENGINES=$out/lib/gtk-2.0/2.10.0/engines -DINSTALL_PATH_GTK_THEMES=$out/share/themes -DINSTALL_PATH_KCONTROL_MODULES=$out/lib";
myPatchPhase()
{
sed -i -e "s|\${KDE4_INCLUDE_DIR}|\${KDE4_INCLUDE_DIR} ../build/kcm_gtk|" kcm_gtk/CMakeLists.txt
sed -i -e "s|\*.po|../../\*.po|" po/CMakeLists.txt
}
patchPhase=myPatchPhase
genericBuild