mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
neovim: change to qemu build helper
This commit is contained in:
parent
e87e8fafb0
commit
92c813eeb1
1 changed files with 1 additions and 4 deletions
|
@ -3,6 +3,7 @@ pkgname=neovim
|
||||||
version=0.4.2
|
version=0.4.2
|
||||||
revision=1
|
revision=1
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
|
build_helper="qemu"
|
||||||
hostmakedepends="pkg-config gperf LuaJIT lua51-lpeg lua51-mpack"
|
hostmakedepends="pkg-config gperf LuaJIT lua51-lpeg lua51-mpack"
|
||||||
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel
|
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel
|
||||||
libluv-devel"
|
libluv-devel"
|
||||||
|
@ -22,10 +23,6 @@ alternatives="
|
||||||
vim:vim:/usr/bin/nvim
|
vim:vim:/usr/bin/nvim
|
||||||
vim:vim.1:/usr/share/man/man1/nvim.1"
|
vim:vim.1:/usr/share/man/man1/nvim.1"
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends+=" qemu-user-static"
|
|
||||||
fi
|
|
||||||
|
|
||||||
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"
|
||||||
|
|
Loading…
Add table
Reference in a new issue