-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issue #21
- Loading branch information
Sergio Martins
committed
Nov 18, 2024
1 parent
8bc4043
commit c4b81b5
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
class GammarayQt6 < Formula | ||
desc "A Qt-based tool to poke around in a Qt-application and also to manipulate the application to some extent." | ||
homepage "https://github.com/KDAB/GammaRay" | ||
url "https://github.com/KDAB/GammaRay/releases/download/v3.1.0/gammaray-3.1.0.tar.gz" | ||
sha256 "93b52d5318374896621e1d8b5dd03379c53e0458b1633b539d18737fe8c300cf" | ||
head "https://github.com/KDAB/GammaRay.git" | ||
|
||
depends_on "qt@6" => "with-d-bus" | ||
depends_on "kdstatemachineeditor-qt6" | ||
depends_on "cmake" => :build | ||
depends_on "ninja" => :build | ||
|
||
|
||
def install | ||
system "cmake", ".", "-G", "Ninja", "-DQT_VERSION_MAJOR=6", *std_cmake_args | ||
system "ninja" | ||
system "ninja", "install" | ||
end | ||
|
||
test do | ||
system "ctest" | ||
end | ||
end |