summaryrefslogtreecommitdiff
path: root/app-emacs/eglot
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/eglot')
-rw-r--r--app-emacs/eglot/Manifest1
-rw-r--r--app-emacs/eglot/eglot-9999.ebuild39
-rw-r--r--app-emacs/eglot/files/50eglot-gentoo-r1.el2
-rw-r--r--app-emacs/eglot/files/50eglot-gentoo.el2
-rw-r--r--app-emacs/eglot/metadata.xml20
5 files changed, 64 insertions, 0 deletions
diff --git a/app-emacs/eglot/Manifest b/app-emacs/eglot/Manifest
new file mode 100644
index 0000000..9939a80
--- /dev/null
+++ b/app-emacs/eglot/Manifest
@@ -0,0 +1 @@
+DIST eglot-1.17.tar.xz 73488 BLAKE2B 291b9a79691839d7415ed7fb2af4317decb0e9d451a52fea688a56c590750142777a8cee3adc8dab3e227188a2c3c605089ea87adae107286cdc857a52372900 SHA512 3aa6b77431b8d313e16ac2b56615b759479125faf194c12f5d624733183220b1791b40596c29d9395182edf3380b4f5b217d6feaeaf334f8a633a295a3418f65
diff --git a/app-emacs/eglot/eglot-9999.ebuild b/app-emacs/eglot/eglot-9999.ebuild
new file mode 100644
index 0000000..20a85cc
--- /dev/null
+++ b/app-emacs/eglot/eglot-9999.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS="26.3"
+
+inherit elisp
+
+DESCRIPTION="A minimal Emacs LSP client for GNU Emacs"
+HOMEPAGE="https://github.com/joaotavora/eglot/
+ https://elpa.gnu.org/packages/eglot.html"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/joaotavora/${PN}.git"
+else
+ SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ app-emacs/external-completion
+"
+BDEPEND="
+ ${RDEPEND}
+"
+
+SITEFILE="50${PN}-gentoo-r1.el"
+
+src_install() {
+ elisp-make-autoload-file
+ elisp_src_install
+}
diff --git a/app-emacs/eglot/files/50eglot-gentoo-r1.el b/app-emacs/eglot/files/50eglot-gentoo-r1.el
new file mode 100644
index 0000000..b12b269
--- /dev/null
+++ b/app-emacs/eglot/files/50eglot-gentoo-r1.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/eglot-autoloads.el" nil t)
diff --git a/app-emacs/eglot/files/50eglot-gentoo.el b/app-emacs/eglot/files/50eglot-gentoo.el
new file mode 100644
index 0000000..c3b894c
--- /dev/null
+++ b/app-emacs/eglot/files/50eglot-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "@SITELISP@/eglot-autoload.el" nil t)
diff --git a/app-emacs/eglot/metadata.xml b/app-emacs/eglot/metadata.xml
new file mode 100644
index 0000000..d9638f7
--- /dev/null
+++ b/app-emacs/eglot/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>jturner.usa+gentoo@gmail.com</email>
+ <name>John Turner</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">joaotavora/eglot</remote-id>
+ <doc>https://github.com/joaotavora/eglot/blob/master/README.md</doc>
+ </upstream>
+</pkgmetadata>