mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-23 19:25:25 +03:00
community/neovim: enable on riscv64
This commit is contained in:
parent
70afde830b
commit
b37d4a9e95
1 changed files with 4 additions and 5 deletions
|
@ -4,11 +4,10 @@
|
||||||
# TODO: Try to trim the base package to include only common syntax files etc.
|
# TODO: Try to trim the base package to include only common syntax files etc.
|
||||||
pkgname=neovim
|
pkgname=neovim
|
||||||
pkgver=0.8.1
|
pkgver=0.8.1
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
pkgdesc="Vim-fork focused on extensibility and agility"
|
pkgdesc="Vim-fork focused on extensibility and agility"
|
||||||
url="https://neovim.io/"
|
url="https://neovim.io/"
|
||||||
# riscv64 blocked by luajit -> libluv
|
arch="all"
|
||||||
arch="all !riscv64"
|
|
||||||
license="Apache-2.0 AND Vim"
|
license="Apache-2.0 AND Vim"
|
||||||
makedepends="
|
makedepends="
|
||||||
cmake
|
cmake
|
||||||
|
@ -28,7 +27,7 @@ makedepends="
|
||||||
# Build neovim with lua instead of luajit on s390x
|
# Build neovim with lua instead of luajit on s390x
|
||||||
# See https://github.com/neovim/neovim/issues/7879
|
# See https://github.com/neovim/neovim/issues/7879
|
||||||
case "$CARCH" in
|
case "$CARCH" in
|
||||||
s390x) makedepends="$makedepends lua5.1-dev lua5.1-bitop" ;;
|
riscv64 | s390x) makedepends="$makedepends lua5.1-dev lua5.1-bitop" ;;
|
||||||
*) makedepends="$makedepends luajit-dev" ;;
|
*) makedepends="$makedepends luajit-dev" ;;
|
||||||
esac
|
esac
|
||||||
subpackages="$pkgname-lang $pkgname-doc"
|
subpackages="$pkgname-lang $pkgname-doc"
|
||||||
|
@ -48,7 +47,7 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/neovim/neovim/archive/v$pkgv
|
||||||
build() {
|
build() {
|
||||||
local cmakeoptions=
|
local cmakeoptions=
|
||||||
case "$CARCH" in
|
case "$CARCH" in
|
||||||
s390x) cmakeoptions="-DPREFER_LUA=ON" ;;
|
riscv64 | s390x) cmakeoptions="-DPREFER_LUA=ON" ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# CMAKE_BUILD_TYPE - don't use "None", see #13039
|
# CMAKE_BUILD_TYPE - don't use "None", see #13039
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue