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 Homebrew/homebrew#18107. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
af8e8368a0
commit
f437b4a49b
1 changed files with 46 additions and 0 deletions
46
Formula/flactag.rb
Normal file
46
Formula/flactag.rb
Normal file
|
@ -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
|
Loading…
Reference in a new issue