From d68642101a3577d990ed19a73b4ab8086da77625 Mon Sep 17 00:00:00 2001 From: USAMI Kenta Date: Mon, 28 Oct 2024 20:32:14 +0900 Subject: [PATCH] Bump emacs-plus@30 to 30.0.92 (#740) * Bump emacs-plus@30 to 30.0.92 Emacs 30.0.92 pretest is available https://lists.gnu.org/archive/html/emacs-devel/2024-10/msg00627.html * Added the URL of the released tarball to emacs-plus@30 * Update Formula/emacs-plus@30.rb --------- Co-authored-by: Boris Buliga --- Formula/emacs-plus@30.rb | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/Formula/emacs-plus@30.rb b/Formula/emacs-plus@30.rb index 6538b92..c14956c 100644 --- a/Formula/emacs-plus@30.rb +++ b/Formula/emacs-plus@30.rb @@ -2,11 +2,21 @@ class EmacsPlusAT30 < EmacsBase init 30 - version "30.0.91" + url "https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.0.92.tar.xz" + mirror "https://ftpmirror.gnu.org/emacs/emacs-30.0.92.tar.xz" + sha256 "d89287bd5a8381bb60e14aab95202377261d43a60d15dc0a61d0d662bc5626be" desc "GNU Emacs text editor" homepage "https://www.gnu.org/software/emacs/" + head do + if ENV['HOMEBREW_EMACS_PLUS_30_REVISION'] + url "https://github.com/emacs-mirror/emacs.git", :revision => ENV['HOMEBREW_EMACS_PLUS_30_REVISION'] + else + url "https://github.com/emacs-mirror/emacs.git", :branch => "emacs-30" + end + end + # # Options # @@ -38,7 +48,7 @@ class EmacsPlusAT30 < EmacsBase depends_on "pkg-config" => :build depends_on "texinfo" => :build depends_on "xz" => :build - depends_on "m4" => :build + depends_on "m4" => :build depends_on "gnutls" depends_on "librsvg" depends_on "little-cms2" @@ -79,8 +89,6 @@ class EmacsPlusAT30 < EmacsBase if ENV['HOMEBREW_EMACS_PLUS_30_REVISION'] url "https://github.com/emacs-mirror/emacs.git", :revision => ENV['HOMEBREW_EMACS_PLUS_30_REVISION'] - else - url "https://github.com/emacs-mirror/emacs.git", :branch => "emacs-30" end #