39 lines
1.1 KiB
Ruby
39 lines
1.1 KiB
Ruby
require 'formula'
|
|
|
|
class Synfig < Formula
|
|
homepage 'http://synfig.org'
|
|
url 'https://downloads.sourceforge.net/project/synfig/releases/0.64.1/source/synfig-0.64.1.tar.gz'
|
|
sha1 '19fe81f144100c3f5e14a1b88b26a9b659fee3b8'
|
|
|
|
head 'git://synfig.git.sourceforge.net/gitroot/synfig/synfig'
|
|
|
|
depends_on 'pkg-config' => :build
|
|
depends_on 'gettext'
|
|
depends_on 'etl'
|
|
depends_on 'libsigc++'
|
|
depends_on 'libxml++'
|
|
depends_on 'imagemagick'
|
|
depends_on :libpng
|
|
depends_on :freetype
|
|
depends_on 'cairo'
|
|
depends_on 'pango'
|
|
depends_on 'boost'
|
|
depends_on 'openexr'
|
|
depends_on :libtool => :run
|
|
|
|
# Candidate upstream patch for Xcode 5
|
|
# http://www.synfig.org/issues/thebuggenie/synfig/issues/504
|
|
patch do
|
|
url "http://www.synfig.org/issues/thebuggenie/files/show/79"
|
|
sha1 "77284c6024ccdcb8444b198c8156195734d61289"
|
|
end
|
|
|
|
def install
|
|
boost = Formula["boost"]
|
|
system "./configure", "--disable-debug",
|
|
"--disable-dependency-tracking",
|
|
"--prefix=#{prefix}",
|
|
"--with-boost=#{boost.opt_prefix}"
|
|
system "make install"
|
|
end
|
|
end
|