Skip to content

Commit 5a0a44d

Browse files
authored
Merge pull request #198029 from Homebrew/bump-fltk-1.4.0
fltk 1.4.0, [email protected] 1.3.10 (new formula)
2 parents 06872fc + ae6ba41 commit 5a0a44d

File tree

10 files changed

+134
-70
lines changed

10 files changed

+134
-70
lines changed

Aliases/[email protected]

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../Formula/f/fltk.rb

Formula/c/csound.rb

+6-7
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ class Csound < Formula
22
desc "Sound and music computing system"
33
homepage "https://csound.com"
44
license "LGPL-2.1-or-later"
5-
revision 10
5+
revision 11
66
head "https://github.com/csound/csound.git", branch: "master"
77

88
# Remove `stable` block when patches are no longer needed
@@ -29,12 +29,11 @@ class Csound < Formula
2929
end
3030

3131
bottle do
32-
rebuild 1
33-
sha256 arm64_sequoia: "c7b3678be39fa2ada7ebad51325aed51d21b7b5eb523843c4bfe8d95d5dc2ee0"
34-
sha256 arm64_sonoma: "0850bed4c09a449a302d64a0fd2e9276874c71fb0623a8c32d85097b7c31d6fd"
35-
sha256 arm64_ventura: "8e12ae6a32c9204a1809e8bc07a8b6b53d5f38351f62a5993374a70b00aadeb8"
36-
sha256 sonoma: "b1e9791dad3293beb6f67eac9f5d616ec6063cb5b22108a71de9dd0ae08ccdc7"
37-
sha256 ventura: "a76a9a9f213cb160632eb024ba95858ff5989e621c95fe7b70b3a280d8df4384"
32+
sha256 arm64_sequoia: "61be90827875be2da1ff759baea46c74e0c0ccd7344bc8ab949efe3b05260106"
33+
sha256 arm64_sonoma: "71adfde634382610bffb31c3fbf3aeacf25773de90e06b5158e09b18e4d205e9"
34+
sha256 arm64_ventura: "e3b0dfd98b61b7b2d1e575fd3719d915982f0da0232368137412d71d03c0dbea"
35+
sha256 sonoma: "9431a7350d67b3e144136416cdca5162aba4a31ac7149c64c412be297c660c00"
36+
sha256 ventura: "334cd0b0985e049534ab67125b7c173146dff78a7ddd66be4d1b14a8a12d357e"
3837
end
3938

4039
depends_on "asio" => :build

Formula/d/dillo.rb

+13-12
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,15 @@ class Dillo < Formula
44
url "https://github.com/dillo-browser/dillo/releases/download/v3.1.1/dillo-3.1.1.tar.bz2"
55
sha256 "5b85adc2315cff1f6cc29c4fa7e285a964cc3adb7b4cd652349c178292a4fb9e"
66
license "GPL-3.0-or-later"
7+
revision 1
78

89
bottle do
9-
sha256 arm64_sequoia: "f6d6810081fbf6d7fc7eee4364ea8ed8783390401f1725bb4d7735256f5d32e8"
10-
sha256 arm64_sonoma: "7659f9a43d50f1bbb57cbcf772e0678fd8450ce7e11449a99c1e6c2191c7ccdb"
11-
sha256 arm64_ventura: "988cd2898a45ab880b51f51803baccbae409468c18e329b3f3ee406fa783628c"
12-
sha256 arm64_monterey: "d1870bc65b0e048eb642b1853f7b31526327160df24e6f9dda1a6c18976ba22c"
13-
sha256 sonoma: "b1a7d562d451d28fb2d2d16c894c070271dd4425bc33955d6dcb5c859466a482"
14-
sha256 ventura: "f7f73f1ce2a1c5ed69287182e8d870a366209dde19a76e49f547803468b16a95"
15-
sha256 monterey: "049ba3e72f9a0cf75e62f4ab6dfce2a11b383e06e253fe2d8a5c7223487cb97f"
16-
sha256 x86_64_linux: "fd6127a85c1bbabba2446009df8eb6bd91a9fc182b79cf6d259167fe23bfe69c"
10+
sha256 arm64_sequoia: "9404791603f2b7fb3fa522b7382a6475a9b4f3ac1c0809c06be4d14b5eddc803"
11+
sha256 arm64_sonoma: "2f2b0384243aee474b744a136185f68e0b6f6cb3b2ca6e6e49fde33c67f330d1"
12+
sha256 arm64_ventura: "e9534a6faf1057a15b0b202bbab10f111f42cc7549d373fe3206a7294b9ee6f8"
13+
sha256 sonoma: "5d792e66046032a6de934308c3c89ce1deb2860512bd407702de54dcbbac2142"
14+
sha256 ventura: "173dc719442af8f2cd07d93eebe073e1c763650d7fde7d6768687ec4fc893f39"
15+
sha256 x86_64_linux: "ad5c0fc67498f19b19ee7c216cd925b2766c706fe603340ffdc3e4542800a3be"
1716
end
1817

1918
head do
@@ -23,7 +22,9 @@ class Dillo < Formula
2322
depends_on "automake" => :build
2423
end
2524

26-
depends_on "fltk"
25+
# TODO: Switch to unversioned `fltk` when possible.
26+
# https://github.com/dillo-browser/dillo/issues/246
27+
depends_on "[email protected]"
2728
depends_on "jpeg-turbo"
2829
depends_on "libpng"
2930
depends_on "openssl@3"
@@ -46,7 +47,7 @@ def install
4647

4748
test do
4849
test_file = testpath/"test.html"
49-
(testpath/"test.html").write <<~EOS
50+
(testpath/"test.html").write <<~HTML
5051
<!DOCTYPE html>
5152
<html>
5253
<head>
@@ -56,7 +57,7 @@ def install
5657
<h1>test</h1>
5758
</body>
5859
</html>
59-
EOS
60+
HTML
6061

6162
# create bunch of dillo resource files
6263
(testpath/".dillo").mkpath
@@ -67,7 +68,7 @@ def install
6768

6869
begin
6970
PTY.spawn(bin/"dillo", test_file) do |_r, _w, pid|
70-
sleep 2
71+
sleep 15
7172
Process.kill("TERM", pid)
7273
end
7374
rescue Errno::EIO

Formula/f/fltk.rb

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
class Fltk < Formula
22
desc "Cross-platform C++ GUI toolkit"
33
homepage "https://www.fltk.org/"
4-
url "https://www.fltk.org/pub/fltk/1.3.10/fltk-1.3.10-source.tar.gz"
5-
sha256 "c1c96d4f2ca7844f4b7945b4670aff2846f150cd5f3e23e3e4c70a61807108c7"
4+
url "https://www.fltk.org/pub/fltk/1.4.0/fltk-1.4.0-source.tar.gz"
5+
sha256 "59a977d58975071b04b0d2e9c176bdca805404161ab712605019a5f8ff3c3c53"
66
license "LGPL-2.0-only" => { with: "FLTK-exception" }
77

88
livecheck do
@@ -11,12 +11,12 @@ class Fltk < Formula
1111
end
1212

1313
bottle do
14-
sha256 arm64_sequoia: "54759e1f0e09059afe4336d8dd8c7553b2c3826fd7de66c68d646ad7de28845d"
15-
sha256 arm64_sonoma: "f396bd099823600cb79495748dc245766495986e53ccc17c3f6f9f1e798c84cb"
16-
sha256 arm64_ventura: "78ffee8da5edf502295b918f039a2bd351621c43d700c5713f0c6b6b397973a2"
17-
sha256 sonoma: "5862341ba160f98a461fa44f71975b4620e20513d7f91c92d10856a2e7d95e10"
18-
sha256 ventura: "3655b8af66de20eab4e70ce5ff45941780fed5078d0610e45639c5e0922f4678"
19-
sha256 x86_64_linux: "ec631462814cb6bec51b83dc38663df566c09ec4cdb307c6af1976f197c4b2b1"
14+
sha256 arm64_sequoia: "5960232ae6391fa7d9ce9ef8e966a894155e0bf7153f6eae1e4e26609a035730"
15+
sha256 arm64_sonoma: "8e0202d18c58a749eb407917a73c5974fce7c232baf8aaea57592c2d8f41383c"
16+
sha256 arm64_ventura: "4585a6b4f195847dd50530b06377c9970f7c55040334ff5367e5e02c1fd9c0f0"
17+
sha256 sonoma: "bb977df395dbc40d100647cc9b49a5f63236a93be4abda4d66258c50db6d85db"
18+
sha256 ventura: "6dbf3af209d938a5e315f822e70efef76863ab05c169db6e9a0b68de172e2916"
19+
sha256 x86_64_linux: "b9f3ce48a2066a8acfa2dca7e757952bde3e6ad4408da9d1135c4cbcaf06654f"
2020
end
2121

2222
head do
@@ -28,7 +28,7 @@ class Fltk < Formula
2828
depends_on "libpng"
2929

3030
on_linux do
31-
depends_on "pkg-config" => :build
31+
depends_on "pkgconf" => :build
3232
depends_on "fontconfig"
3333
depends_on "libx11"
3434
depends_on "libxext"

Formula/f/[email protected]

+66
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
class FltkAT13 < Formula
2+
desc "Cross-platform C++ GUI toolkit"
3+
homepage "https://www.fltk.org/"
4+
url "https://www.fltk.org/pub/fltk/1.3.10/fltk-1.3.10-source.tar.gz"
5+
sha256 "c1c96d4f2ca7844f4b7945b4670aff2846f150cd5f3e23e3e4c70a61807108c7"
6+
license "LGPL-2.0-only" => { with: "FLTK-exception" }
7+
8+
livecheck do
9+
url "https://www.fltk.org/software.php"
10+
regex(/href=.*?fltk[._-]v?(1\.3(?:\.\d+)*(?:-\d+)?)-source\.t/i)
11+
end
12+
13+
bottle do
14+
sha256 arm64_sequoia: "42137ae37ed975c86cf8dfae5fa052ecf9cd9e07a0f4719da35e0bffb95f555e"
15+
sha256 arm64_sonoma: "96d8e718dbef7557ff0fd302420ce4ffd1fd3fe0ed3178c6eca3bbdaaeb5b776"
16+
sha256 arm64_ventura: "4e025d394e75457fa5aea55ea1e0ac47df89c6c1fe1cc9b6fd5e4ed5de99eea1"
17+
sha256 sonoma: "d44bc567d2045088a4f9ebde2fdcc606fb05d21726de5abe836eee74ce3cef4e"
18+
sha256 ventura: "f31586117b37b2bb707bbea3037270805dc5982e4fed54d7b6b59c51c144a612"
19+
sha256 x86_64_linux: "695b8822888b50a7989144daca06fa371d3aa9bd47026009d35fb40885cf44d1"
20+
end
21+
22+
keg_only :versioned_formula
23+
24+
depends_on "jpeg-turbo"
25+
depends_on "libpng"
26+
27+
on_linux do
28+
depends_on "pkgconf" => :build
29+
depends_on "fontconfig"
30+
depends_on "libx11"
31+
depends_on "libxext"
32+
depends_on "libxfixes"
33+
depends_on "libxft"
34+
depends_on "libxrender"
35+
depends_on "libxt"
36+
depends_on "mesa"
37+
depends_on "mesa-glu"
38+
end
39+
40+
def install
41+
system "./configure", "--prefix=#{prefix}",
42+
"--enable-threads",
43+
"--enable-shared"
44+
system "make", "install"
45+
end
46+
47+
test do
48+
(testpath/"test.cpp").write <<~CPP
49+
#include <FL/Fl.H>
50+
#include <FL/Fl_Window.H>
51+
#include <FL/Fl_Box.H>
52+
int main(int argc, char **argv) {
53+
Fl_Window *window = new Fl_Window(340,180);
54+
Fl_Box *box = new Fl_Box(20,40,300,100,"Hello, World!");
55+
box->box(FL_UP_BOX);
56+
box->labelfont(FL_BOLD+FL_ITALIC);
57+
box->labelsize(36);
58+
box->labeltype(FL_SHADOW_LABEL);
59+
window->end();
60+
return 0;
61+
}
62+
CPP
63+
system ENV.cxx, "test.cpp", "-L#{lib}", "-lfltk", "-o", "test"
64+
system "./test"
65+
end
66+
end

Formula/g/gmsh.rb

+7-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class Gmsh < Formula
44
url "https://gmsh.info/src/gmsh-4.13.1-source.tgz"
55
sha256 "77972145f431726026d50596a6a44fb3c1c95c21255218d66955806b86edbe8d"
66
license "GPL-2.0-or-later"
7-
revision 1
7+
revision 2
88
head "https://gitlab.onelab.info/gmsh/gmsh.git", branch: "master"
99

1010
livecheck do
@@ -13,14 +13,12 @@ class Gmsh < Formula
1313
end
1414

1515
bottle do
16-
sha256 cellar: :any, arm64_sequoia: "ed45482acf3bcbc86d9126c68718128f0ea1525f3fc546ab879f2926192791fb"
17-
sha256 cellar: :any, arm64_sonoma: "9f3836c4ba6bc88d80f5b4b16bb75dfb424abc9cb6ad157eb66de1c0ead79f38"
18-
sha256 cellar: :any, arm64_ventura: "b2eca4d0f50393fd431f2f4e35f6ef32b17b07f7edcca72f53ae526a2c639357"
19-
sha256 cellar: :any, arm64_monterey: "7c11588d5e558f65d930ce46f2c9587e9a846e5a7471cd8e86a7c1e7be6ebb60"
20-
sha256 cellar: :any, sonoma: "3de1102defd21daeb01d71f767e3f4d527ff4c6e64eea1af91d4df0125adae58"
21-
sha256 cellar: :any, ventura: "4e254c102c8b53c09f26affbead6ebd48ea19037c0ac694df0179988498f49c0"
22-
sha256 cellar: :any, monterey: "19f99aa08e30266ee8d24c60d5c63d6627cce0885084e10a782ea6a93900c08d"
23-
sha256 cellar: :any_skip_relocation, x86_64_linux: "8605e75e4d5f0f44cc7408191ffdeaa21e9af2c93586f0436b87cb1957823c4d"
16+
sha256 cellar: :any, arm64_sequoia: "b2b3a910ebf7ddb5948db46013d847c482ad842f96c103665e368ef7ca03bea0"
17+
sha256 cellar: :any, arm64_sonoma: "f25a49e4ba3a83ebe8b21a0595ffd0c10e5e9077dd256f444e79d066c81492f7"
18+
sha256 cellar: :any, arm64_ventura: "9270008c00e67bc44583f84feb6b40133fe6b6f4cf36b95e7d4fcd5ce6167f83"
19+
sha256 cellar: :any, sonoma: "0d95a962363acf44d44d045a979328f03a24567b6a93972af548ac30fa6146ce"
20+
sha256 cellar: :any, ventura: "11187186b7392a891ac2de97eb738fbe3bd81b77ec1578f21b9e4f32e0f93399"
21+
sha256 cellar: :any_skip_relocation, x86_64_linux: "53c0e612189189fb9eceac40411dc5be1afb42ba66bc9ec1677bb497bfd3565f"
2422
end
2523

2624
depends_on "cmake" => :build

Formula/l/limesuite.rb

+6-7
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,14 @@ class Limesuite < Formula
44
url "https://github.com/myriadrf/LimeSuite/archive/refs/tags/v23.11.0.tar.gz"
55
sha256 "fd8a448b92bc5ee4012f0ba58785f3c7e0a4d342b24e26275318802dfe00eb33"
66
license "Apache-2.0"
7+
revision 1
78

89
bottle do
9-
sha256 cellar: :any, arm64_sonoma: "78cb49ea54e9921a5e702bd3069a0f73bf79657f639ad2b0121674e426dd1b10"
10-
sha256 cellar: :any, arm64_ventura: "6dce8b71011151e03017734e3f7f88a94dbafc832eebdd68801db24313077af9"
11-
sha256 cellar: :any, arm64_monterey: "685348d490f4a7cfa4b101bcab50731d36d39138a12c184c4f16d19e3e5e150a"
12-
sha256 cellar: :any, sonoma: "08851383efc2715115de48dae59b7822768b245307ead7dacb621ad57274c743"
13-
sha256 cellar: :any, ventura: "921ee2dad497759f3b53e7333a9bca5d6768c735fcc786d6de769454d73c30d6"
14-
sha256 cellar: :any, monterey: "5a852a175e341b887f4277e283b8848a0ae50d0e89667e7cbdd77118cbcb4a63"
15-
sha256 cellar: :any_skip_relocation, x86_64_linux: "0183d2b85edf613930c5e1560b02a15836efc40169e21cdbb950c7322144927a"
10+
sha256 cellar: :any, arm64_sonoma: "412a1287101507e62517f810b903e5dfd619fd0ccac3c23c6fe5e8580221b0b1"
11+
sha256 cellar: :any, arm64_ventura: "26c22dc6a7143e5006e5d5ccf28ce807b5e77c4a66648aec9b7afc529c38f1ae"
12+
sha256 cellar: :any, sonoma: "a0c8528c441e6f09eb54397549907bc5481fc96a24e3853683807e450111dc1f"
13+
sha256 cellar: :any, ventura: "500ddb9fa793b9cf9b85945b0459e70199b1ece8afc9220bcd312e42b011d962"
14+
sha256 cellar: :any_skip_relocation, x86_64_linux: "61e7dc45e90a1e1237bc7f423548a8af0760fe61bb473469fea5de0ab5d4a624"
1615
end
1716

1817
depends_on "cmake" => :build

Formula/n/nestopia-ue.rb

+8-9
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,22 @@ class NestopiaUe < Formula
44
url "https://github.com/0ldsk00l/nestopia/archive/refs/tags/1.52.1.tar.gz"
55
sha256 "c9c0bce673eb3b625b538b462e49c00ed1ee1ded1e0bad09be780076880968b5"
66
license "GPL-2.0-or-later"
7+
revision 1
78
head "https://github.com/0ldsk00l/nestopia.git", branch: "master"
89

910
bottle do
10-
sha256 arm64_sequoia: "186ac8f3ba4e9074efc2fbf75afeb3bf01cfc9b08a0a8c752b378b14fdd6bf75"
11-
sha256 arm64_sonoma: "bba218b8268f6062f2882471629ad25a240b9d0d9dd24efbafdf2cf7818b5638"
12-
sha256 arm64_ventura: "d633b03ad8d1774d29f6cd3f8a433e92074cddfffc75a9d1c4fdd3a1addb2ef0"
13-
sha256 arm64_monterey: "115682347106093089ff1f3b045a8c5e7691bcb2b514b8792e64c4dff704ade6"
14-
sha256 sonoma: "d0d8b9beb96c6ac06a66dc9dae3fce6a5106aee96141c0e17ce92d5298d5bc05"
15-
sha256 ventura: "dc19708fed0ce2cd8dfcc3d8deb2b256408b7b453ffa23aba585486cbfcdf43e"
16-
sha256 monterey: "0579323fdd9048d6170abd75af16065cd958bcfcf45bfeb59c6e6318af8b706f"
17-
sha256 x86_64_linux: "baa896c57a6cc6a9c5d528bab2c67c828715115e4cfb83f71dda491e312fb3ec"
11+
sha256 arm64_sequoia: "67af1d1abc8403e93fd13196f700615e07dd7034479f3822f1a4b00b1240899b"
12+
sha256 arm64_sonoma: "6c6067d902336e6e8ec57e70607c703b6a4d95e8639cde05375b667da2b2f97f"
13+
sha256 arm64_ventura: "c57ba97017d1bed91703be29ff24a3cccf099fc962e0972e63c9af9c8ea54083"
14+
sha256 sonoma: "9c90b0b5a87130d6d4a64e37c76f9d358e238a9a87c5bf227448f0bd143dd8b7"
15+
sha256 ventura: "b0900fc15e84459bd860ec7ea552d9abebf8670dc3211440d9e585706d72cfc4"
16+
sha256 x86_64_linux: "9108695ba978f4218da904110ce3d22e0345aeb85edc7bc3152997e759af58a6"
1817
end
1918

2019
depends_on "autoconf" => :build
2120
depends_on "autoconf-archive" => :build
2221
depends_on "automake" => :build
23-
depends_on "pkg-config" => :build
22+
depends_on "pkgconf" => :build
2423

2524
depends_on "fltk"
2625
depends_on "libarchive"

Formula/o/octave.rb

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Octave < Formula
55
mirror "https://ftpmirror.gnu.org/octave/octave-9.2.0.tar.xz"
66
sha256 "21417afb579105b035cac0bea09201522e384893ae90a781b8727efa32765807"
77
license "GPL-3.0-or-later"
8-
revision 2
8+
revision 3
99

1010
# New tarballs appear on https://ftp.gnu.org/gnu/octave/ before a release is
1111
# announced, so we check the octave.org download page instead.
@@ -15,11 +15,11 @@ class Octave < Formula
1515
end
1616

1717
bottle do
18-
sha256 arm64_sonoma: "6db0a9b4e3effce4a3f10f50a0b6b4fb721693ca517d409ffa0bf28e4aa5132e"
19-
sha256 arm64_ventura: "ff75d2805a738e47e7624fec50d4fe25f78c17b35a62a21cc22de00d96b8120e"
20-
sha256 sonoma: "dd39ccca52e34d7acf3b6a9c377f475efbd5b6c6a3ae739bf81627c76bb0363e"
21-
sha256 ventura: "aeb0606c1ce997c84736fb63eaec9cff8f7ac29819b76db50f0d228fa436529c"
22-
sha256 x86_64_linux: "752410d834abe564286d7fcfe6f6915d27866d56b760c0869d1c61b44c1bf8fa"
18+
sha256 arm64_sonoma: "6b054b347149fdb9f895d0826a3ddfe19b9073ec69a593495c6eab6604c89b04"
19+
sha256 arm64_ventura: "942cffcc4cf845683ecfa339d9a363bb7566c02cf0eed1706c3eac2071817028"
20+
sha256 sonoma: "e78c8cf8381ebec4148d7ef861b88f55d4080454538724096f245c4c80a38444"
21+
sha256 ventura: "9f5e718dd008b07f296158d0e34beeafa43396116bb74d9e6f10e9936b774128"
22+
sha256 x86_64_linux: "bf6732da770cd8e4a8b5ef6ae7e38d7e49d3d005eef2fa691c5ff4a1c68a849f"
2323
end
2424

2525
head do

Formula/t/tiger-vnc.rb

+12-11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class TigerVnc < Formula
44
url "https://github.com/TigerVNC/tigervnc/archive/refs/tags/v1.14.1.tar.gz"
55
sha256 "579d0d04eb5b806d240e99a3c756b38936859e6f7db2f4af0d5656cc9a989d7c"
66
license "GPL-2.0-or-later"
7+
revision 1
78

89
# Tags with a 90+ patch are unstable (e.g., the 1.9.90 tag is used for the
910
# 1.10.0 beta release) and this regex should only match the stable versions.
@@ -13,16 +14,16 @@ class TigerVnc < Formula
1314
end
1415

1516
bottle do
16-
sha256 cellar: :any, arm64_sequoia: "160d047fc18c4f0d6e3248b891af26eedaadb399dfbab8cdfa22fd38381da2a5"
17-
sha256 cellar: :any, arm64_sonoma: "394baefd26256c2a60d8473df54c3dcd2f9fd622390978bc42f66b167e61754b"
18-
sha256 cellar: :any, arm64_ventura: "e3dc4bd4028728591444dff08dcefa89bd2feccd8809e87b113acd308e84e291"
19-
sha256 cellar: :any, sonoma: "8a72bcc982e92fb1df9425096f1e2ee7a3482518d0c51f1b52026dcd900fb7e9"
20-
sha256 cellar: :any, ventura: "75049c896f1ca55cf17c9dddb35ddc8b2145387cd6584808da08ae20b1c2cd37"
21-
sha256 x86_64_linux: "f2d19f4ff08c3bdbd5564ac5fe95d86efd2262c67b806411fc79e8860c87ea4e"
17+
sha256 cellar: :any, arm64_sequoia: "7bc176a2d61c328fb349c89517136f824ba6a24e8bd1ce2742212b0a72779136"
18+
sha256 cellar: :any, arm64_sonoma: "7cf35ae52dae8555f601816857569539b6f4a4567d0430aca2069ffd064afa30"
19+
sha256 cellar: :any, arm64_ventura: "d3a0850c956e85032de86105e5f41e4b9d0a284ac459325787689f9a0f1620f8"
20+
sha256 cellar: :any, sonoma: "0d423088741028380b8ac0e6afb22e83820f8551d6eeea5c46a68c4b04f62c2d"
21+
sha256 cellar: :any, ventura: "9276bf7e39d26bd7822f00b894e36a59851d201c60f478d2404636da226736d5"
22+
sha256 x86_64_linux: "7387518d8ad605dd07089fdb78ac5894aa3c9c15bd763d80458a3a907e74cba3"
2223
end
2324

2425
depends_on "cmake" => :build
25-
depends_on "fltk"
26+
depends_on "fltk@1.3"
2627
depends_on "gettext"
2728
depends_on "gmp"
2829
depends_on "gnutls"
@@ -49,13 +50,13 @@ class TigerVnc < Formula
4950

5051
def install
5152
turbo = Formula["jpeg-turbo"]
52-
args = std_cmake_args + %W[
53+
args = %W[
5354
-DJPEG_INCLUDE_DIR=#{turbo.include}
5455
-DJPEG_LIBRARY=#{turbo.lib}/#{shared_library("libjpeg")}
55-
.
5656
]
57-
system "cmake", *args
58-
system "make", "install"
57+
system "cmake", "-S", ".", "-B", "build", *args, *std_cmake_args
58+
system "cmake", "--build", "build"
59+
system "cmake", "--install", "build"
5960
end
6061

6162
test do

0 commit comments

Comments
 (0)