Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

got 0.99 #170885

Merged
merged 2 commits into from
May 16, 2024
Merged

got 0.99 #170885

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
27 changes: 15 additions & 12 deletions Formula/g/got.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class Got < Formula
desc "Version control system"
homepage "https://gameoftrees.org/"
url "https://gameoftrees.org/releases/portable/got-portable-0.97.tar.gz"
sha256 "e07a4894a458503a32982047f064bc0c35da6349d8895be8b69064c2094e3b72"
url "https://gameoftrees.org/releases/portable/got-portable-0.99.tar.gz"
sha256 "aea408353a02b2e3ad9b4d1b7607900269af97986d40998c57f10acdf0fa1e38"
license "ISC"

livecheck do
Expand All @@ -11,20 +11,21 @@ class Got < Formula
end

bottle do
sha256 arm64_sonoma: "f3a1376bea4c5c1241b459071b4d1252430de662a77d4d370994abcf69a470d7"
sha256 arm64_ventura: "7a73ad9745c37023250d6923a75d42e8fe8c34d2096e5c49ed6c2ec45e276627"
sha256 arm64_monterey: "9131771ac9e8fd69ad11d397c07bc4d5c59e0944704e11b62074eab1202d195d"
sha256 sonoma: "a03d518b9da4c23d703a05d9850045b1be7f682087e0e90bd3e438c594f0ac7a"
sha256 ventura: "52365b1257ca463932c604f27aa4cb883643cbd0edb50fca8ed54384f85c00d5"
sha256 monterey: "0e5fc3bec6c8e0a5a2d9e37074b3ca5ffe48ffeecac684f4a14b68ddc32546cb"
sha256 x86_64_linux: "6d2c715f1ac2cd933a77b208d50b27ebb60ca466729c681990817a78f757ed6d"
sha256 arm64_sonoma: "538beef159fa1123e090cc249fd03bd2060aa8acfe2597692085e11159fab59b"
sha256 arm64_ventura: "8842a01c7156826c56ce6a5e169bed54c5572f5075ac616a2e75100f6dc6e4e2"
sha256 arm64_monterey: "22acd338fe8f33d354933924599d001c28d3c9766da42a1e49579d2e2361fd37"
sha256 sonoma: "b26824243b742b45f7ed14ae787fb332a5f6691736a0620cef0bea51b1b7ce6a"
sha256 ventura: "bfd43d7bba44973235ee55700a4eb370b06d2725ac46742f53873e00c04da9a0"
sha256 monterey: "25c0303951418d8f39a2d39221c38cbe3910c99282a421876eeb91068cd679aa"
sha256 x86_64_linux: "39beb5bc3cb9d7f9849bd574cd04a5ce606fac49f4a54d4aecc09d6bd2031d0d"
end

depends_on "bison" => :build
depends_on "pkg-config" => :build
depends_on "libevent"
depends_on "libressl"
depends_on "ncurses"
depends_on "openssl@3"

uses_from_macos "zlib"

on_linux do
Expand All @@ -34,8 +35,10 @@ class Got < Formula
end

def install
inreplace "configure", %r{\$\{HOMEBREW_PREFIX?\}/opt/openssl@\d+(\.\d+)?}, Formula["openssl@3"].opt_prefix
system "./configure", *std_configure_args, "--disable-silent-rules"
inreplace "configure", %r{\$\{HOMEBREW_PREFIX?\}/opt/openssl@\d+(\.\d+)?}, Formula["libressl"].opt_prefix
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we report this upstream?

system "./configure", "--disable-silent-rules",
"--with-libtls=#{Formula["libressl"].opt_prefix}",
*std_configure_args
system "make", "install"
end

Expand Down