mpdviz 0.4.3
mpdviz is a terminal visualizer for the music player daemon (mpd). Closes Homebrew/homebrew#28628. Signed-off-by: Misty De Meo <mistydemeo@gmail.com>
This commit is contained in:
parent
08230a4470
commit
c7b5dc336c
1 changed files with 21 additions and 0 deletions
21
Formula/mpdviz.rb
Normal file
21
Formula/mpdviz.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
require "formula"
|
||||
|
||||
class Mpdviz < Formula
|
||||
homepage "https://github.com/neeee/mpdviz"
|
||||
url "http://github.com/neeee/mpdviz/archive/0.4.3.tar.gz"
|
||||
sha1 "7923a818155c9fc413e483dcb1b3964ab00e5ded"
|
||||
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "go" => :build
|
||||
depends_on "fftw"
|
||||
|
||||
def install
|
||||
ENV["GOPATH"] = buildpath
|
||||
system "go", "get", "github.com/neeee/go-fftw"
|
||||
system "go", "get", "github.com/neeee/pflag"
|
||||
system "go", "get", "github.com/neeee/termbox-go"
|
||||
system "go", "build", "-o", "mpdviz"
|
||||
bin.install "mpdviz"
|
||||
end
|
||||
|
||||
end
|
Loading…
Reference in a new issue