summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-emacs/edit-server/Manifest1
-rw-r--r--app-emacs/edit-server/edit-server-1.15.ebuild20
-rw-r--r--app-emacs/edit-server/files/50edit-server-gentoo.el2
-rw-r--r--app-emacs/edit-server/metadata.xml19
4 files changed, 42 insertions, 0 deletions
diff --git a/app-emacs/edit-server/Manifest b/app-emacs/edit-server/Manifest
new file mode 100644
index 00000000000..84c4eab4380
--- /dev/null
+++ b/app-emacs/edit-server/Manifest
@@ -0,0 +1 @@
+DIST emacs_chrome-1.15.tar.gz 315059 BLAKE2B 12aee8ddabcaa2c843c6315e510f757a54495affcbdccc315199270270905b3c25409f6a0aee859e0d835e16f0c8c6dab18ee147cd82864d49a6f4e4942fb99e SHA512 c91c6785d92607b2e7f6bba20176048fe8893ac7e672d860ba3befc910825bbae478104b7ba53cd8253a4f354eb26bc0a993f23fed5888c3b8c9cdf00e116c30
diff --git a/app-emacs/edit-server/edit-server-1.15.ebuild b/app-emacs/edit-server/edit-server-1.15.ebuild
new file mode 100644
index 00000000000..50ca006ea9e
--- /dev/null
+++ b/app-emacs/edit-server/edit-server-1.15.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp
+
+MY_PN="emacs_chrome"
+DESCRIPTION="Service edit requests from a web browser for editing of textareas"
+HOMEPAGE="https://github.com/stsquad/emacs_chrome"
+SRC_URI="https://github.com/stsquad/${MY_PN}/archive/v${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+S="${WORKDIR}/${MY_PN}-${PV}/servers"
+ELISP_REMOVE="edit-server-ert.el"
+SITEFILE="50${PN}-gentoo.el"
+DOCS="README"
diff --git a/app-emacs/edit-server/files/50edit-server-gentoo.el b/app-emacs/edit-server/files/50edit-server-gentoo.el
new file mode 100644
index 00000000000..42beafcc3e9
--- /dev/null
+++ b/app-emacs/edit-server/files/50edit-server-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'edit-server-start "edit-server" "Start the edit server." t)
diff --git a/app-emacs/edit-server/metadata.xml b/app-emacs/edit-server/metadata.xml
new file mode 100644
index 00000000000..8e8d8067eae
--- /dev/null
+++ b/app-emacs/edit-server/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>gnu-emacs@gentoo.org</email>
+ <name>Gentoo GNU Emacs project</name>
+</maintainer>
+<longdescription>
+ Edit with Emacs is an addon for webextension compatible browsers
+ like Google's Chrome(ium), Opera or Firefox that allows you to edit
+ text areas on your browser in a more full featured editor. It does
+ this in conjunction with an "Edit Server" which services requests by
+ the browser. This is because extensions cannot spawn new processes
+ as a security measure.
+
+ The extension packages a native elisp version that can be run inside
+ GNU Emacs itself.
+</longdescription>
+</pkgmetadata>