dev-util/lua-language-server: drop 3.6.10
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Signed-off-by: tastytea <tastytea@tastytea.de>
This commit is contained in:
parent
51081f82cd
commit
61212fb3da
|
@ -1,3 +1,2 @@
|
||||||
DIST lua-language-server-3.6.10.zip 31998049 BLAKE2B 8c15c583c947cea7647d40fc82114c2f4ec4d1025377ce796b002f3761137e6499feccb934b5b5f0466d2f612b4801dc2ba7e6984027527b5c2174d6895d15ce SHA512 a49c28990e00115eaac83e615079192adfd39655436babc86dafe3660912c10346ab99c418272ac4a9c2113a98921b9b07c0c20bdf62fe633872417127247509
|
|
||||||
DIST lua-language-server-3.6.11.zip 32022639 BLAKE2B 9e5a33b12e40f8b9f7b3eb5a8b049e09e8a7f0b5a5569ee15d5aa2a2035a13a6e75036321aac439a97c56c401914908f878e2f02a136c1de9413f2a9879a56c1 SHA512 6474ad8c84af034002e124a802a28afccb7f7ea439b00b508639a4a20471b5eed995dacf12fe0c8cb2313530fba787fa1127712093402e4e67c7d72e5118ce59
|
DIST lua-language-server-3.6.11.zip 32022639 BLAKE2B 9e5a33b12e40f8b9f7b3eb5a8b049e09e8a7f0b5a5569ee15d5aa2a2035a13a6e75036321aac439a97c56c401914908f878e2f02a136c1de9413f2a9879a56c1 SHA512 6474ad8c84af034002e124a802a28afccb7f7ea439b00b508639a4a20471b5eed995dacf12fe0c8cb2313530fba787fa1127712093402e4e67c7d72e5118ce59
|
||||||
DIST lua-language-server-3.6.17.zip 30696826 BLAKE2B a6d65b45efd7e10afef4a48986a3e7f622885146830df26647653065efd35c8bada7421ad74ea990cfb3842756dd42fe304c6bfbb3346d00621dd1c4d1e653f8 SHA512 44cbdb25fbd90ca9931669a3cb90216bb6f33ac1e2dc0dea4c28a4340f9c2feb92c005b2212fadc33066481944bb27c03c541cd0c6d0cd7706eeeca34339d567
|
DIST lua-language-server-3.6.17.zip 30696826 BLAKE2B a6d65b45efd7e10afef4a48986a3e7f622885146830df26647653065efd35c8bada7421ad74ea990cfb3842756dd42fe304c6bfbb3346d00621dd1c4d1e653f8 SHA512 44cbdb25fbd90ca9931669a3cb90216bb6f33ac1e2dc0dea4c28a4340f9c2feb92c005b2212fadc33066481944bb27c03c541cd0c6d0cd7706eeeca34339d567
|
||||||
|
|
|
@ -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