homebrew-core/Formula/qjackctl.rb
2016-07-20 21:21:20 +01:00

35 lines
1.2 KiB
Ruby

class Qjackctl < Formula
desc "simple Qt application to control the JACK sound server daemon"
homepage "http://qjackctl.sourceforge.net"
url "https://downloads.sourceforge.net/qjackctl/qjackctl-0.4.2.tar.gz"
sha256 "cf1c4aff22f8410feba9122e447b1e28c8fa2c71b12cfc0551755d351f9eaf5e"
head "http://git.code.sf.net/p/qjackctl/code", :using => :git
bottle do
sha256 "881297bbb05a0367be914b6c696a1fd38b1591906dfd08077a827f6c28dda692" => :el_capitan
sha256 "2d86adb7ea68a8b7dd18c7f00a53aa7191c910bf0d985b931a76587e91f864ca" => :yosemite
sha256 "41f607f3a331eaa2c5be1aaaf3e7f173b58975e24a3d4d78aaa8f21a74d70025" => :mavericks
end
depends_on "autoconf" => :build
depends_on "qt5"
depends_on "jack"
def install
system "./autogen.sh"
system "./configure", "--disable-debug",
"--enable-qt5",
"--disable-dbus",
"--disable-xunique",
"--prefix=#{prefix}"
system "make", "install"
prefix.install bin/"qjackctl.app"
bin.install_symlink prefix/"qjackctl.app/Contents/MacOS/qjackctl"
end
test do
output = shell_output("#{bin}/qjackctl --version 2>&1", 1)
assert_match version.to_s, output
end
end