Install this version:
emerge -a =dev-java/jdtls-bin-1.58.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-java/jdtls-bin-1.58.0
Or alternatively:
emerge --autounmask-write -a =dev-java/jdtls-bin-1.58.0
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 1.58.0 | 8 | ~amd64 | 0 |
# Copyright 2023 Gabriel Sanches
# Distributed under the terms of the ISC License
EAPI=8
inherit java-pkg-2
MY_PN=${PN%%-bin}
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Java language server"
SRC_URI="https://www.eclipse.org/downloads/download.php?file=/${MY_PN}/milestones/${PV}/jdt-language-server-${PV}-202604151538.tar.gz -> ${MY_P}.tar.gz"
HOMEPAGE="https://github.com/eclipse/eclipse.jdt.ls"
LICENSE="EPL"
SLOT="0"
KEYWORDS="~amd64"
DEPEND=">=virtual/jre-1.8:*"
RDEPEND="${DEPEND}"
S="${WORKDIR}"
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}
}
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | jdtls-1.58.0.tar.gz | 51482806 bytes | https://www.eclipse.org/downloads/download.php?file=/jdtls/milestones/1.58.0/jdt-language-server-1.58.0-202604151538.tar.gz |