Commit e7aa970e authored by vincowl's avatar vincowl Committed by Ed Reel

Neovim 0.4.2 (#3539)

* Upgrade neovim to 0.4.2 forces libtool update (remove --disable-static)

* Removing unnecessary lines

* Modify CMakeLists.txt instead of forcing compiling arguments to every platform
parent 926965e4
...@@ -3,24 +3,18 @@ require 'package' ...@@ -3,24 +3,18 @@ require 'package'
class Neovim < Package class Neovim < Package
description 'Neovim is a refactor, and sometimes redactor, in the tradition of Vim (which itself derives from Stevie).' description 'Neovim is a refactor, and sometimes redactor, in the tradition of Vim (which itself derives from Stevie).'
homepage 'https://neovim.io/' homepage 'https://neovim.io/'
version '0.2.0' version '0.4.2'
source_url 'https://github.com/neovim/neovim/archive/v0.2.0.tar.gz' source_url 'https://github.com/neovim/neovim/archive/v0.4.2.tar.gz'
source_sha256 '72e263f9d23fe60403d53a52d4c95026b0be428c1b9c02b80ab55166ea3f62b5' source_sha256 '9f874d3d2a74f33b931db62adebe28f8d2ec116270d1e13998b58a73348b6e56'
binary_url ({ binary_url ({
aarch64: 'https://dl.bintray.com/chromebrew/chromebrew/neovim-0.2.0-chromeos-armv7l.tar.xz',
armv7l: 'https://dl.bintray.com/chromebrew/chromebrew/neovim-0.2.0-chromeos-armv7l.tar.xz',
i686: 'https://dl.bintray.com/chromebrew/chromebrew/neovim-0.2.0-chromeos-i686.tar.xz',
x86_64: 'https://dl.bintray.com/chromebrew/chromebrew/neovim-0.2.0-chromeos-x86_64.tar.xz',
}) })
binary_sha256 ({ binary_sha256 ({
aarch64: '3dc12d8a905444dff6a70790d8b0ae27899bbb4b310f44c1d1d30e3ef9f15bcf',
armv7l: '3dc12d8a905444dff6a70790d8b0ae27899bbb4b310f44c1d1d30e3ef9f15bcf',
i686: '0ae138abca8d035eb11658d8ca8446f5c7b6c6a43c8554cdbc99c8813698223d',
x86_64: '16f6dfd198931f3162e1cf6054224c1e4e8059403597d621ab54b4a421fe89ed',
}) })
def self.build def self.build
system "sed -i 's,add_compile_options(-fstack-protector-strong),add_compile_options(-fstack-protector-strong)\\n link_libraries(-fstack-protector-strong),g' CMakeLists.txt"
system "sed -i 's,add_compile_options(-fstack-protector --param ssp-buffer-size=4),add_compile_options(-fstack-protector --param ssp-buffer-size=4)\\n link_libraries(-fstack-protector --param ssp-buffer-size=4),g' CMakeLists.txt"
system "make", "CMAKE_BUILD_TYPE=RelWithDebInfo" system "make", "CMAKE_BUILD_TYPE=RelWithDebInfo"
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment