| 1 |
require "formula" |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
class Knowthelist < Formula |
| 6 |
homepage "http://knowthelist.github.io/knowthelist" |
| 7 |
url "https://github.com/knowthelist/knowthelist/archive/v2.3.0.tar.gz" |
| 8 |
sha1 "e97a68784b7056c8e7cfb11e926215116688380d" |
| 9 |
head "https://github.com/knowthelist/knowthelist.git" |
| 10 |
|
| 11 |
depends_on "gstreamer" |
| 12 |
depends_on "gst-plugins-base" |
| 13 |
depends_on "gst-plugins-good" |
| 14 |
depends_on "gst-plugins-ugly" => "with-mad" |
| 15 |
depends_on "taglib" |
| 16 |
depends_on 'qt' |
| 17 |
|
| 18 |
def install |
| 19 |
system "qmake" |
| 20 |
system "make" |
| 21 |
bin.install buildpath/"knowthelist.app" |
| 22 |
system "cp -R #{bin}/knowthelist.app /Applications" |
| 23 |
end |
| 24 |
|
| 25 |
test do |
| 26 |
system "false" |
| 27 |
end |
| 28 |
end |