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

wownero 0.11.3.0 #201538

Merged
merged 2 commits into from
Dec 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 9 additions & 25 deletions Formula/w/wownero.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ class Wownero < Formula
desc "Official wallet and node software for the Wownero cryptocurrency"
homepage "https://wownero.org"
# TODO: Check if we can use unversioned `protobuf` at version bump
url "https://git.wownero.com/wownero/wownero.git",
tag: "v0.11.1.0",
revision: "1b8475003c065b0387f21323dad8a03b131ae7d1"
url "https://codeberg.org/wownero/wownero.git",
tag: "v0.11.3.0",
revision: "3e302be710f4e6b4f58642989c8e47711362fa56"
license "BSD-3-Clause"
revision 5

# The `strategy` code below can be removed if/when this software exceeds
# version 10.0.0. Until then, it's used to omit a malformed tag that would
Expand All @@ -25,14 +24,12 @@ class Wownero < Formula
end

bottle do
sha256 cellar: :any, arm64_sequoia: "c6350d120c92aa80675a64133daa98ce1de82f536130bf52f0cea6b68dbf1c66"
sha256 cellar: :any, arm64_sonoma: "17da92001eeaa1c252c3998ec8bf5e36a67a7e024bf7017dc0d7bb2f6f339b9b"
sha256 cellar: :any, arm64_ventura: "58f6790548e4d11d3345a630988c91136c0e12bcb0fb5cb818d6dbb7a161bafc"
sha256 cellar: :any, arm64_monterey: "3082d89d0fe7b93cf50920f1cdcefd3fd24c930b8de2c6107c9a823fde779e55"
sha256 cellar: :any, sonoma: "82fb6f7b89fb7e39ac0723ce4555c4439249627966054fd4b95a02d2ebfa4cc3"
sha256 cellar: :any, ventura: "08418e9fa1c07124a675e867a77f2fec294b45058f8e33fd308ed3573793d2b7"
sha256 cellar: :any, monterey: "d9c2ea323635f520503e9b8c53db1d599d8c5e192420743470da97c0a918d4f6"
sha256 cellar: :any_skip_relocation, x86_64_linux: "d08b8e26383ff1a7b709f65214b0f59505ca308f3b675bff55838c91de33a375"
sha256 cellar: :any, arm64_sequoia: "e853a94c2180d3369de8bb4f5d04cf7ffea7736b3d1d53f17c69b7bfc3275982"
sha256 cellar: :any, arm64_sonoma: "89cc4a6b275adf3f8e97f36e8cbfa545bf7b892f6e0f26575e47f936cc816fa9"
sha256 cellar: :any, arm64_ventura: "a7573258aa7a6c1aa62858fabdd590b4546d57e3c1c569ba5355361d7e9d7a47"
sha256 cellar: :any, sonoma: "6f1149d4459630ab60f67a3d84a75e73d933b2dd2885ec215e2dbf05a37fbecf"
sha256 cellar: :any, ventura: "b31910c666b6bba034ed47c3a6100f6b42ab5e15ab9f5213e4b831ffc2883d1d"
sha256 cellar: :any_skip_relocation, x86_64_linux: "b579603a0d8d4e8f796ef7efb40e6ff5ceab8272bb585b95914991cc2538f720"
end

disable! date: "2025-05-11", because: "needs to use unmaintained `[email protected]` and `protobuf@21`"
Expand All @@ -53,19 +50,6 @@ class Wownero < Formula
conflicts_with "monero", because: "both install a wallet2_api.h header"

def install
# Work around build error with Boost 1.85.0.
# Reported to `monero` where issue needs to be fixed as `wownero` is a fork.
# Issue ref: https://github.com/monero-project/monero/issues/9304
ENV.append "CXXFLAGS", "-include boost/numeric/conversion/bounds.hpp"
copy_option_files = %w[
src/common/boost_serialization_helper.h
src/p2p/net_peerlist.cpp
src/wallet/wallet2.cpp
]
inreplace copy_option_files, "boost::filesystem::copy_option::overwrite_if_exists",
"boost::filesystem::copy_options::overwrite_existing"
inreplace "src/simplewallet/simplewallet.cpp", "boost::filesystem::complete(", "boost::filesystem::absolute("

# Need to help CMake find `readline` when not using /usr/local prefix
args = %W[-DReadline_ROOT_DIR=#{Formula["readline"].opt_prefix}]

Expand Down
Loading