11class Lnav < Formula
22 desc "Curses-based tool for viewing and analyzing log files"
33 homepage "https://lnav.org/"
4- url "https://github.com/tstack/lnav/releases/download/v0.13.1 /lnav-0.13.1 .tar.gz"
5- sha256 "b6443702d56c35b3b8598f9b1bbd1cbf4548e5c213caf01680af7207bb25610b "
4+ url "https://github.com/tstack/lnav/releases/download/v0.13.2 /lnav-0.13.2 .tar.gz"
5+ sha256 "2b40158e36aafce780075e05419924faf8dd99d1c0d4ae25a15b00bc944f4d60 "
66 license "BSD-2-Clause"
77
88 livecheck do
@@ -11,14 +11,12 @@ class Lnav < Formula
1111 end
1212
1313 bottle do
14- sha256 cellar : :any , arm64_tahoe : "8f683d861edfd0d472409c9e54dc97e877169e56baf7f8fba6824545e9ed4918"
15- sha256 cellar : :any , arm64_sequoia : "67680a240a10e7caf6e865cabd617cbbc77c97f5e4b8f257ed5519d2180e6e25"
16- sha256 cellar : :any , arm64_sonoma : "aceeaf1385343eb892e38e3d666f2d09eee08e2fd9861029cbd0b5541ff2b252"
17- sha256 cellar : :any , arm64_ventura : "ce354f9f3295c7f420404b7bf03a3fe08fd4cab96f11b0d2584b8c3bc52b6274"
18- sha256 cellar : :any , sonoma : "fb303c355d05bce93e717b7ae7e5e528d487d0d1b2d33206fd3205dc820c1ab9"
19- sha256 cellar : :any , ventura : "7b3082e00ea9c2de8a67144eb584f747003787eb0939ce725e057a7ec1653339"
20- sha256 cellar : :any_skip_relocation , arm64_linux : "91e9aafedef046e6f7cc01bc142280f37f0aa7569bb5b24e5454739592fedb11"
21- sha256 cellar : :any_skip_relocation , x86_64_linux : "ee12bf35f2a62221aaef14d354b626a3bf20cc715876da1b2027cbcb6c8ade47"
14+ sha256 cellar : :any , arm64_tahoe : "81435ab1b41cc5b56ab2a92c5eef9fca43d824648d3425568c524288ec7f6ee3"
15+ sha256 cellar : :any , arm64_sequoia : "624271a5f081874270693d12b9e3c198c23e3fbe3b198451bdd9e9564c8360e0"
16+ sha256 cellar : :any , arm64_sonoma : "93a90add80e6d36904eb68f9ac3e929afec7761cc574250461e9ac342cc9b20e"
17+ sha256 cellar : :any , sonoma : "127a67c37a77feeb88a325e139e29450cb9d5716018dcfc5efcc4c3b1d7919f5"
18+ sha256 cellar : :any_skip_relocation , arm64_linux : "5e46055ab9c5a4880a8e1d8fb69abb70431b2cd603e4e060f823ffbf89885125"
19+ sha256 cellar : :any_skip_relocation , x86_64_linux : "700d8f095d115fffc0f26201322e07cde5ad2a9027bb8542056d5289e4073874"
2220 end
2321
2422 head do
@@ -34,29 +32,16 @@ class Lnav < Formula
3432 depends_on "rust" => :build
3533 depends_on "libarchive"
3634 depends_on "libunistring"
37- depends_on "ncurses"
3835 depends_on "pcre2"
39- depends_on "readline"
4036 depends_on "sqlite"
4137
4238 uses_from_macos "bzip2"
4339 uses_from_macos "curl"
4440 uses_from_macos "zlib"
4541
46- # Fix to error: windows.h: No such file or directory, should be removed in next release
47- # Issue ref: https://github.com/tstack/lnav/issues/1538
48- patch do
49- url "https://github.com/tstack/lnav/commit/5df522e53fea7f07f113c2d83093cd789f8496ef.patch?full_index=1"
50- sha256 "cf2c00335fb56dbb0bfeee958ad4c14687aeb7e8c9ef097f4f5fad9c75f0c4d7"
51- end
52-
5342 def install
54- # TODO: Run autogen.sh on head only upon next release
55- system "autoreconf" , "--force" , "--install" , "--verbose"
5643 system "./configure" , "--with-sqlite3=#{ Formula [ "sqlite" ] . opt_prefix } " ,
57- "--with-readline=#{ Formula [ "readline" ] . opt_prefix } " ,
5844 "--with-libarchive=#{ Formula [ "libarchive" ] . opt_prefix } " ,
59- "--with-ncurses=#{ Formula [ "ncurses" ] . opt_prefix } " ,
6045 *std_configure_args
6146 system "make" , "install" , "V=1"
6247 end
0 commit comments