diff options
| author | Andreas Fuchs | 2013-02-26 23:05:32 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-03-14 11:39:40 -0700 |
| commit | d389fbd21b23802ea58dd22b559108b36cd34a34 (patch) | |
| tree | 1c01c7763447956f333a61ebb34cd011dbb76b2b /Library | |
| parent | 65ccc3954be93e802195cbdf375ee621cbe80de5 (diff) | |
| download | homebrew-d389fbd21b23802ea58dd22b559108b36cd34a34.tar.bz2 | |
flactag 2.0.4
Add flactag, a MusicBrainz-enabled FLAC tagging program
It's a console-based tagging app for FLAC rips of entire CDs (with
embedded cuesheets) that seems fairly popular among the DAE folks.
Closes #18107.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/flactag.rb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Library/Formula/flactag.rb b/Library/Formula/flactag.rb new file mode 100644 index 000000000..f2f60ac86 --- /dev/null +++ b/Library/Formula/flactag.rb @@ -0,0 +1,46 @@ +require 'formula' + +class Flactag < Formula + homepage 'http://flactag.sourceforge.net/' + url 'http://sourceforge.net/projects/flactag/files/v2.0.4/flactag-2.0.4.tar.gz' + sha1 'eb62b3b8657fe26c6f838b0098fd4f176ccb454d' + + depends_on 'pkg-config' => :build + depends_on 'asciidoc' => :build + depends_on 'flac' + depends_on 'libmusicbrainz' + depends_on 'neon' + depends_on 'libdiscid' + depends_on 's-lang' + depends_on 'unac' + + def patches + # Don't have a2x run xmllint on the a2x-generated DocBook - it + # fails its own validation. + DATA + end + + def install + ENV.append 'LDFLAGS', '-liconv' + system "./configure", "--disable-dependency-tracking", + "--prefix=#{prefix}" + system "make install" + end + + test do + system "#{bin}/flactag" + end +end + +__END__ +--- flactag-2.0.4/Makefile.in.orig 2013-02-26 22:57:46.000000000 -0800 ++++ flactag-2.0.4/Makefile.in 2013-02-26 22:57:57.000000000 -0800 +@@ -1137,7 +1137,7 @@ + chmod +x ripflac + + flactag.1: flactag.1.txt Makefile +- a2x -f manpage flactag.1.txt ++ a2x -L -f manpage flactag.1.txt + + flactag.html: flactag.txt Makefile + asciidoc -a numbered flactag.txt |
