homebrew-virt-manager/spice-gtk.rb

38 lines
1.1 KiB
Ruby
Raw Normal View History

2015-01-16 06:33:10 +00:00
class SpiceGtk < Formula
desc "GTK client/libraries for SPICE"
2015-01-16 06:33:10 +00:00
homepage "http://www.spice-space.org/home.html"
2015-10-04 02:18:48 +00:00
url "http://www.spice-space.org/download/gtk/spice-gtk-0.30.tar.bz2"
sha256 "e23323fa399efba17b3c18475ef10a29815851be5e7dbedd246b28ee8eb1379c"
2015-01-16 06:33:10 +00:00
depends_on "gobject-introspection" => :build
depends_on "intltool" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
2015-01-16 06:33:10 +00:00
depends_on "vala" => :build
depends_on "cairo"
depends_on "gdk-pixbuf"
depends_on "gettext"
depends_on "glib"
depends_on "gtk+3"
depends_on "jpeg"
2015-10-06 19:50:24 +00:00
depends_on "openssl"
2015-01-16 06:33:10 +00:00
depends_on "pango"
depends_on "pixman"
2015-10-04 02:18:48 +00:00
depends_on "spice-protocol"
2015-10-06 19:50:24 +00:00
depends_on "usbredir"
2015-01-16 06:33:10 +00:00
# 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