dev-util/lua-language-server: drop 3.5.6
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
b417d73293
commit
a196891393
|
@ -1,3 +1,2 @@
|
|||
DIST lua-language-server-3.5.6.zip 30682527 BLAKE2B e6ee427a7e1c3312c314c7f628d342dd525f757bcec798c82d8b4e521dbe62e0dbaccf57dd490ff26cb88201b3260fed3103e389fb05c698a9202dfd24023268 SHA512 afb02bfb87169863ebb29543a0bb2ad5dcbb7bcae2f226472ede6afffec5ba6547596ec0130c693daf52b40d9986da60405516d6ff85faee6c103573572139ec
|
||||
DIST lua-language-server-3.6.3.zip 32180256 BLAKE2B 1d1e1bd1936c1cf8870a0663144919ae38b59a1cbc6357b31fe1c083def1c763e0237b09238f24561477c4e7c45e4127535fec5c8123681bf57f3778fa93487c SHA512 e4f41f39b1ee2d3f2d347811b54a6441a9edf6c2921e71e6982362b9cc37756157a2ec27cbfcfb9c75a31257fd6a4f64cf1a7be68ba2ee3e5239a5e26474b533
|
||||
DIST lua-language-server-3.6.4.zip 32188348 BLAKE2B 4d249af12cdf151d77b7af1c63cff2de103d7cf80416422bf3cf9fbb6031546963f59dcf1d39f8b8dbe41a3cde29dbdf04ba9fc5760cb310575ebdc0494ec604 SHA512 9f47becc9ade0f205d28ad75abeb5895b06486a21c3afa2b16331c34db25fce70a20a80599f48aa0ba485bad75316e1c0d4080f8bb49eaeb30ccc6eff7b12d13
|
||||
|
|
|
@ -1,65 +0,0 @@
|
|||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# TODO: unbundle deps, set flags correctly, verbose luamake, less sed hacks
|
||||
|
||||
EAPI=8
|
||||
|
||||
LUA_COMPAT=( lua{5-{1,3,4},jit} )
|
||||
|
||||
inherit lua-single ninja-utils prefix toolchain-funcs
|
||||
|
||||
DESCRIPTION="A language server that offers Lua language support"
|
||||
HOMEPAGE="https://github.com/sumneko/lua-language-server"
|
||||
SRC_URI="https://github.com/sumneko/${PN}/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip"
|
||||
S="${WORKDIR}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${LUA_DEPS}"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
app-arch/unzip
|
||||
dev-util/ninja
|
||||
"
|
||||
|
||||
QA_PREBUILT="/opt/lua-language-server/bin/lua-language-server"
|
||||
|
||||
src_prepare() {
|
||||
sed -i "s/^cc = gcc$/cc = $(tc-getCC)/" \
|
||||
3rd/luamake/compile/ninja/linux.ninja || die
|
||||
sed -i "/require \"make.detect_platform\"/a lm.cc = '$(tc-getCC)'" \
|
||||
make.lua || die
|
||||
sed -i "s/flags = \"-Wall -Werror\"/flags = \"-Wall ${CXXFLAGS}\"/" \
|
||||
make/code_format.lua || die
|
||||
|
||||
prefixify_ro "${FILESDIR}"/wrapper.sh
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
eninja -C 3rd/luamake -f compile/ninja/linux.ninja $(usex test '' 'luamake')
|
||||
./3rd/luamake/luamake $(usex test '' 'all') || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbin "${T}"/wrapper.sh ${PN}
|
||||
|
||||
into /opt/${PN}
|
||||
dobin bin/${PN}
|
||||
|
||||
insinto /opt/${PN}/bin
|
||||
doins bin/main.lua
|
||||
|
||||
insinto /opt/${PN}
|
||||
doins -r debugger.lua main.lua locale meta script
|
||||
|
||||
einstalldocs
|
||||
}
|
Reference in New Issue
Block a user