Skip to content

Commit

Permalink
Update formula for dukpt-1.2.0
Browse files Browse the repository at this point in the history
This formula requires Qt6 and explicitly disables Qt5
  • Loading branch information
leonlynch committed Jan 7, 2024
1 parent 1d3940d commit 411bfb6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Formula/dukpt.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
class Dukpt < Formula
desc "ANSI X9.24 DUKPT libraries and tools"
homepage "https://github.com/openemv/dukpt"
url "https://github.com/openemv/dukpt/releases/download/1.1.2/dukpt-1.1.2-src.tar.gz"
sha256 "f2bf4cf1d49e71f8ab14cfbb7c48553ebd7e1ea81c6a61c304c197a95964fb8b"
url "https://github.com/openemv/dukpt/releases/download/1.2.0/dukpt-1.2.0-src.tar.gz"
sha256 "d6d905977df6b28ad68bb7b08c4b2003322c1edb69fffcc6313687deec6fbcbb"
license all_of: ["LGPL-2.1-or-later", "GPL-3.0-or-later"]
head "https://github.com/openemv/dukpt.git", branch: "master"

depends_on "cmake" => :build
depends_on "mbedtls"
depends_on "openemv/tap/tr31"
depends_on "qt@5"
depends_on "qt@6"
depends_on "bash-completion" => :recommended
depends_on "doxygen" => :optional

Expand All @@ -22,6 +22,7 @@ def install
*std_cmake_args,
"-DBUILD_SHARED_LIBS=YES",
"-DBUILD_DUKPT_UI=YES",
"-DCMAKE_DISABLE_FIND_PACKAGE_Qt5=YES",
"-DBUILD_MACOSX_BUNDLE=YES",
"-DCMAKE_INSTALL_RPATH=#{rpath}"

Expand Down

0 comments on commit 411bfb6

Please sign in to comment.