Skip to content

Commit 4a6b50a

Browse files
authored
Merge pull request #247263 from Homebrew/gecode-qt
gecode: use specific Qt dependencies
2 parents 5eb7035 + 942c0e8 commit 4a6b50a

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

Formula/g/gecode.rb

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,16 @@ class Gecode < Formula
99
no_autobump! because: :requires_manual_review
1010

1111
bottle do
12-
rebuild 3
13-
sha256 cellar: :any, arm64_tahoe: "d20e5321e265df0835a1fa079712f534b569c33e3fd30bb1b7510c3631210eaa"
14-
sha256 cellar: :any, arm64_sequoia: "c214d22ca4f868b0daf0129e234a4dc2f53c86d0ff838ca0d03d8629366aeb1d"
15-
sha256 cellar: :any, arm64_sonoma: "1ac6be371a0a82f7edd1a5468d8d5931b1a3cd1afb86550496017516a62299e9"
16-
sha256 cellar: :any, arm64_ventura: "b088d88dd7342d07bfa214dd0f955b1f846ce91c6d6eb479249ad21b99c244f7"
17-
sha256 cellar: :any, sonoma: "10702edcc3d8e3b168846bf2d3126937c369b191dd6b859adc477af3540a2b9d"
18-
sha256 cellar: :any, ventura: "d7a6aa6f04979ef458d086d8fa543a5130209d122e37542c9f3494912f94cbcd"
19-
sha256 cellar: :any_skip_relocation, x86_64_linux: "ad8b1f55cda826d0c844f5a243c6af5d0ca16fa8e5b6af0bed593f1821939c16"
12+
rebuild 4
13+
sha256 cellar: :any, arm64_tahoe: "4bf3ed46450a9a436678fcf7bc2083d7ba8c9b4847e3846fa66b50423c4e273d"
14+
sha256 cellar: :any, arm64_sequoia: "fcd5d80e9d1d6fada71c424647c5be7ed126831b83d57deece2b836fa44dfe58"
15+
sha256 cellar: :any, arm64_sonoma: "b7653b544c06145b4a39d83311a0583849d4d4cf2873b81c341cddd135bed39f"
16+
sha256 cellar: :any, sonoma: "313e206a83f8a8459519f23e0c1d6e96978791ec62b162118aa7f036204615e9"
17+
sha256 cellar: :any_skip_relocation, x86_64_linux: "829f38b21be0258bcc84402afb8b7cefa9272a8a59e36f94aee33b7d8ace7ac4"
2018
end
2119

2220
depends_on "pkgconf" => :test
23-
depends_on "qt"
21+
depends_on "qtbase"
2422

2523
# Backport support for Qt6 from release/6.3.0 branch
2624
patch do
@@ -33,7 +31,7 @@ def install
3331
#
3432
# [^1]: https://github.com/Gecode/gecode/commit/19b9ec3b938f52f5ef5feef15c6be417b5b27e36
3533
inreplace "configure", "if test ${ac_gecode_qt_major} -eq 5;", "if test ${ac_gecode_qt_major} -ge 5;"
36-
ENV["MOC"] = Formula["qt"].opt_pkgshare/"libexec/moc"
34+
ENV["MOC"] = Formula["qtbase"].opt_share/"qt/libexec/moc"
3735
ENV.append "CXXFLAGS", "-std=c++17"
3836

3937
args = %W[

0 commit comments

Comments
 (0)