Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add GammaRay Qt6 #28

Merged
merged 1 commit into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion gammaray-qt5.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class GammarayQt5 < Formula


def install
system "cmake", ".", "-G", "Ninja", *std_cmake_args
system "cmake", ".", "-G", "Ninja", "-DQT_VERSION_MAJOR=5", *std_cmake_args
system "ninja"
system "ninja", "install"
end
Expand Down
23 changes: 23 additions & 0 deletions gammaray-qt6.rb
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