mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-09 15:37:56 -05:00
neovim -> 0.8.0 (#7444)
This commit is contained in:
@@ -3,23 +3,23 @@ require 'package'
|
||||
class Neovim < Package
|
||||
description 'Neovim is a refactor, and sometimes redactor, in the tradition of Vim (which itself derives from Stevie).'
|
||||
homepage 'https://neovim.io/'
|
||||
version '0.7.2'
|
||||
version '0.8.0'
|
||||
license 'Apache-2.0 and vim'
|
||||
compatibility 'all'
|
||||
source_url 'https://github.com/neovim/neovim.git'
|
||||
git_hashtag "v#{version}"
|
||||
|
||||
binary_url({
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.7.2_armv7l/neovim-0.7.2-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.7.2_armv7l/neovim-0.7.2-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.7.2_i686/neovim-0.7.2-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.7.2_x86_64/neovim-0.7.2-chromeos-x86_64.tar.zst'
|
||||
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.8.0_armv7l/neovim-0.8.0-chromeos-armv7l.tar.zst',
|
||||
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.8.0_armv7l/neovim-0.8.0-chromeos-armv7l.tar.zst',
|
||||
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.8.0_i686/neovim-0.8.0-chromeos-i686.tar.zst',
|
||||
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/neovim/0.8.0_x86_64/neovim-0.8.0-chromeos-x86_64.tar.zst'
|
||||
})
|
||||
binary_sha256({
|
||||
aarch64: 'e0667ab9931ffeac77dd85ebacdf6075a69dd5c13ff553826f0d028ffb6e69bd',
|
||||
armv7l: 'e0667ab9931ffeac77dd85ebacdf6075a69dd5c13ff553826f0d028ffb6e69bd',
|
||||
i686: 'fd140ef5fdfbb6a7253acadf7d43ff659c70e92edf4bc8c66029dea1533399db',
|
||||
x86_64: '28c53fa96db6ad95782cb0c75f36e7ef2ae34e934d9ed5d10e73363487764b3f'
|
||||
aarch64: 'de13d5f6f05c830f324a28dae940342e4e4664167a9aebc156a42ebe07d11171',
|
||||
armv7l: 'de13d5f6f05c830f324a28dae940342e4e4664167a9aebc156a42ebe07d11171',
|
||||
i686: '74aa26a81166856482eafe1feda1025e415735bd8314240c980df941ae444c4a',
|
||||
x86_64: '9050b20d8d9d3ace8ffad7110cd7e61da1db94c5938ccfe48f983fa6a977cd01'
|
||||
})
|
||||
|
||||
depends_on 'msgpack_c'
|
||||
@@ -35,26 +35,6 @@ class Neovim < Package
|
||||
depends_on 'unibilium'
|
||||
depends_on 'xdg_base'
|
||||
|
||||
def self.patch
|
||||
# Patch from https://github.com/neovim/neovim/issues/16217#issuecomment-958641608
|
||||
@neovimpatch = <<~'PATCH_EOF'
|
||||
diff --git a/src/nvim/terminal.c b/src/nvim/terminal.c
|
||||
index fb025265f..52d13fe4f 100644
|
||||
--- a/src/nvim/terminal.c
|
||||
+++ b/src/nvim/terminal.c
|
||||
@@ -815,7 +815,7 @@ static int term_settermprop(VTermProp prop, VTermValue *val, void *data)
|
||||
|
||||
case VTERM_PROP_TITLE: {
|
||||
buf_T *buf = handle_get_buffer(term->buf_handle);
|
||||
- buf_set_term_title(buf, val->string);
|
||||
+ buf_set_term_title(buf, val->string.str);
|
||||
break;
|
||||
}
|
||||
PATCH_EOF
|
||||
File.write('neovim.patch', @neovimpatch)
|
||||
system 'patch -p 1 -i neovim.patch'
|
||||
end
|
||||
|
||||
def self.build
|
||||
FileUtils.mkdir('builddir')
|
||||
Dir.chdir('builddir') do
|
||||
|
||||
Reference in New Issue
Block a user