neovim: update to 0.9.0
This commit is contained in:
parent
254a21edd7
commit
7167ea2817
2 changed files with 15 additions and 13 deletions
|
@ -18,14 +18,14 @@
|
||||||
else()
|
else()
|
||||||
message(STATUS "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
message(STATUS "CMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}")
|
||||||
endif()
|
endif()
|
||||||
--- a/runtime/autoload/health/nvim.vim
|
--- a/runtime/lua/nvim/health.lua
|
||||||
+++ b/runtime/autoload/health/nvim.vim
|
+++ b/runtime/lua/nvim/health.lua
|
||||||
@@ -135,7 +135,7 @@ function! s:check_performance() abort
|
@@ -152,7 +152,7 @@
|
||||||
let buildtype = matchstr(execute('version'), '\v\cbuild type:?\s*[^\n\r\t ]+')
|
local buildtype = vim.fn.matchstr(vim.fn.execute('version'), [[\v\cbuild type:?\s*[^\n\r\t ]+]])
|
||||||
if empty(buildtype)
|
if empty(buildtype) then
|
||||||
call health#report_error('failed to get build type from :version')
|
health.report_error('failed to get build type from :version')
|
||||||
- elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo)'
|
- elseif vim.regex([[\v(MinSizeRel|Release|RelWithDebInfo)]]):match_str(buildtype) then
|
||||||
+ elseif buildtype =~# '\v(MinSizeRel|Release|RelWithDebInfo|None)'
|
+ elseif vim.regex([[\v(MinSizeRel|Release|RelWithDebInfo|None)]]):match_str(buildtype) then
|
||||||
call health#report_ok(buildtype)
|
health.report_ok(buildtype)
|
||||||
else
|
else
|
||||||
call health#report_info(buildtype)
|
health.report_info(buildtype)
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'neovim'
|
# Template file for 'neovim'
|
||||||
pkgname=neovim
|
pkgname=neovim
|
||||||
version=0.8.3
|
version=0.9.0
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
build_helper="qemu"
|
build_helper="qemu"
|
||||||
# MIN_LOG_LEVEL 1: INFO, 3: ERROR, upstream's release's default is 3
|
# MIN_LOG_LEVEL 1: INFO, 3: ERROR, upstream's release's default is 3
|
||||||
configure_args="-DCOMPILE_LUA=OFF -DPREFER_LUA=$(vopt_if luajit OFF ON)
|
configure_args="-DCI_BUILD=OFF -DCOMPILE_LUA=OFF -DPREFER_LUA=$(vopt_if luajit OFF ON)
|
||||||
-DMIN_LOG_LEVEL=3"
|
-DMIN_LOG_LEVEL=3"
|
||||||
hostmakedepends="pkg-config gettext gperf lua51-lpeg lua51-mpack lua51-BitOp
|
hostmakedepends="pkg-config gettext gperf lua51-lpeg lua51-mpack lua51-BitOp
|
||||||
$(vopt_if luajit LuaJIT lua51)"
|
$(vopt_if luajit LuaJIT lua51)"
|
||||||
|
@ -16,7 +16,7 @@ maintainer="Marcin Puc <tranzystorek.io@protonmail.com>"
|
||||||
license="Apache-2.0, Vim"
|
license="Apache-2.0, Vim"
|
||||||
homepage="https://neovim.io"
|
homepage="https://neovim.io"
|
||||||
distfiles="https://github.com/neovim/neovim/archive/refs/tags/v${version}.tar.gz"
|
distfiles="https://github.com/neovim/neovim/archive/refs/tags/v${version}.tar.gz"
|
||||||
checksum=adf45ff160e1d89f519b6114732eba03485ae469beb27919b0f7a4f6b44233c1
|
checksum=39d79107c54d2f3babcad2cd157c399241c04f6e75e98c18e8afaf2bb5e82937
|
||||||
|
|
||||||
build_options=luajit
|
build_options=luajit
|
||||||
|
|
||||||
|
@ -39,6 +39,8 @@ CFLAGS=-UNDEBUG
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
vsed -i runtime/CMakeLists.txt \
|
vsed -i runtime/CMakeLists.txt \
|
||||||
-e "s|\".*/bin/nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g"
|
-e "s|\".*/bin/nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g"
|
||||||
|
vsed -i src/nvim/po/CMakeLists.txt \
|
||||||
|
-e "s|\$<TARGET_FILE:nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g"
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue