vte3 0.32.2

Closes Homebrew/homebrew#28524.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
master
cosmo0920 2014-04-19 18:28:08 +09:00 committed by Adam Vandenberg
parent d679d4db3b
commit e283af4c44
1 changed files with 35 additions and 0 deletions

35
Formula/vte3.rb Normal file
View File

@ -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