1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/desktops/kde-4/workspace/builder.sh
Yury G. Kudryashov 5e0e475c7a Added new kde-4 staff
svn path=/nixpkgs/trunk/; revision=9684
2007-11-15 00:08:58 +00:00

13 lines
360 B
Bash
Executable file

source ${stdenv}/setup
myPatchPhase()
{
echo "Fixing dbus calls in CMakeLists.txt files"
# Trailing slash in sed is essential
find .. -name CMakeLists.txt \
| xargs sed -e "s@\${DBUS_INTERFACES_INSTALL_DIR}/@${kdelibs}/share/dbus-1/interfaces/@" -i
sed -e '/^#define HAS_RANDR_1_2 1$/d' -i ../kcontrol/randr/randr.h
}
patchPhase=myPatchPhase
genericBuild