diff --git a/Formula/n/notcurses.rb b/Formula/n/notcurses.rb index 270a95b89cc5..7343154e0625 100644 --- a/Formula/n/notcurses.rb +++ b/Formula/n/notcurses.rb @@ -1,20 +1,17 @@ class Notcurses < Formula desc "Blingful character graphics/TUI library" homepage "https://nick-black.com/dankwiki/index.php/Notcurses" - url "https://github.com/dankamongmen/notcurses/archive/refs/tags/v3.0.9.tar.gz" - sha256 "e5cc02aea82814b843cdf34dedd716e6e1e9ca440cf0f899853ca95e241bd734" + url "https://github.com/dankamongmen/notcurses/archive/refs/tags/v3.0.11.tar.gz" + sha256 "acc8809b457935a44c4dcaf0ee505ada23594f08aa2ae610acb6f2355afd550a" license "Apache-2.0" - revision 3 bottle do - sha256 arm64_sequoia: "251d2c9161417f983ae5a4b3ca87de9036a9ab7c79f035f844d19db6692f2c7a" - sha256 arm64_sonoma: "268184d4b2841c3ca7a628f46f6f3416c3b157d9a6e147919fee79d88cd3d8e4" - sha256 arm64_ventura: "7d74c52ec6cb707835dc2f8a8347a8f86c19734780ed1d0075498ea3e9df1e36" - sha256 arm64_monterey: "8761f825116a80d267288ee0872b69737fc47091bae9fe8a6243890621b4fa5a" - sha256 sonoma: "ba482b4d958ff4a7b37ed1b253f3012f518c9a3ea490d808f2d7ad63a6c95e1b" - sha256 ventura: "d3f64dc8a97d7a121d9569286612701aec7d69a17c14ec935ad61817456ba7b1" - sha256 monterey: "85552f9371f2872315506771205d3dd07179113e05d9bd78dc8281eb1a052085" - sha256 x86_64_linux: "16226399f732430e271d3567bf55de6f4b346e324897d5d5f10753e2f1fad377" + sha256 arm64_sequoia: "cea8b898c7b0f418b0e4e04eec9bf8162e0afae71899f8c82b8c7adf8357ee57" + sha256 arm64_sonoma: "65d1296ea17da0391d1d690c070875324902474d6ee64de058cdb484789aa98e" + sha256 arm64_ventura: "13a212cc32d0930a9b0c8b41198cd489f43125c0b689458a0e6ed44d4238bc56" + sha256 sonoma: "6c8d86dbfa98a3860900bc0392150b7d016982ecd6d35c0409b541b26432a0a1" + sha256 ventura: "a669eb37e5d9fdf420e36364bfb221ffaca94660418f138ab83fe6a94307d158" + sha256 x86_64_linux: "16c22a7a7fb8970661e4454817e20a2d546de42925e9a070ce8ad88cd889474f" end depends_on "cmake" => :build @@ -28,30 +25,6 @@ class Notcurses < Formula fails_with gcc: "5" - # Fix build with FFmpeg 7.0. - # Remove when included in a release. - # https://github.com/dankamongmen/notcurses/issues/2688 - patch do - url "https://github.com/dankamongmen/notcurses/commit/d3d7a90495056c87ded7e7cc5e95e69d6d163a9e.patch?full_index=1" - sha256 "f396550e93eaec13f8ff21e01bf89740f59a8d19e9c39f559d64f06b932e1c86" - end - patch do - url "https://github.com/dankamongmen/notcurses/commit/cb1244d3d41ffbeccc059125dd98f18c94a1e59f.patch?full_index=1" - sha256 "422dbd82f50ee545cc0843e07c5a89e3ae9e8d3c5f3063911831927809865842" - end - patch do - url "https://github.com/dankamongmen/notcurses/commit/9d4c9e00836df4edd6db09e82e3042816b435c3c.patch?full_index=1" - sha256 "e977892c93b54dd86a95db7af14fcefcc4f7bd023fa3c7a8cf4d9eeefbba9883" - end - patch do - url "https://github.com/dankamongmen/notcurses/commit/bed402adf98ae51efeb9ac3a71f88facfbf7290c.patch?full_index=1" - sha256 "a6969365db2b7e59085fa382b016a0dac1a8c6a493909c8e3ac17e7f7b4dccb3" - end - patch do - url "https://github.com/dankamongmen/notcurses/commit/441d66a063c7fc86436ed7ff73984050434c9142.patch?full_index=1" - sha256 "aee69211bf5280bb773360a0f206e79f825ae86dbb7e05117d69acfa12917c13" - end - def install system "cmake", "-S", ".", "-B", "build", *std_cmake_args, "-DCMAKE_INSTALL_RPATH=#{rpath}" system "cmake", "--build", "build"