9b32ae7ce3
- Also forked the qt-4.4.x expression and adapted it. The old qt-4.4.x cannot be replaced since KDE 4.2.x does not work with qt-4.5.x, but on the other hand KDE 4.3.x requires qt-4.5.x - It is now possible to disable the demos and examples in the qt-4.5.x build. By default, the demos, examples and documentation are disabled svn path=/nixpkgs/trunk/; revision=16723
12 lines
393 B
Bash
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
|