mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 07:01:54 +00:00
Some kdebindings-4.2 fixes
svn path=/nixpkgs/trunk/; revision=14291
This commit is contained in:
parent
301c3d31c9
commit
df84d143c1
11
pkgs/desktops/kde-4.2/bindings/builder.sh
Normal file
11
pkgs/desktops/kde-4.2/bindings/builder.sh
Normal file
@ -0,0 +1,11 @@
|
||||
source $stdenv/setup
|
||||
|
||||
myPatchPhase()
|
||||
{
|
||||
# Fix python site packages directory
|
||||
sed -i -e "s@\${PYTHON_SITE_PACKAGES_DIR}@\${CMAKE_INSTALL_PREFIX}/lib/python2.5@g" \
|
||||
-e "s@\${SIP_DEFAULT_SIP_DIR}@\${CMAKE_INSTALL_PREFIX}/share/sip@g" \
|
||||
python/pykde4/CMakeLists.txt
|
||||
}
|
||||
patchPhase=myPatchPhase
|
||||
genericBuild
|
@ -7,6 +7,7 @@ stdenv.mkDerivation {
|
||||
url = mirror://kde/stable/4.2.0/src/kdebindings-4.2.0.tar.bz2;
|
||||
md5 = "6eae8fd968da83fe65e592993e416adc";
|
||||
};
|
||||
builder = ./builder.sh;
|
||||
CMAKE_PREFIX_PATH=kdepimlibs;
|
||||
buildInputs = [ cmake qt4 perl python sip pyqt4
|
||||
kdelibs kdepimlibs automoc4 phonon ];
|
||||
|
Loading…
Reference in New Issue
Block a user