homebrew-virt-manager/spice-gtk.rb
2015-10-06 15:50:24 -04:00

37 lines
1.1 KiB
Ruby

class SpiceGtk < Formula
homepage "http://www.spice-space.org/home.html"
url "http://www.spice-space.org/download/gtk/spice-gtk-0.30.tar.bz2"
sha256 "e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c"
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "pkg-config" => :build
depends_on "libtool" => :build
depends_on "vala" => :build
depends_on "cairo"
depends_on "gdk-pixbuf"
depends_on "gettext"
depends_on "glib"
depends_on "gtk+3"
depends_on "jpeg"
depends_on "openssl"
depends_on "pango"
depends_on "pixman"
depends_on "spice-protocol"
depends_on "usbredir"
# TODO: audio
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--with-gtk=3.0",
"--enable-introspection",
"--enable-vala",
"--with-audio=no",
"--with-coroutine=gthread",
"--prefix=#{prefix}"
system "make", "install"
end
end