neovim: change to qemu build helper

This commit is contained in:
John 2019-10-19 15:28:13 +02:00 committed by John Zimmermann
parent e87e8fafb0
commit 92c813eeb1

View file

@ -3,6 +3,7 @@ pkgname=neovim
version=0.4.2
revision=1
build_style=cmake
build_helper="qemu"
hostmakedepends="pkg-config gperf LuaJIT lua51-lpeg lua51-mpack"
makedepends="libtermkey-devel libuv-devel libvterm-devel msgpack-devel LuaJIT-devel
libluv-devel"
@ -22,10 +23,6 @@ alternatives="
vim:vim:/usr/bin/nvim
vim:vim.1:/usr/share/man/man1/nvim.1"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qemu-user-static"
fi
pre_configure() {
vsed -i runtime/CMakeLists.txt \
-e "s|\".*/bin/nvim|\${CMAKE_CROSSCOMPILING_EMULATOR} &|g"