From d23d261fb90e88a5c18f22b7f314ef969e60d9c3 Mon Sep 17 00:00:00 2001 From: Sergio Martins <@> Date: Tue, 19 Nov 2024 15:06:17 +0000 Subject: [PATCH] Add KDBindings --- kdbindings.rb | 20 ++++++++++++++++++++ utils.py | 1 + 2 files changed, 21 insertions(+) create mode 100644 kdbindings.rb diff --git a/kdbindings.rb b/kdbindings.rb new file mode 100644 index 0000000..84d75c5 --- /dev/null +++ b/kdbindings.rb @@ -0,0 +1,20 @@ +class Kdbindings < Formula + desc "Reactive programming & data binding in C++" + homepage "https://github.com/KDAB/KDBindings" + url "https://github.com/KDAB/KDBindings/archive/refs/tags/v1.1.0.tar.gz" + sha256 "0ee07cb3e2ec4f5688b4b2971c42e5a4f4a41c7bf4aa130e6b118bea4b6340ab" + head "https://github.com/KDAB/KDBindings.git" + + depends_on "cmake" => :build + depends_on "ninja" => :build + + def install + system "cmake", ".", "-G", "Ninja", "-DKDBindigs_TESTS=OFF", "-DKDBindings_EXAMPLES=OFF", *std_cmake_args + system "ninja" + system "ninja", "install" + end + + test do + system "ctest" + end +end diff --git a/utils.py b/utils.py index 9534253..d37c62b 100644 --- a/utils.py +++ b/utils.py @@ -16,6 +16,7 @@ 'kdreports-qt6.rb': {"repo": "KDAB/KDReports"}, 'gammaray-qt5.rb': {"repo": "KDAB/Gammaray"}, 'kdmactouchbar-qt5.rb': {"repo": "KDAB/KDMacTouchBar"}, + 'kdbindings.rb': {"repo": "KDAB/KDBindings"}, # 'kdstatemachineeditor-qt5.rb': {"repo": "KDAB/KDStateMachineEditor"}, # 'kdstatemachineeditor-qt6.rb': {"repo": "KDAB/KDStateMachineEditor"}, }