Skip to content

Commit 5d76d1b

Browse files
authored
Merge pull request #247306 from Homebrew/qwt-deps
qwt: use specific Qt dependencies
2 parents 4a6b50a + b66c450 commit 5d76d1b

File tree

2 files changed

+23
-19
lines changed

2 files changed

+23
-19
lines changed

Formula/q/qcli.rb

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,21 @@ class Qcli < Formula
55
tag: "v1.4",
66
revision: "982619270ff49987328343909ea2179d1af52004"
77
license "GPL-3.0-or-later"
8-
head "https://github.com/bavc/qctools.git", branch: "master"
8+
head "https://github.com/bavc/qctools.git", branch: "main"
99

1010
bottle do
11-
sha256 cellar: :any, arm64_tahoe: "e723aab767be3500e7f52c35e67dcb10c2dd9e1e9e9bf26f6aa36f08843f4ad1"
12-
sha256 cellar: :any, arm64_sonoma: "01381abc80e93b31c44d6f50a65f6e4feebb5d82380b4331b9b1fe58f37b9aaa"
13-
sha256 cellar: :any, arm64_ventura: "5f7e15ca1e3057ef5d2d2c7acc65528922efe573a12affe00f7be4ed37309fba"
14-
sha256 cellar: :any, sonoma: "d92539860c22d368cc5a208b3c04053f5d6f047d25647b3f0dbc8a4c8a55c70c"
15-
sha256 cellar: :any, ventura: "9fb489755752aa7decd8ec2f38dded60cdb7dcbde86377153d8b6953e511ac6f"
16-
sha256 cellar: :any_skip_relocation, x86_64_linux: "f87bd6039d932ef08d8b6b42d4adc44f497e54eb4ba9b153a44e439646b30209"
11+
rebuild 1
12+
sha256 cellar: :any, arm64_tahoe: "cf444e12eb4d646d9b80a325aec6df56361d9dd39ce2e80d90906f0916117dde"
13+
sha256 cellar: :any, arm64_sonoma: "fb63a2f6ab9e1bb330fc899b52228665b941e42a9201958f9d0594df19a384ad"
14+
sha256 cellar: :any, sonoma: "dbac2e76a60e184f4fec01ff89c988bc5e6c6908ca3f675569749a6ba77d4ae5"
15+
sha256 cellar: :any_skip_relocation, x86_64_linux: "bb6419243bf6240de5d24047020a8ef6eebef3f43c8adc5c00fbecbf19f3bf2c"
1716
end
1817

1918
depends_on "pkgconf" => :build
19+
depends_on "qtmultimedia" => :build
20+
depends_on "qwt" => :build
2021
depends_on "ffmpeg@6" # Issue ref: https://github.com/bavc/qctools/issues/552
21-
depends_on "qt"
22-
depends_on "qwt"
22+
depends_on "qtbase"
2323

2424
uses_from_macos "zlib"
2525

Formula/q/qwt.rb

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,17 +13,21 @@ class Qwt < Formula
1313
no_autobump! because: :requires_manual_review
1414

1515
bottle do
16-
rebuild 1
17-
sha256 cellar: :any, arm64_tahoe: "d5b661e35a9b33c14fc41fc7f7ae3d9522f6671985b0e2bdab855d258e82ad64"
18-
sha256 cellar: :any, arm64_sequoia: "008c584f487a2ef67c088ffc6deeefcf2462b2b028bc064fbedabb6df9f707f7"
19-
sha256 cellar: :any, arm64_sonoma: "136f2812341e94fb98be285e00f938c7078aa855dd766be89e8b27b65ff61729"
20-
sha256 cellar: :any, arm64_ventura: "be7a809955ab72f32520add889794883d4da77781387ba7110bf8ab75b03ce8d"
21-
sha256 cellar: :any, sonoma: "bf1e1368404ef259bdf0a446a2c5765ed38851d8fe8c050f5a6138a757f4044e"
22-
sha256 cellar: :any, ventura: "73c072ac764154eac4940a150ade2716b2b5240f0aec31438b808d1c80abc404"
23-
sha256 cellar: :any_skip_relocation, x86_64_linux: "13db11bcb1836554ed9d2d1be1e2a09c645f4278eeb282c1386554865915adc0"
16+
rebuild 2
17+
sha256 cellar: :any, arm64_tahoe: "b9997bee5756f9c2f27627b70b4af65e8e83cf742a69fbf190bb82b745ade6f2"
18+
sha256 cellar: :any, arm64_sequoia: "ad7400e7b47e1141ab0dc73e38ba9277e64815563ab09d098d291c279280c042"
19+
sha256 cellar: :any, arm64_sonoma: "7119f5e278adbd4ea156188b77c2f9a4cb50cce88d78407986c37e431c0a4195"
20+
sha256 cellar: :any, sonoma: "bfece3bd182b3bacc33ad714238fccbe59427aa405a4f0fe92bc3b7d9c8ac631"
21+
sha256 cellar: :any_skip_relocation, x86_64_linux: "6f2c7c9b88d0214e3fdc7b8fcf9f412fd5f306eacc069adbc388683d1f0f9603"
2422
end
2523

26-
depends_on "qt"
24+
depends_on "qttools" => :build
25+
depends_on "qtbase"
26+
depends_on "qtsvg"
27+
28+
on_macos do
29+
depends_on "qttools"
30+
end
2731

2832
# Apply Fedora patch to fix pkgconfig file.
2933
# Issue ref: https://sourceforge.net/p/qwt/bugs/353/
@@ -73,7 +77,7 @@ def install
7377
ENV.delete "CPATH"
7478
ENV["LC_ALL"] = "en_US.UTF-8"
7579

76-
system Formula["qt"].bin/"qmake", "test.pro"
80+
system Formula["qtbase"].bin/"qmake", "test.pro"
7781
system "make"
7882
system "./test"
7983
end

0 commit comments

Comments
 (0)