homebrew-core/Formula/synfigstudio.rb
2015-06-18 08:31:51 +01:00

33 lines
1.1 KiB
Ruby

class Synfigstudio < Formula
desc "Vector-based 2D animation package"
homepage "http://synfig.org"
url "https://downloads.sourceforge.net/project/synfig/releases/1.0/source/synfigstudio-1.0.tar.gz"
sha256 "2b23916ca0be4073edad9b0cb92fd30311dd3b8f73372c836ba735100251ee28"
bottle do
revision 1
sha256 "33b91aef1e6a80c880f0638984f4135340e6207472681775e06984556016aa0d" => :yosemite
sha256 "47cdfcbf5c6ce66ddde2810dd8df18e2dc7590633ba36ba89f697876ab19a890" => :mavericks
sha256 "281f88e6f2b4de77a86406c2360a458222f830345f410f1856c3a295e0166c89" => :mountain_lion
end
depends_on "pkg-config" => :build
depends_on "intltool" => :build
depends_on "gettext"
depends_on "libsigc++"
depends_on "gtkmm3"
depends_on "etl"
depends_on "synfig"
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
# executable doesnt take options that will stop the gui from spawning
assert (share/"appdata/synfigstudio.appdata.xml").exist?
end
end