Added missing pygtk dependency to Gnome VTE library.
svn path=/nixpkgs/trunk/; revision=34194
This commit is contained in:
parent
6706ef1e99
commit
5a270abcb6
@ -1,5 +1,5 @@
|
||||
{ stdenv, fetchurl, intltool, pkgconfig, glib, gtk, ncurses
|
||||
, pythonSupport ? false, python}:
|
||||
, pythonSupport ? false, python, pygtk}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "vte-0.28.0";
|
||||
@ -10,12 +10,19 @@ stdenv.mkDerivation rec {
|
||||
};
|
||||
|
||||
buildInputs = [ intltool pkgconfig glib gtk ncurses ] ++
|
||||
stdenv.lib.optional pythonSupport python;
|
||||
stdenv.lib.optionals pythonSupport [python pygtk];
|
||||
|
||||
configureFlags = ''
|
||||
${if pythonSupport then "--enable-python" else "--disable-python"}
|
||||
'';
|
||||
|
||||
|
||||
postInstall = stdenv.lib.optionalString pythonSupport ''
|
||||
cd $(toPythonPath $out)/gtk-2.0
|
||||
for n in *; do
|
||||
ln -s "gtk-2.0/$n" "../$n"
|
||||
done
|
||||
'';
|
||||
|
||||
meta = {
|
||||
homepage = http://www.gnome.org/;
|
||||
description = "A library implementing a terminal emulator widget for GTK+";
|
||||
|
Loading…
Reference in New Issue
Block a user