homebrew-core/Formula/goocanvas.rb
2019-06-18 08:24:30 +02:00

28 lines
1.1 KiB
Ruby

class Goocanvas < Formula
desc "Canvas widget for GTK+ using the Cairo 2D library for drawing"
homepage "https://wiki.gnome.org/Projects/GooCanvas"
url "https://download.gnome.org/sources/goocanvas/2.0/goocanvas-2.0.4.tar.xz"
sha256 "c728e2b7d4425ae81b54e1e07a3d3c8a4bd6377a63cffa43006045bceaa92e90"
revision 2
bottle do
sha256 "b9d36364339793b428077bbc7735981f8cd33e681971653806dc574236382778" => :mojave
sha256 "6822fe0a452809ce94bc1fd70fb32b024ad52702a56878db381b7dad2e05aa28" => :high_sierra
sha256 "44b1bd9f058cd4fe112cd1022a0ad2daa93c7f849257ae57bc6d10f9c33e57de" => :sierra
end
depends_on "gobject-introspection" => :build
depends_on "pkg-config" => :build
depends_on "cairo"
depends_on "glib"
depends_on "gtk+3"
def install
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{prefix}",
"--enable-introspection=yes",
"--disable-gtk-doc-html"
system "make", "install"
end
end