homebrew-virt-manager/gtk-vnc.rb

35 lines
1,015 B
Ruby
Raw Normal View History

2015-01-16 02:56:06 +00:00
class GtkVnc < Formula
homepage "https://wiki.gnome.org/Projects/gtk-vnc"
url "https://download.gnome.org/sources/gtk-vnc/0.5/gtk-vnc-0.5.3.tar.xz"
sha1 "37545223e944d7083d5ae5b945431d8d14eddd47"
depends_on "gobject-introspection" => :build
2015-01-16 02:56:06 +00:00
depends_on "intltool" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
2015-01-16 04:10:35 +00:00
depends_on "vala" => :build
2015-01-16 02:56:06 +00:00
depends_on "atk"
depends_on "cairo"
depends_on "gdk-pixbuf"
depends_on "gettext"
depends_on "glib"
depends_on "gnutls"
depends_on "gtk+3"
depends_on "libgcrypt"
depends_on "libgpg-error"
depends_on "pango"
# TODO: sound
2015-01-16 02:56:06 +00:00
#depends_on "pulseaudio"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--with-gtk=3.0",
"--enable-introspection",
"--with-coroutine=gthread",
2015-01-16 02:56:06 +00:00
"--prefix=#{prefix}"
system "make", "install"
end
end