mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
app-emacs/lsp-java: bump to 3.1_p20240328
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
parent
a8bdbbb222
commit
bffef729d8
@ -1 +1,2 @@
|
||||
DIST lsp-java-3.1.tar.gz 823300 BLAKE2B eacf2090822b629ea775e5848ddc9993ba09217e1eb9563ce9532da075a6cfd1f001010ca886f8bd42ac9af95d12c91dac9ac946ddafb1b6e544943cf44a2036 SHA512 34951a1c4a050215d388fb5f273c9f2cb76788b9e2120d4b0f49b20cd5a1151be039351bece6ae311fb7f37a6ee72a2e641a49f6194886c9729b5b5659e02428
|
||||
DIST lsp-java-3.1_p20240328.tar.gz 833134 BLAKE2B 5e87c2b120e0e07e33fdf5b47b42fa01fc146d7ee00cc7f35cd023ce42e16726e0b2d50a15e12b200a6a22ef47be43daf8f6ce7ef92acc7f558d53fc5b31ed08 SHA512 68ef39f81f278d469443416e6c8754e5b00ce22c6512301e6d37f51daf3123a32fe52347ab1f9c252fc7711099e61dac3ba3566def03d04a59f93d5d575c6bf4
|
||||
|
||||
24
app-emacs/lsp-java/files/lsp-java-icons-3.1_p20240328.patch
Normal file
24
app-emacs/lsp-java/files/lsp-java-icons-3.1_p20240328.patch
Normal file
@ -0,0 +1,24 @@
|
||||
index b7f8083..571a19e 100644
|
||||
--- a/lsp-java.el
|
||||
+++ b/lsp-java.el
|
||||
@@ -78,7 +78,7 @@ Use http://download.eclipse.org/che/che-ls-jdt/snapshots/che-jdt-language-server
|
||||
:risky t
|
||||
:type 'directory)
|
||||
|
||||
-(defcustom lsp-java-themes-directory (f-join (f-dirname (or load-file-name buffer-file-name)) "icons")
|
||||
+(defcustom lsp-java-themes-directory "@SITEETC@/icons"
|
||||
"Directory containing themes."
|
||||
:type 'directory
|
||||
:group 'lsp-java)
|
||||
index 4aecfd9..ea05a51 100644
|
||||
--- a/lsp-jt.el
|
||||
+++ b/lsp-jt.el
|
||||
@@ -185,7 +185,7 @@
|
||||
(-uniq (gethash 'jdtls (lsp-session-server-id->folders (lsp-session)))))
|
||||
|
||||
(treemacs-modify-theme "Default"
|
||||
- :icon-directory (f-join (f-dirname (or load-file-name buffer-file-name)) "icons/vscode/")
|
||||
+ :icon-directory "@SITEETC@/icons/vscode/"
|
||||
:config
|
||||
(progn
|
||||
(treemacs-create-icon :file "class.png" :extensions (java-test-class) :fallback "-")
|
||||
65
app-emacs/lsp-java/lsp-java-3.1_p20240328.ebuild
Normal file
65
app-emacs/lsp-java/lsp-java-3.1_p20240328.ebuild
Normal file
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
NEED_EMACS=27.1
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="Emacs Java IDE using Eclipse JDT Language Server"
|
||||
HOMEPAGE="https://emacs-lsp.github.io/lsp-java/
|
||||
https://github.com/emacs-lsp/lsp-java/"
|
||||
|
||||
if [[ "${PV}" == *9999* ]] ; then
|
||||
inherit git-r3
|
||||
|
||||
EGIT_REPO_URI="https://github.com/emacs-lsp/${PN}"
|
||||
else
|
||||
COMMIT_SHA=9296ecd97310458d39338566c3491a27d90f5577
|
||||
SRC_URI="https://github.com/emacs-lsp/${PN}/archive/${COMMIT_SHA}.tar.gz
|
||||
-> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT_SHA}"
|
||||
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/dap-mode
|
||||
app-emacs/dash
|
||||
app-emacs/f
|
||||
app-emacs/ht
|
||||
app-emacs/lsp-mode
|
||||
app-emacs/markdown-mode
|
||||
app-emacs/request
|
||||
app-emacs/treemacs
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
"
|
||||
|
||||
ELISP_REMOVE="
|
||||
Makefile
|
||||
"
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-icons-3.1_p20240328.patch"
|
||||
)
|
||||
|
||||
DOCS=( README.md images )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
sed -e "s|@SITEETC@|${SITEETC}/${PN}|" -i "${PN}.el" -i lsp-jt.el || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
elisp_src_install
|
||||
|
||||
insinto "${SITEETC}/${PN}"
|
||||
doins -r icons
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user