dev-java/jdtls-bin: add 1.53.0_p202511131527

Signed-off-by: Brahmajit Das <listout@listout.xyz>
This commit is contained in:
Brahmajit Das
2025-11-18 08:40:22 +05:30
parent 7f123788d9
commit a1b41caf3b
2 changed files with 53 additions and 0 deletions

View File

@@ -3,3 +3,4 @@ DIST jdtls-1.49.0_p202507102148.tar.gz 49068161 BLAKE2B 3b2956ab86dadc4f50657743
DIST jdtls-1.50.0_p202507311928.tar.gz 49102971 BLAKE2B 7a43796c3879e090be95038e592b8f46f42d60e9d7ecb90944e8ca351c3029d2bd605c6b9c398f80765bb1c2e16fc3b695a72754d7c060489c9c7c918b9a1f54 SHA512 82d11756f656ff8d8f54b40a9a2b684a9387cc91645b104b40865ef0074e0080d3fd037b190963441f4399194da8f6f1c7abcd7b2f0dae77ed2f6b8c3da95158
DIST jdtls-1.51.0_p202510022025.tar.gz 49321239 BLAKE2B 5a1bd82547ba9a28d17c82aed0693e3f0f63ef34d3cf582e769fffe98dec7edc4ad1b879e519863bc8bda73fc00a99da1a8d71aacf638118908821f5f505df30 SHA512 465e94c4a0800d0cc41f4427ae12a14f5333038727c8e3e7acf7f374c4a055dc9f2ffa125a421028851982a43097eba06ab9628e3476e07ef8d9fdf5b772072f
DIST jdtls-1.52.0_p202510301627.tar.gz 49350351 BLAKE2B 3ed73770c4e0df7d73533304afef9b9933eae4683474044219d5c1992702ee74d5e86a7a57bb0c71effb4507203e721cab151a969963ed7791574e328ef25786 SHA512 bc312c3c0c291834a1d5577c49b3450a60d72dd5d50fb4a5f32dab3e679cdbfd825c04326a48f39329166b2b7fe7fc7445743cd421d8645eee008a7040213103
DIST jdtls-1.53.0_p202511131527.tar.gz 49507686 BLAKE2B c238b7e54f544eb4702bad35cc150f54f054fe704d91704ccb45c9e814e19a70d13fc1351f353dbc8bf26d2f6d218887b4579e101d962c5c161eff5e80b44357 SHA512 b3e1905606ea90d18ffd35afe73065a7fabdf3ad59430b6fbe60bd18617d4f1576ff2a169884f593bcd161b692420999e0a6e86ecca75de5213eb6f4c7b3fb7c

View File

@@ -0,0 +1,52 @@
# Copyright 2023-2025 Gabriel Sanches
# Distributed under the terms of the Zero-Clause BSD License
EAPI=8
inherit java-pkg-2
MY_PV=${PV/_p/-}
MY_PN=${PN%%-bin}
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Java language server"
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
SRC_URI="https://download.eclipse.org/jdtls/snapshots/jdt-language-server-${MY_PV}.tar.gz -> ${MY_P}.tar.gz"
S="${WORKDIR}"
LICENSE="EPL-2.0"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=virtual/jre-1.8:*"
RDEPEND="${DEPEND}"
JDTLS_LIBEXEC="/usr/libexec/${MY_PN}"
JDTLS_SHARE="/usr/share/${MY_PN}"
JDTLS_WRAPPER="${FILESDIR}/wrapper"
src_install() {
dodir "${JDTLS_LIBEXEC}/bin"
dodir "${JDTLS_SHARE}"
cp -Rp plugins features "${ED}/${JDTLS_LIBEXEC}" || die "failed to copy"
cp -Rp bin/${MY_PN} "${ED}/${JDTLS_LIBEXEC}/bin" || die "failed to copy"
cp -Rp config_linux "${ED}/${JDTLS_SHARE}" || die "failed to copy"
sed ${JDTLS_WRAPPER} -e "s;@PKGNAME@;${MY_PN};g" > wrapper
dodir /usr/bin
newbin wrapper ${MY_PN}
}
pkg_postinst() {
elog "If the JDT Language Server fails to start (e.g. ClassNotFoundException),"
elog "you may be running into stale Eclipse OSGi cache issues."
elog
elog "To fix this, remove the following directories:"
elog " rm -rf \"\${XDG_DATA_HOME}/jdtls\" or rm -rf \"~/.local/share/jdtls\""
elog " rm -rf \"\${XDG_STATE_HOME}/jdtls\" or rm -rf \"~/.local/state/jdtls\""
elog
elog "They will be recreated cleanly on the next launch."
}