Copy bonobo defs

python-rsvg will fail to build if if can't find the bonobo defs files
This commit is contained in:
Cillian de Róiste 2012-11-11 18:03:35 +01:00
parent 7c9eebf446
commit 60898eb064

View File

@ -15,8 +15,8 @@ stdenv.mkDerivation rec {
# WAF is probably the biggest crap on this planet, btw i removed the /gtk-2.0 path thingy
configurePhase = ''
sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript
python waf configure --prefix=$out
sed -e "s@{PYTHONDIR}/gtk-2.0@{PYTHONDIR}/@" -i gconf/wscript
python waf configure --prefix=$out
'';
buildPhase = ''
@ -25,6 +25,7 @@ stdenv.mkDerivation rec {
installPhase = ''
python waf install
cp bonobo/*.{py,defs} $out/share/pygtk/2.0/defs/
'';
buildInputs = [ python pkgconfig pygobject pygtk glib gtk GConf libgnome pythonDBus ];