Skip to content

Commit

Permalink
Revise formula for dukpt-1.2.0 to use Qt5 instead
Browse files Browse the repository at this point in the history
It seems that Homebrew has broken macdeployqt for Qt6 again
  • Loading branch information
leonlynch committed Feb 14, 2024
1 parent 411bfb6 commit a22536f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Formula/dukpt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ class Dukpt < Formula
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"]
revision 1
head "https://github.com/openemv/dukpt.git", branch: "master"

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

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

Expand Down

0 comments on commit a22536f

Please sign in to comment.