vte3 0.32.2
Closes Homebrew/homebrew#28524. Signed-off-by: Adam Vandenberg <flangy@gmail.com>master
parent
d679d4db3b
commit
e283af4c44
|
@ -0,0 +1,35 @@
|
|||
require "formula"
|
||||
|
||||
class Vte3 < Formula
|
||||
homepage "http://developer.gnome.org/vte/"
|
||||
url "http://ftp.gnome.org/pub/gnome/sources/vte/0.32/vte-0.32.2.tar.xz"
|
||||
sha1 "a58569a99ac06a240bdda3ec7353f2626145852d"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "intltool" => :build
|
||||
depends_on "gettext"
|
||||
depends_on "glib"
|
||||
depends_on "gtk+3"
|
||||
depends_on "pygtk"
|
||||
depends_on :python => :recommended
|
||||
depends_on "gobject-introspection"
|
||||
|
||||
def install
|
||||
args = [
|
||||
"--disable-dependency-tracking",
|
||||
"--prefix=#{prefix}",
|
||||
"--disable-Bsymbolic",
|
||||
"--enable-introspection=yes",
|
||||
]
|
||||
|
||||
if build.with? "python"
|
||||
# pygtk-codegen-2.0 has been deprecated and replaced by
|
||||
# pygobject-codegen-2.0, but the vte Makefile does not detect this.
|
||||
ENV["PYGTK_CODEGEN"] = Formula["pygobject"].bin/"pygobject-codegen-2.0"
|
||||
args << "--enable-python"
|
||||
end
|
||||
|
||||
system "./configure", *args
|
||||
system "make install"
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue