summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/avy-embark-collect/Manifest1
-rw-r--r--app-emacs/avy-embark-collect/avy-embark-collect-0.21.ebuild32
-rw-r--r--app-emacs/avy-embark-collect/files/50avy-embark-collect-gentoo.el5
-rw-r--r--app-emacs/avy-embark-collect/metadata.xml13
4 files changed, 51 insertions, 0 deletions
diff --git a/app-emacs/avy-embark-collect/Manifest b/app-emacs/avy-embark-collect/Manifest
new file mode 100644
index 000000000000..e559a244a6de
--- /dev/null
+++ b/app-emacs/avy-embark-collect/Manifest
@@ -0,0 +1 @@
+DIST embark-0.21.tar.gz 102588 BLAKE2B 5a578fe25018591e4dbbe4b683ce1e8669003fdedef3c6eecdf039fdcdc7b2d5accbd95faebe369b5dac90be8beb3be7c0507190f2cac4556a25a58709aef7c9 SHA512 ab450ab17d17fa4673615d6daef9495d4e567ab612f4a732f7536427b71dffecbb0456accc7adb28cedb3f1a73709fa2e51cb01f20902dc7748755ee1ea2442c
diff --git a/app-emacs/avy-embark-collect/avy-embark-collect-0.21.ebuild b/app-emacs/avy-embark-collect/avy-embark-collect-0.21.ebuild
new file mode 100644
index 000000000000..e8284f9f9e65
--- /dev/null
+++ b/app-emacs/avy-embark-collect/avy-embark-collect-0.21.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Use avy to jump to Embark Collect entries"
+HOMEPAGE="https://github.com/oantolin/embark/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/oantolin/embark.git"
+else
+ SRC_URI="https://github.com/oantolin/embark/archive/${PV}.tar.gz
+ -> embark-${PV}.tar.gz"
+ S="${WORKDIR}"/embark-${PV}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ app-emacs/avy
+ app-emacs/embark
+"
+BDEPEND="${RDEPEND}"
+
+ELISP_REMOVE="embark-consult.el embark-org.el embark.el"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/avy-embark-collect/files/50avy-embark-collect-gentoo.el b/app-emacs/avy-embark-collect/files/50avy-embark-collect-gentoo.el
new file mode 100644
index 000000000000..2b2686ce8069
--- /dev/null
+++ b/app-emacs/avy-embark-collect/files/50avy-embark-collect-gentoo.el
@@ -0,0 +1,5 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'avy-embark-collect-act "avy-embark-collect"
+ "Act on an Embark Collect candidate." t)
+(autoload 'avy-embark-collect-choose "avy-embark-collect"
+ "Choose an Embark Collect candidate." t)
diff --git a/app-emacs/avy-embark-collect/metadata.xml b/app-emacs/avy-embark-collect/metadata.xml
new file mode 100644
index 000000000000..fda35757dfa2
--- /dev/null
+++ b/app-emacs/avy-embark-collect/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/oantolin/embark/issues/</bugs-to>
+ <remote-id type="github">oantolin/embark</remote-id>
+ </upstream>
+</pkgmetadata>