summaryrefslogtreecommitdiff
path: root/app-emacs/demap
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/demap')
-rw-r--r--app-emacs/demap/Manifest4
-rw-r--r--app-emacs/demap/demap-1.4.0.ebuild25
-rw-r--r--app-emacs/demap/files/50demap-gentoo.el3
-rw-r--r--app-emacs/demap/metadata.xml24
4 files changed, 56 insertions, 0 deletions
diff --git a/app-emacs/demap/Manifest b/app-emacs/demap/Manifest
new file mode 100644
index 000000000000..1a5c91e08d54
--- /dev/null
+++ b/app-emacs/demap/Manifest
@@ -0,0 +1,4 @@
+AUX 50demap-gentoo.el 115 BLAKE2B b51712456a86870f9fd88c87e58b7ac8851038cb2292496feeb28296f0f5151b439700628a2ed5a96c5f8a02e2347e83ea174ae067ad24360c94f9be3e59e09b SHA512 fdb4bdfac92519a2c609b35e4c9d35cb259914aa9e0d924de9eb9d6fef5adb546d22a456d01ad68952d638b38aa42e0674f6b235fc0f6340acce6ba410933478
+DIST demap.el-v1.4.0.tar.gz 26998 BLAKE2B 410cb79fffbe562861c2c91d3a8284303ae71edf5a3c331bd0c86b1aef7cfa18c731853c425bf208073da26815651e02e49faa2f93eeb667f53cf6c0a1920f08 SHA512 4f21e9135645df17fbb9a0d2f8031ad6ab0af23af9c8f4744c1510a534ea7c518bc6d0be4801484121b040e952f182d0b70dc3505e4e7534114f53a1e8ae1723
+EBUILD demap-1.4.0.ebuild 716 BLAKE2B b033e5ebd8d181614731ae593d1d31324e8df6fcb72925b6ef12c1d03f1f83658a32b4510b7a368d12bc9c47d06775c6b4a5737fb279beaf2a9c463a1c946715 SHA512 6c2b31b840177fdfe41bcf34e3bc998a1beda72c79a1a6a019b14a155bac6547937f6738df461191317950aaf9e7f1ef57e40d227ac391b3e790df22cd318e1f
+MISC metadata.xml 1133 BLAKE2B 19cef190c96aa372967158274040ecee70899a44e45d4d7f86ca0bf5ae55f22f4a845888f49ebfcdc4bd4f1d8e8b98da3c79c4d206b8d0fdbfe50bf6ec03aec0 SHA512 b8e5fdd607c9defede6de74c2c4567afbcdb5a531755e89da0eb7e58b7d1b7b04dfab62868ca9713c3664893bd0622bc8f918e885ba1bb79372749306715c3b1
diff --git a/app-emacs/demap/demap-1.4.0.ebuild b/app-emacs/demap/demap-1.4.0.ebuild
new file mode 100644
index 000000000000..8e23040b1ed6
--- /dev/null
+++ b/app-emacs/demap/demap-1.4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=25.1
+
+inherit elisp
+
+DESCRIPTION="Detachable minimap for Emacs"
+HOMEPAGE="https://gitlab.com/sawyerjgardner/demap.el/"
+SRC_URI="https://gitlab.com/sawyerjgardner/${PN}.el/-/archive/v${PV}/${PN}.el-v${PV}.tar.gz"
+S="${WORKDIR}"/${PN}.el-v${PV}
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+
+# "make test" is just a practical check if "demap-open" works, maintainers of
+# this package could check themselves if it still works after installation.
+# Notice that we autolaod only the "demap-toggle" function (not "demap-open").
+RESTRICT="test"
+
+DOCS=( README.md )
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/demap/files/50demap-gentoo.el b/app-emacs/demap/files/50demap-gentoo.el
new file mode 100644
index 000000000000..bcd35f5b7298
--- /dev/null
+++ b/app-emacs/demap/files/50demap-gentoo.el
@@ -0,0 +1,3 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'demap-toggle "demap"
+ "Toggle side window showing a minimap." t)
diff --git a/app-emacs/demap/metadata.xml b/app-emacs/demap/metadata.xml
new file mode 100644
index 000000000000..bf3219109fba
--- /dev/null
+++ b/app-emacs/demap/metadata.xml
@@ -0,0 +1,24 @@
+<?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>
+ <longdescription>
+ demap.el adds a minimap that shows a zoomed out view of the active window's
+ buffer. You can toggle showing the minimap in a side window with
+ "demap-toggle". This package has a few advantages over other minimap
+ packages: support for detaching minimaps and having them on a different
+ frame then the active window; support for multiple minimap buffers, with
+ their own buffer local definitions on what buffers it can show and how to
+ show them; having the minimap on the side of the frame rather then on the
+ side of the active window by default.
+ </longdescription>
+ <upstream>
+ <changelog>https://gitlab.com/sawyerjgardner/demap.el/-/releases/</changelog>
+ <bugs-to>https://gitlab.com/sawyerjgardner/demap.el/-/issues/</bugs-to>
+ <remote-id type="gitlab">sawyerjgardner/demap.el</remote-id>
+ </upstream>
+</pkgmetadata>