mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
* Apply a patch to make kdebindings build with the current sip.
svn path=/nixpkgs/branches/x-updates/; revision=22670
This commit is contained in:
parent
cceb5bcf80
commit
488f36ef19
@ -1,11 +0,0 @@
|
|||||||
source $stdenv/setup
|
|
||||||
|
|
||||||
tar xfvj $src
|
|
||||||
cd kdebindings-*/python/pykde4
|
|
||||||
python configure.py -d $out/lib/python2.5/site-packages -v $out/share/sip
|
|
||||||
for i in `find . -name Makefile`
|
|
||||||
do
|
|
||||||
sed -i -e "s/-O2/-O0/" $i
|
|
||||||
done
|
|
||||||
make
|
|
||||||
make install
|
|
@ -7,11 +7,18 @@
|
|||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "kdebindings-4.4.5";
|
name = "kdebindings-4.4.5";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://kde/stable/4.4.5/src/kdebindings-4.4.5.tar.bz2;
|
url = mirror://kde/stable/4.4.5/src/kdebindings-4.4.5.tar.bz2;
|
||||||
sha256 = "0l8lk8vl68jc82lai4ljlm9ph53q4fn0ki0jq45lizdmqjgvahy4";
|
sha256 = "0l8lk8vl68jc82lai4ljlm9ph53q4fn0ki0jq45lizdmqjgvahy4";
|
||||||
};
|
};
|
||||||
#builder = ./builder.sh;
|
|
||||||
|
patches =
|
||||||
|
[ (fetchurl {
|
||||||
|
url = "http://bugs.gentoo.org/attachment.cgi?id=238975";
|
||||||
|
sha256 = "0vng8j8fhbq5ys8hy0bcvi6x2bym9j65dh61m2c1dr3z7rsx2bqb";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
# Disable smoke because I don't need it and gives us an error
|
# Disable smoke because I don't need it and gives us an error
|
||||||
cmakeFlags = [ "-DENABLE_SMOKE=OFF" ];
|
cmakeFlags = [ "-DENABLE_SMOKE=OFF" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user