diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-04 16:24:49 -0500 |
| commit | a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7 (patch) | |
| tree | 0c52bbae1c242fbc296bd650fcd1167685f81492 /dev-util/lua-language-server | |
| parent | bfd9c39e4712ebdb442d4ca0673061faed1e70e1 (diff) | |
| download | baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.gz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.tar.xz baldeagleos-repo-a3ceca1b4c0d9bdb550dc23f06ffbb5a8e033bc7.zip | |
Adding metadata
Diffstat (limited to 'dev-util/lua-language-server')
8 files changed, 0 insertions, 484 deletions
diff --git a/dev-util/lua-language-server/Manifest b/dev-util/lua-language-server/Manifest deleted file mode 100644 index 381ebe87a9cf..000000000000 --- a/dev-util/lua-language-server/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST lua-language-server-3.18.0.zip 32025014 BLAKE2B 8ab5cb66e9dc1860150ec23ba7ee38a97560206d1fea3d0fa92378db48724d2841f977af8c47218de5b139cc3c65f929ae2963eb9accbc382c4d08b13d5e6e02 SHA512 89dbfc56ba3b23ad6e431c41ca9fc1f15c91f0ef348182754ef4854f709282369b0b0922d26242d315074a81a930e65c2b3459e12ad574ab57f029b783b4fd6c -DIST lua-language-server-3.18.1.zip 32025060 BLAKE2B 34a7e5ace59525953b9d9e81fd356748920ff30bcefe8fe52d97fe4ddeb88f39c7ec7367ec14f083ca7fd0b152ed0519d5272bb6e2686b46cfa36bb1bd0432f6 SHA512 646772d16a439597cc7142eb5806a3b90ab06b76a0e7047ce59407a8db4a374f571e3cddc27384ab87d7329705f10936e0fcfb56827d67182858441f92e8af1f -DIST lua-language-server-3.18.2.zip 32023745 BLAKE2B 891015e2ab9b9948a1f35eebcba15cd5676a1f3d3b90f713e700d0c420d810502508d7501023f9a16db2692461222d184a7ba1e32769429c7a86ea80c09aac00 SHA512 91054584cb2172abde83c88dcdf699026921d38c109e87893192c4bfea31eb788ca8911792eb52433d86a142baaf1577ed7a70c99b9ee150d9399ccbff513aeb diff --git a/dev-util/lua-language-server/files/3.16.4-build.ninja.patch b/dev-util/lua-language-server/files/3.16.4-build.ninja.patch deleted file mode 100644 index 54060cc541db..000000000000 --- a/dev-util/lua-language-server/files/3.16.4-build.ninja.patch +++ /dev/null @@ -1,102 +0,0 @@ ---- a/build/build.ninja -+++ b/build/build.ninja -@@ -12,14 +12,14 @@ rule configure - rule c_source_lua - command = $cc -MMD -MT $out -MF $out.d -std=c11 -O2 -Wall $ - -I3rd/bee.lua/3rd/lua55 -DMAKE_LIB -DLUA_USE_LINUX -DNDEBUG -fPIC -o $ -- $out -c $in -+ $out -c $in CFLAGS - description = Compile C $out - deps = gcc - depfile = $out.d - build $obj/source_lua/onelua.obj: c_source_lua 3rd/bee.lua/3rd/lua55/onelua.c - rule cxx_source_bee - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ -- -fvisibility=hidden -I3rd/bee.lua/3rd/lua55 -DNDEBUG -fPIC -o $out -c $in -+ -fvisibility=hidden -I3rd/bee.lua/3rd/lua55 -DNDEBUG -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -27,7 +27,7 @@ build $obj/source_bee/lua-seri.obj: cxx_source_bee $ - 3rd/bee.lua/3rd/lua-seri/lua-seri.cpp - rule cxx_source_bee_1 - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ -- -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in -+ -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -36,7 +36,7 @@ build $obj/source_bee/format.obj: cxx_source_bee_1 $ - rule cxx_source_bee_2 - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ - -fvisibility=hidden -I3rd/bee.lua -I3rd/bee.lua/3rd/lua55 -DNDEBUG $ -- -fPIC -o $out -c $in -+ -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -84,7 +84,7 @@ build $obj/source_bee/version.obj: cxx_source_bee_2 $ - rule c_source_bee - command = $cc -MMD -MT $out -MF $out.d -std=c11 -O2 -Wall $ - -fvisibility=hidden -I3rd/bee.lua -I3rd/bee.lua/3rd/lua55 -DBEE_STATIC $ -- -DNDEBUG -fPIC -o $out -c $in -+ -DNDEBUG -fPIC -o $out -c $in CFLAGS - description = Compile C $out - deps = gcc - depfile = $out.d -@@ -128,7 +128,7 @@ build $obj/source_bee/lua_time.obj: cxx_source_bee_3 $ - rule cxx_source_bootstrap - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ - -fvisibility=hidden -I3rd/bee.lua -I3rd/bee.lua/3rd/lua55 $ -- -DLUA_USE_LINUX -DNDEBUG -fPIC -o $out -c $in -+ -DLUA_USE_LINUX -DNDEBUG -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -138,7 +138,7 @@ build $obj/source_bootstrap/main.obj: cxx_source_bootstrap $ - 3rd/bee.lua/bootstrap/main.cpp - rule link_bootstrap - command = $cc $in -o $out -Wl,-E -static-libgcc -lstdc++fs -pthread -lm $ -- -ldl -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s -+ -ldl -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s LDFLAGS - description = Link Exe $out - rule copy - command = cp -fv $in$input $out 1>/dev/null -@@ -153,8 +153,8 @@ rule cxx_code_format - -fvisibility=hidden -I3rd/EmmyLuaCodeStyle/Util/include $ - -I3rd/EmmyLuaCodeStyle/CodeFormatCore/include $ - -I3rd/EmmyLuaCodeStyle/LuaParser/include -I3rd/bee.lua/3rd/lua54 $ -- -I3rd/EmmyLuaCodeStyle/3rd/wildcards/include -DNDEBUG -Wall -Werror -o $ -- $out -c $in -+ -I3rd/EmmyLuaCodeStyle/3rd/wildcards/include -DNDEBUG -Wall -o $ -+ $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -259,7 +259,7 @@ build $obj/code_format/Utf8.obj: cxx_code_format $ - rule c_lpeglabel - command = $cc -MMD -MT $out -MF $out.d -std=c11 -O2 -Wall $ - -fvisibility=hidden -I3rd/bee.lua/3rd/lua55 -DMAXRECLEVEL=1000 -DNDEBUG $ -- -o $out -c $in -+ -o $out -c $in CFLAGS - description = Compile C $out - deps = gcc - depfile = $out.d -@@ -271,7 +271,7 @@ build $obj/lpeglabel/lplvm.obj: c_lpeglabel 3rd/lpeglabel/lplvm.c - rule cxx_lua_language_server - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -O2 -Wall $ - -fvisibility=hidden -I3rd/bee.lua -I3rd/bee.lua/3rd/lua55 -DCODE_FORMAT $ -- -DNDEBUG -o $out -c $in -+ -DNDEBUG -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -279,7 +279,7 @@ build $obj/lua-language-server/modules.obj: cxx_lua_language_server $ - make/modules.cpp - rule link_lua_language_server - command = $cc $in -o $out -rdynamic -lstdc++fs -pthread -lm -ldl $ -- -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s -+ -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s LDFLAGS - description = Link Exe $out - rule run_bee_test - command = $bin/lua-language-server $in diff --git a/dev-util/lua-language-server/files/3.16.4-linux.ninja.patch b/dev-util/lua-language-server/files/3.16.4-linux.ninja.patch deleted file mode 100644 index 4b315028842e..000000000000 --- a/dev-util/lua-language-server/files/3.16.4-linux.ninja.patch +++ /dev/null @@ -1,63 +0,0 @@ ---- a/3rd/luamake/compile/ninja/linux.ninja -+++ b/3rd/luamake/compile/ninja/linux.ninja -@@ -2,20 +2,20 @@ ninja_required_version = 1.7 - builddir = build/linux - bin = $builddir/bin - obj = $builddir/obj --cc = gcc --ar = ar -+cc = REPLACE_ME -+ar = REPLACE_AR - luamake = luamake - rule c_source_lua - command = $cc -MMD -MT $out -MF $out.d -std=c11 -O2 -Wall $ - -Ibee.lua/3rd/lua55 -DMAKE_LIB -DLUA_USE_LINUX -DNDEBUG -fPIC -o $out $ - -c $in -- description = Compile C $out -+ description = Compile C $out CFLAGS - deps = gcc - depfile = $out.d - build $obj/source_lua/onelua.obj: c_source_lua bee.lua/3rd/lua55/onelua.c - rule cxx_source_bee - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ -- -fvisibility=hidden -Ibee.lua/3rd/lua55 -DNDEBUG -fPIC -o $out -c $in -+ -fvisibility=hidden -Ibee.lua/3rd/lua54 -DNDEBUG -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -23,7 +23,7 @@ build $obj/source_bee/lua-seri.obj: cxx_source_bee $ - bee.lua/3rd/lua-seri/lua-seri.cpp - rule cxx_source_bee_1 - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ -- -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in -+ -fvisibility=hidden -DNDEBUG -fPIC -o $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -31,7 +31,7 @@ build $obj/source_bee/format.obj: cxx_source_bee_1 bee.lua/3rd/fmt/format.cc - rule cxx_source_bee_2 - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ - -fvisibility=hidden -Ibee.lua -Ibee.lua/3rd/lua55 -DNDEBUG -fPIC -o $ -- $out -c $in -+ $out -c $in CXXFLAGS - description = Compile C++ $out - deps = gcc - depfile = $out.d -@@ -119,7 +119,7 @@ rule cxx_source_bootstrap - command = $cc -MMD -MT $out -MF $out.d -std=c++17 -fno-rtti -O2 -Wall $ - -fvisibility=hidden -Ibee.lua -Ibee.lua/3rd/lua55 -DLUA_USE_LINUX $ - -DNDEBUG -fPIC -o $out -c $in -- description = Compile C++ $out -+ description = Compile C++ $out CXXFLAGS - deps = gcc - depfile = $out.d - build $obj/source_bootstrap/bootstrap_init.obj: cxx_source_bootstrap $ -@@ -128,7 +128,7 @@ build $obj/source_bootstrap/main.obj: cxx_source_bootstrap $ - bee.lua/bootstrap/main.cpp - rule link_bootstrap - command = $cc $in -o $out -Wl,-E -static-libgcc -lstdc++fs -pthread -lm $ -- -ldl -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s -+ -ldl -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -s LDFLAGS - description = Link Exe $out - rule copy - command = cp -fv $in$input $out 1>/dev/null diff --git a/dev-util/lua-language-server/files/wrapper.sh b/dev-util/lua-language-server/files/wrapper.sh deleted file mode 100644 index 271f66ae77d5..000000000000 --- a/dev-util/lua-language-server/files/wrapper.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -# Thanks To tastytea for the script <https://schlomp.space/tastytea/overlay/src/branch/master/dev-util/lua-language-server/files/wrapper-r1.sh> - -# Some paths must be writable, so we put them into user-owned directories - -DATAPATH="${XDG_DATA_HOME:-${HOME}/.local/share}/lua-language-server" -STATEPATH="${XDG_STATE_HOME:-${HOME}/.local/state}/lua-language-server" - -mkdir --parents ${DATAPATH} ${STATEPATH} - -exec @GENTOO_PORTAGE_EPREFIX@/opt/lua-language-server/bin/lua-language-server \ - --logpath="${STATEPATH}/log" \ - --metapath="${DATAPATH}/meta" \ - "${@}" diff --git a/dev-util/lua-language-server/lua-language-server-3.18.0.ebuild b/dev-util/lua-language-server/lua-language-server-3.18.0.ebuild deleted file mode 100644 index 549d060cfbab..000000000000 --- a/dev-util/lua-language-server/lua-language-server-3.18.0.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit ninja-utils toolchain-funcs lua-single prefix - -DESCRIPTION="Lua language server" -HOMEPAGE="https://github.com/LuaLS/lua-language-server" -SRC_URI="https://github.com/LuaLS/lua-language-server/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="llvm-libunwind test" -REQUIRE_USE="${LUA_REQUIRED_USE}" - -DEPEND=" - ${LUA_DEPS} - sys-libs/binutils-libs -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-alternatives/ninja - app-arch/unzip - !llvm-libunwind? ( sys-libs/libunwind ) - llvm-libunwind? ( llvm-runtimes/libunwind ) -" -RESTRICT="!test? ( test )" - -src_prepare() { - # Remove hardcoded gcc references - sed -i "/lm.cxx/a lm.cc = '$(tc-getCC)'" \ - make.lua || die - sed -i "s/CC = gcc/ CC = ${tc-getCC}/" \ - 3rd/lpeglabel/makefile || die - # Shipped file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - eapply "${FILESDIR}/3.16.4-linux.ninja.patch" - eapply_user - sed -i -e "s/^cc = REPLACE_ME/cc = $(tc-getCC)/" \ - -e "s/^ar = REPLACE_AR/ar = $(tc-getAR)/" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - 3rd/luamake/compile/ninja/linux.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" 3rd/luamake/compile/ninja/linux.ninja || die - fi - - prefixify_ro "${FILESDIR}/wrapper.sh" -} - -src_compile() { - eninja -C 3rd/luamake -f compile/ninja/linux.ninja "$(usex test "test" "luamake")" - use test && eninja -C 3rd/luamake -f compile/ninja/linux.ninja luamake - ./3rd/luamake/luamake init || die - - # Generated file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - sed -i -e "s/^cc =.*./cc = REPLACE_ME/" \ - -e "s/^ar =.*./ar = REPLACE_AR/" \ - build/build.ninja || die - - eapply "${FILESDIR}/3.16.4-build.ninja.patch" - sed -i -e "s/REPLACE_ME/$(tc-getCC)/" \ - -e "s/REPLACE_AR/$(tc-getAR)/" \ - -e "s|LUAMAKE_PATH|${S}/3rd/luamake/luamake|" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - build/build.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" build/build.ninja || die - fi - - use test && eninja -f build/build.ninja || eninja -f build/build.ninja all - rm -rf meta/198256b1 -} - -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 -} diff --git a/dev-util/lua-language-server/lua-language-server-3.18.1.ebuild b/dev-util/lua-language-server/lua-language-server-3.18.1.ebuild deleted file mode 100644 index 549d060cfbab..000000000000 --- a/dev-util/lua-language-server/lua-language-server-3.18.1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit ninja-utils toolchain-funcs lua-single prefix - -DESCRIPTION="Lua language server" -HOMEPAGE="https://github.com/LuaLS/lua-language-server" -SRC_URI="https://github.com/LuaLS/lua-language-server/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="llvm-libunwind test" -REQUIRE_USE="${LUA_REQUIRED_USE}" - -DEPEND=" - ${LUA_DEPS} - sys-libs/binutils-libs -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-alternatives/ninja - app-arch/unzip - !llvm-libunwind? ( sys-libs/libunwind ) - llvm-libunwind? ( llvm-runtimes/libunwind ) -" -RESTRICT="!test? ( test )" - -src_prepare() { - # Remove hardcoded gcc references - sed -i "/lm.cxx/a lm.cc = '$(tc-getCC)'" \ - make.lua || die - sed -i "s/CC = gcc/ CC = ${tc-getCC}/" \ - 3rd/lpeglabel/makefile || die - # Shipped file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - eapply "${FILESDIR}/3.16.4-linux.ninja.patch" - eapply_user - sed -i -e "s/^cc = REPLACE_ME/cc = $(tc-getCC)/" \ - -e "s/^ar = REPLACE_AR/ar = $(tc-getAR)/" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - 3rd/luamake/compile/ninja/linux.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" 3rd/luamake/compile/ninja/linux.ninja || die - fi - - prefixify_ro "${FILESDIR}/wrapper.sh" -} - -src_compile() { - eninja -C 3rd/luamake -f compile/ninja/linux.ninja "$(usex test "test" "luamake")" - use test && eninja -C 3rd/luamake -f compile/ninja/linux.ninja luamake - ./3rd/luamake/luamake init || die - - # Generated file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - sed -i -e "s/^cc =.*./cc = REPLACE_ME/" \ - -e "s/^ar =.*./ar = REPLACE_AR/" \ - build/build.ninja || die - - eapply "${FILESDIR}/3.16.4-build.ninja.patch" - sed -i -e "s/REPLACE_ME/$(tc-getCC)/" \ - -e "s/REPLACE_AR/$(tc-getAR)/" \ - -e "s|LUAMAKE_PATH|${S}/3rd/luamake/luamake|" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - build/build.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" build/build.ninja || die - fi - - use test && eninja -f build/build.ninja || eninja -f build/build.ninja all - rm -rf meta/198256b1 -} - -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 -} diff --git a/dev-util/lua-language-server/lua-language-server-3.18.2.ebuild b/dev-util/lua-language-server/lua-language-server-3.18.2.ebuild deleted file mode 100644 index 549d060cfbab..000000000000 --- a/dev-util/lua-language-server/lua-language-server-3.18.2.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2022-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LUA_COMPAT=( lua5-{1,3,4} luajit ) - -inherit ninja-utils toolchain-funcs lua-single prefix - -DESCRIPTION="Lua language server" -HOMEPAGE="https://github.com/LuaLS/lua-language-server" -SRC_URI="https://github.com/LuaLS/lua-language-server/releases/download/${PV}/${P}-submodules.zip -> ${P}.zip" -S="${WORKDIR}" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="llvm-libunwind test" -REQUIRE_USE="${LUA_REQUIRED_USE}" - -DEPEND=" - ${LUA_DEPS} - sys-libs/binutils-libs -" -RDEPEND="${DEPEND}" -BDEPEND=" - app-alternatives/ninja - app-arch/unzip - !llvm-libunwind? ( sys-libs/libunwind ) - llvm-libunwind? ( llvm-runtimes/libunwind ) -" -RESTRICT="!test? ( test )" - -src_prepare() { - # Remove hardcoded gcc references - sed -i "/lm.cxx/a lm.cc = '$(tc-getCC)'" \ - make.lua || die - sed -i "s/CC = gcc/ CC = ${tc-getCC}/" \ - 3rd/lpeglabel/makefile || die - # Shipped file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - eapply "${FILESDIR}/3.16.4-linux.ninja.patch" - eapply_user - sed -i -e "s/^cc = REPLACE_ME/cc = $(tc-getCC)/" \ - -e "s/^ar = REPLACE_AR/ar = $(tc-getAR)/" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - 3rd/luamake/compile/ninja/linux.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" 3rd/luamake/compile/ninja/linux.ninja || die - fi - - prefixify_ro "${FILESDIR}/wrapper.sh" -} - -src_compile() { - eninja -C 3rd/luamake -f compile/ninja/linux.ninja "$(usex test "test" "luamake")" - use test && eninja -C 3rd/luamake -f compile/ninja/linux.ninja luamake - ./3rd/luamake/luamake init || die - - # Generated file doesn't respect CFLAGS/CXXFLAGS/LDFLAGS - sed -i -e "s/^cc =.*./cc = REPLACE_ME/" \ - -e "s/^ar =.*./ar = REPLACE_AR/" \ - build/build.ninja || die - - eapply "${FILESDIR}/3.16.4-build.ninja.patch" - sed -i -e "s/REPLACE_ME/$(tc-getCC)/" \ - -e "s/REPLACE_AR/$(tc-getAR)/" \ - -e "s|LUAMAKE_PATH|${S}/3rd/luamake/luamake|" \ - -e "s/CFLAGS/${CFLAGS}/" \ - -e "s/CXXFLAGS/${CXXFLAGS}/" \ - -e "s/LDFLAGS/${LDFLAGS}/" \ - build/build.ninja || die - if [[ $(tc-get-cxx-stdlib) == libc++ ]]; then - sed -i "s/-lstdc++fs//" build/build.ninja || die - fi - - use test && eninja -f build/build.ninja || eninja -f build/build.ninja all - rm -rf meta/198256b1 -} - -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 -} diff --git a/dev-util/lua-language-server/metadata.xml b/dev-util/lua-language-server/metadata.xml deleted file mode 100644 index 598098e829af..000000000000 --- a/dev-util/lua-language-server/metadata.xml +++ /dev/null @@ -1,16 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>mrmagic223325@fedora.email</email> - <name>Mathis Winterer</name> - </maintainer> - <longdescription lang="en"> - The Lua language server provides various language features for Lua to make development easier and faster. With around half a million installs on Visual Studio Code, it is the most popular extension for Lua language support. Supports Lua versions 5.1, 5.2, 5.3, 5.4 and LuaJIT - </longdescription> - <upstream> - <bugs-to>https://github.com/LuaLS/lua-language-server/issues</bugs-to> - <doc>https://github.com/LuaLS/lua-language-server/wiki</doc> - <remote-id type="github">LuaLS/lua-language-server</remote-id> - </upstream> -</pkgmetadata> |
