mirror of
https://github.com/jimeh/build-emacs-for-macos.git
synced 2026-02-19 06:06:40 +00:00
fix(patches): Fix patch download URL, add additional patches
This commit is contained in:
2
.rubocop.yml
Normal file
2
.rubocop.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
Style/LineLength:
|
||||
Max: 80
|
||||
@@ -239,11 +239,21 @@ class Build
|
||||
def patches(opts = {})
|
||||
p = []
|
||||
|
||||
if opts[:xwidgets]
|
||||
if %w[emacs-27 emacs-28].include?(ref)
|
||||
if opts[:xwidgets]
|
||||
p << {
|
||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||
"patches/#{ref}/xwidgets_webkit_in_cocoa.patch"
|
||||
}
|
||||
end
|
||||
|
||||
p << {
|
||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||
'patches/xwidgets_webkit_in_cocoa' \
|
||||
"#{'-emacs-27' if ref == 'emacs-27'}.patch"
|
||||
"patches/#{ref}/fix-window-role.patch"
|
||||
}
|
||||
p << {
|
||||
url: 'https://github.com/d12frosted/homebrew-emacs-plus/raw/master/' \
|
||||
"patches/#{ref}/system-appearance.patch"
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user