summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/elscreen/Manifest1
-rw-r--r--app-emacs/elscreen/elscreen-20180321.ebuild28
-rw-r--r--app-emacs/elscreen/files/50elscreen-gentoo-20180321.el2
-rw-r--r--app-emacs/elscreen/metadata.xml4
4 files changed, 35 insertions, 0 deletions
diff --git a/app-emacs/elscreen/Manifest b/app-emacs/elscreen/Manifest
index 93e1d90d4e36..94a87bb3c63d 100644
--- a/app-emacs/elscreen/Manifest
+++ b/app-emacs/elscreen/Manifest
@@ -1 +1,2 @@
DIST elscreen-1.4.6.tar.gz 21680 BLAKE2B a23b7eb617e67205e816cb5c6588f65d8140788ab9c32b90b9c1f53dc4497e6f8250f3c51c38aa40780872f3d878a34aaf2fb455c61640d327df6e3166a59dc7 SHA512 2f19941c9c3e74bbe3912e99f53710f42d33a5b063af99c3907c478d2f571a50a75942519bfcad3bf178585f736bb6e2baf2cdffe8ac66b8e4dbd1b0d881fab2
+DIST elscreen-20180321.tar.gz 36840 BLAKE2B 7157a2040cb3d1bb60eb5c4f672dde35b5f1437a83a0af32138d252cfe44bf8a23013f5672182ece7f2dda5bfbe266247188d59408005d8963837d0958c100d3 SHA512 777835daf328aeddfd8999c37553bf5f57683292cea4f2fdca774e16d7a137ad26e791515000e8092c2ba5e4c2d0aeb03b260e4a2069c4f8a091b014d69ff201
diff --git a/app-emacs/elscreen/elscreen-20180321.ebuild b/app-emacs/elscreen/elscreen-20180321.ebuild
new file mode 100644
index 000000000000..06b418bd1c08
--- /dev/null
+++ b/app-emacs/elscreen/elscreen-20180321.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp
+
+DESCRIPTION="Frame configuration management for GNU Emacs modelled after GNU Screen"
+HOMEPAGE="https://www.emacswiki.org/emacs/EmacsLispScreen
+ https://github.com/knu/elscreen"
+SRC_URI="https://github.com/knu/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86"
+IUSE="wanderlust"
+
+RDEPEND="wanderlust? ( app-emacs/wanderlust )"
+BDEPEND="${RDEPEND}"
+
+SITEFILE="50${PN}-gentoo-${PV}.el"
+ELISP_REMOVE="elscreen-dnd.el" # does not compile
+DOCS="Readme.md GF-README GF-QuickStart"
+
+src_prepare() {
+ elisp_src_prepare
+ use wanderlust || rm elscreen-wl.el || die
+}
diff --git a/app-emacs/elscreen/files/50elscreen-gentoo-20180321.el b/app-emacs/elscreen/files/50elscreen-gentoo-20180321.el
new file mode 100644
index 000000000000..4e9093e829fc
--- /dev/null
+++ b/app-emacs/elscreen/files/50elscreen-gentoo-20180321.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'elscreen-start "elscreen" nil t)
diff --git a/app-emacs/elscreen/metadata.xml b/app-emacs/elscreen/metadata.xml
index 5c495a5a7870..1d58acb5c629 100644
--- a/app-emacs/elscreen/metadata.xml
+++ b/app-emacs/elscreen/metadata.xml
@@ -20,4 +20,8 @@
window-configurations.
</longdescription>
<stabilize-allarches/>
+<use>
+ <flag name="wanderlust">Include support for <pkg>app-emacs/walderlust</pkg>
+ </flag>
+</use>
</pkgmetadata>