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
13 lines
497 B
Bash
13 lines
497 B
Bash
source $stdenv/setup
|
|
|
|
myPatchPhase()
|
|
{
|
|
for i in system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py system-config-printer-kde/system-config-printer-kde.py
|
|
do
|
|
sed -i -e "s|/usr/share/system-config-printer|$system_config_printer/share/system-config-printer|" $i
|
|
done
|
|
|
|
sed -i -e "s|import cupshelpers.ppds, cupshelpers.cupshelpers|import ppds, cupshelpers|" system-config-printer-kde/cmake-modules/FindSystemConfigPrinter.py
|
|
}
|
|
patchPhase=myPatchPhase
|
|
genericBuild
|