app-emacs/edit-server: Initial import.
authorUlrich Müller <ulm@gentoo.org>
Fri, 1 Jun 2018 16:36:02 +0000 (18:36 +0200)
committerUlrich Müller <ulm@gentoo.org>
Fri, 1 Jun 2018 16:55:38 +0000 (18:55 +0200)
Ebuild contributed by me.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

app-emacs/edit-server/Manifest [new file with mode: 0644]
app-emacs/edit-server/edit-server-1.15.ebuild [new file with mode: 0644]
app-emacs/edit-server/files/50edit-server-gentoo.el [new file with mode: 0644]
app-emacs/edit-server/metadata.xml [new file with mode: 0644]

diff --git a/app-emacs/edit-server/Manifest b/app-emacs/edit-server/Manifest
new file mode 100644 (file)
index 0000000..84c4eab
--- /dev/null
@@ -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 (file)
index 0000000..50ca006
--- /dev/null
@@ -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 (file)
index 0000000..42beafc
--- /dev/null
@@ -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 (file)
index 0000000..8e8d806
--- /dev/null
@@ -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>