nixpkgs/pkgs/desktops/kde-4.2/extragear/gtk-qt-engine/builder.sh
Sander van der Burg 271c960f67 Added GTK-Qt engine package for KDE 4.2 to make GTK+ applications look better in KDE
svn path=/nixpkgs/trunk/; revision=15596
2009-05-13 20:10:48 +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