aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorcosmo09202014-04-19 18:28:08 +0900
committerAdam Vandenberg2014-04-26 20:34:41 -0700
commit4d022fcae064753d3ca10369127950890d5603fa (patch)
tree348a0a440a7bf168dd9ec46fdba57dfd0df2434b /Library/Formula
parent1585f9c82075dc8e6ff42a770c964fbd18c058a8 (diff)
downloadhomebrew-4d022fcae064753d3ca10369127950890d5603fa.tar.bz2
vte3 0.32.2
Closes #28524. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/vte3.rb35
1 files changed, 35 insertions, 0 deletions
diff --git a/Library/Formula/vte3.rb b/Library/Formula/vte3.rb
new file mode 100644
index 000000000..965c74096
--- /dev/null
+++ b/Library/Formula/vte3.rb
@@ -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