qcachegrind 17.04.1

Closes https://github.com/Homebrew/homebrew-core/issues/13438.

Closes #14030.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
Dominyk Tiller 2017-05-29 02:10:56 +01:00 committed by ilovezfs
parent eb41a7e186
commit 78262970c7

View file

@ -1,9 +1,8 @@
class Qcachegrind < Formula
desc "Visualize data generated by Cachegrind and Calltree"
homepage "https://kcachegrind.github.io/"
url "https://download.kde.org/stable/applications/16.12.0/src/kcachegrind-16.12.0.tar.xz"
sha256 "9f73dd8a8cc624a11c54a364fc7583ed16654698df0ac21d25c54fbd4758c018"
revision 1
url "https://download.kde.org/stable/applications/17.04.1/src/kcachegrind-17.04.1.tar.xz"
sha256 "eea7557a38ec5d9d8015a9025450180ee80f3b834518706dde0e4b37cee91878"
bottle do
cellar :any
@ -12,16 +11,16 @@ class Qcachegrind < Formula
sha256 "d16d0cd82b7f7e69862a636c70fb72aaddb450fdaea8653a77486e321ef811b6" => :yosemite
end
depends_on "graphviz" => :optional
depends_on "qt"
depends_on "graphviz" => :optional
def install
cd "qcachegrind"
system "#{Formula["qt"].bin}/qmake", "-spec", "macx-clang", "-config", "release"
system "make"
# Install app
prefix.install "qcachegrind.app"
# Symlink in the command-line version
bin.install_symlink prefix/"qcachegrind.app/Contents/MacOS/qcachegrind"
cd "qcachegrind" do
system "#{Formula["qt"].opt_bin}/qmake", "-spec", "macx-clang",
"-config", "release"
system "make"
prefix.install "qcachegrind.app"
bin.install_symlink prefix/"qcachegrind.app/Contents/MacOS/qcachegrind"
end
end
end