Created
June 1, 2022 20:59
-
-
Save jcolson/ef44549078c0d6c12e846ad35f0a55d6 to your computer and use it in GitHub Desktop.
changes to weechat formula to compile 3.5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Formula/weechat.rb b/Formula/weechat.rb | |
index b8b4af479e2..8a11aa547dd 100644 | |
--- a/Formula/weechat.rb | |
+++ b/Formula/weechat.rb | |
@@ -1,20 +1,13 @@ | |
class Weechat < Formula | |
desc "Extensible IRC client" | |
homepage "https://www.weechat.org" | |
- url "https://weechat.org/files/src/weechat-3.4.1.tar.xz" | |
- sha256 "7e088109ad5dfbcb08a9a6b1dd70ea8236093fed8a13ee9d9c98881d7b1aeae7" | |
+ url "https://weechat.org/files/src/weechat-3.5.tar.xz" | |
+ sha256 "ea904e4cec8edd0bd24f3ea17f6d6dff97ca00ee0571ee972e79e54c8c08170c" | |
license "GPL-3.0-or-later" | |
head "https://github.com/weechat/weechat.git", branch: "master" | |
- bottle do | |
- sha256 arm64_monterey: "80198dbca583a06b20e581bd3022dadbb48ecc01d420c1a23d329b6458f358f9" | |
- sha256 arm64_big_sur: "be85e5b0ec97d771835aeaf0aefc233b0a89f94db33e281e91c1af10aa2ce39f" | |
- sha256 monterey: "61131cc1a0ab1267409212a5dbdda2071f215e8599dd41384602fafb0c13315d" | |
- sha256 big_sur: "4095840ed9d5d2cbbeafee118df2c03f956bd9204db07ad3a9d19bca701ba717" | |
- sha256 catalina: "c27e5bf2cf1a47d0e02db588011efc45b7bece44534b5fa7a97e74e74c27ac07" | |
- sha256 x86_64_linux: "2fc84f3e078f687a06cd9100faaeb7eb95700834a0a8d55c26b33c08aa5d5ff4" | |
- end | |
- | |
+ depends_on "autoconf" | |
+ depends_on "automake" | |
depends_on "asciidoctor" => :build | |
depends_on "cmake" => :build | |
depends_on "pkg-config" => :build | |
@@ -27,6 +20,7 @@ class Weechat < Formula | |
depends_on "perl" | |
depends_on "[email protected]" | |
depends_on "[email protected]" | |
+ depends_on "zstd" | |
uses_from_macos "curl" | |
uses_from_macos "tcl-tk" | |
@@ -51,10 +45,10 @@ class Weechat < Formula | |
# Fix system gem on Mojave | |
ENV["SDKROOT"] = ENV["HOMEBREW_SDKROOT"] | |
- mkdir "build" do | |
- system "cmake", "..", *args | |
- system "make", "install", "VERBOSE=1" | |
- end | |
+ system "./autogen.sh" | |
+ system "./configure", "--prefix=#{prefix}" | |
+ # system "cmake", "..", *args | |
+ system "make", "install", "VERBOSE=1" | |
end | |
test do |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment