Skip to content

Commit

Permalink
Merge pull request #166521 from Homebrew/bump-vte3-0.76.0
Browse files Browse the repository at this point in the history
vte3 0.76.0
  • Loading branch information
BrewTestBot authored Mar 24, 2024
2 parents aebfcfa + 3034ed2 commit e541685
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions Formula/v/vte3.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
class Vte3 < Formula
desc "Terminal emulator widget used by GNOME terminal"
homepage "https://wiki.gnome.org/Apps/Terminal/VTE"
url "https://download.gnome.org/sources/vte/0.74/vte-0.74.2.tar.xz"
sha256 "a535fb2a98fea8a2449cd1a02cccf5190131dddff52e715afdace3feb536eae7"
url "https://download.gnome.org/sources/vte/0.76/vte-0.76.0.tar.xz"
sha256 "bbce30b8f504370b12d6439c07a82993e97d7e9afe2dd367817cd58ff029ffda"
license "LGPL-2.0-or-later"
revision 1

bottle do
sha256 arm64_sonoma: "04f7acc8d61fcbe1c536532fd3089be6061bb10dbc8dc4dabdf3fde064f40346"
sha256 arm64_ventura: "141fbe5b46ce720cd628693a9f6b1923e0c1e6dc8f8e29e76c128d8e6d9ed18e"
sha256 arm64_monterey: "5a81c7810286aa15d070e7a87a9eaa60ff9e9352578a02d4d4ce5c914955fd42"
sha256 sonoma: "12b7277af9aa0140fc8fc52f6f97d23fe2193b84fa336b402dadcabefd4e74e1"
sha256 ventura: "fb98b64f99dbc7a0eda5c8971cfcb583ebaf1a65ffb548dfe73169c83ce63171"
sha256 monterey: "d23b50f40f597fade22e33173a106f768c0fb1b1f29d4a6e699bcea199a91703"
sha256 x86_64_linux: "c2e99aa765aa3fc836f0250b5198c95e4bac4584162866632a768fe314ea039a"
sha256 arm64_sonoma: "892ea02960bc4181b02063267e27308267efb63ff0072f3fca87fbca07a91846"
sha256 arm64_ventura: "353caf0b86341b7d5598429da93c0c757fed16083ab7953fbcc6b0fb6b60e458"
sha256 arm64_monterey: "61c6b6495a55f0dc3df3a2b21227c9255e3323d3e505afc5dd6472481cff787a"
sha256 sonoma: "ff0df9539f33ce6b1cddf347817579976aee39b6ea6f0dadcaaf3665bb3fa1cc"
sha256 ventura: "04a2a17a3398254911b2abcdf38b388ec04207ccee9d929348141f5e4561c9be"
sha256 monterey: "7930996ddf6e46ab01c7ddf66a2a7e78303bf924c8dda11032140f98c0f2136b"
sha256 x86_64_linux: "d028c7a35181adb95038a83edfb704ac5a4e189eb1deec5f006428f09ea12003"
end

depends_on "gettext" => :build
Expand All @@ -33,17 +32,28 @@ class Vte3 < Formula
depends_on "pcre2"

on_macos do
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1200
depends_on "gettext"
end

on_ventura :or_newer do
depends_on "llvm" => :build if DevelopmentTools.clang_build_version <= 1500
end

on_monterey :or_older do
# We use GCC on older macOS as build fails with brew `llvm`.
# Undefined symbols for architecture x86_64:
# "std::__1::__libcpp_verbose_abort(char const*, ...)", referenced from: ...
depends_on "gcc"
fails_with :clang
end

on_linux do
depends_on "[email protected]" => :build
depends_on "systemd"
end

fails_with :clang do
build 1200
build 1500
cause "Requires C++20"
end

Expand All @@ -56,7 +66,11 @@ class Vte3 < Formula
patch :DATA

def install
ENV.llvm_clang if OS.mac? && (DevelopmentTools.clang_build_version <= 1200)
ENV.llvm_clang if OS.mac? && MacOS.version >= :ventura && DevelopmentTools.clang_build_version <= 1500
# Work around an Xcode 15 linker issue which causes linkage against LLVM's
# libunwind due to it being present in a library search path.
ENV.remove "HOMEBREW_LIBRARY_PATHS", Formula["llvm"].opt_lib if DevelopmentTools.clang_build_version == 1500

ENV["XML_CATALOG_FILES"] = etc/"xml/catalog"

system "meson", "setup", "build", "-Dgir=true",
Expand Down

0 comments on commit e541685

Please sign in to comment.