homebrew-core/Formula/solfege.rb
Jack Nagel fe6f933385 Revert "solfege: needs gettext at runtime"
This reverts commit f3510e688884948372b816d86373467e8d088e46.

I was wrong, it actually *is* a build-time only dep.
2013-02-05 17:32:42 -06:00

34 lines
1.2 KiB
Ruby

require 'formula'
class Solfege < Formula
homepage 'http://www.solfege.org/'
url 'http://ftpmirror.gnu.org/solfege/solfege-3.20.6.tar.xz'
mirror 'http://ftp.gnu.org/gnu/solfege/solfege-3.20.6.tar.xz'
sha1 '0b83f351e90aeb9267f76d8dda0638dc50682226'
depends_on 'xz' => :build
depends_on 'gettext' => :build
depends_on 'pygtk' => :recommended
depends_on 'qtplay' => :recommended
depends_on 'librsvg' => :recommended
depends_on 'vorbis-tools' => :recommended
def install
system "./configure", "--prefix=#{prefix}"
system 'make install'
end
def caveats
<<-EOS.undent
After installing Solfege, one of your programs, gdk-pixbuf, needs to be
told to update its loader cache so it can read svg files. Run this once:
export GDK_PIXBUF_MODULEDIR=#{HOMEBREW_PREFIX}/lib/gdk-pixbuf-2.0/2.10.0/loaders
gdk-pixbuf-query-loaders --update-cache
After doing that, you will be able to run solfege normally. You can go
into Solfege Preferences and set your external programs to qtplay and
ogg123 which get installed as dependencies, or you can use your own apps.
EOS
end
end