nixpkgs/pkgs/desktops/kde-4-old/runtime/builder.sh
Eelco Dolstra 9fee9c7be4 * Some renaming: kde -> kde-3, kde-4 -> kde-4-old (we can delete it
eventually, but it seems to contain some packages that aren't in
  kde-4.2 yet).

svn path=/nixpkgs/trunk/; revision=14481
2009-03-10 07:58:12 +00:00

13 lines
371 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 ../workspace/kcontrol/randr/randr.h
}
patchPhase=myPatchPhase
genericBuild