Skip to content

Commit

Permalink
Add GammaRay Qt6
Browse files Browse the repository at this point in the history
Fixes issue #21
  • Loading branch information
Sergio Martins committed Nov 18, 2024
1 parent 8bc4043 commit c4b81b5
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
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

0 comments on commit c4b81b5

Please sign in to comment.