summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-06-23 01:10:21 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-06-23 01:18:49 +0200
commit9f9c364c27edb8eb0e09c6ecae60f4dd30d30a53 (patch)
treed18fbb8555b4c1d99f32d67bfc0dc58ff573091c /app-emacs/eimp
parentapp-emulation/uxn: sync live (diff)
downloadgentoo-9f9c364c27edb8eb0e09c6ecae60f4dd30d30a53.tar.gz
gentoo-9f9c364c27edb8eb0e09c6ecae60f4dd30d30a53.tar.bz2
gentoo-9f9c364c27edb8eb0e09c6ecae60f4dd30d30a53.zip
app-emacs/eimp: new package; add 1.4.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/eimp')
-rw-r--r--app-emacs/eimp/Manifest1
-rw-r--r--app-emacs/eimp/eimp-1.4.0.ebuild25
-rw-r--r--app-emacs/eimp/files/50eimp-gentoo.el2
-rw-r--r--app-emacs/eimp/metadata.xml13
4 files changed, 41 insertions, 0 deletions
diff --git a/app-emacs/eimp/Manifest b/app-emacs/eimp/Manifest
new file mode 100644
index 000000000000..e9fe8496238d
--- /dev/null
+++ b/app-emacs/eimp/Manifest
@@ -0,0 +1 @@
+DIST eimp-1.4.0.tar.gz 8528 BLAKE2B 96d674d61573d1fe3f31107860bf0c4f89049cd758b295f14e92c109512fe51f836436a8e77aef9a5aa966bdd77797e037dabe682482ca382dbe9e63579501f8 SHA512 db630a1f4dcb291af48bccfbafb79b859ed4d7b1ea82922f4cb4386a52c6d7264f7996422516565266639ee53ebac426739f44f051ff8016a86388b15dc48c27
diff --git a/app-emacs/eimp/eimp-1.4.0.ebuild b/app-emacs/eimp/eimp-1.4.0.ebuild
new file mode 100644
index 000000000000..7699e258c546
--- /dev/null
+++ b/app-emacs/eimp/eimp-1.4.0.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Emacs Image Manipulation Package"
+HOMEPAGE="https://github.com/nicferrier/eimp/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/nicferrier/${PN}.git"
+else
+ [[ ${PV} == 1.4.0 ]] && COMMIT=2e7536fe6d8f7faf1bad7a8ae37faba0162c3b4f
+ SRC_URI="https://github.com/nicferrier/${PN}/archive/${COMMIT}.tar.gz
+ -> ${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${COMMIT}
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+
+SITEFILE="50${PN}-gentoo.el"
diff --git a/app-emacs/eimp/files/50eimp-gentoo.el b/app-emacs/eimp/files/50eimp-gentoo.el
new file mode 100644
index 000000000000..46f38cdaedc3
--- /dev/null
+++ b/app-emacs/eimp/files/50eimp-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'eimp-mode "eimp" "Emacs Image Manipulation Package." t)
diff --git a/app-emacs/eimp/metadata.xml b/app-emacs/eimp/metadata.xml
new file mode 100644
index 000000000000..52b68488fd7e
--- /dev/null
+++ b/app-emacs/eimp/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/nicferrier/eimp/issues/</bugs-to>
+ <remote-id type="github">nicferrier/eimp</remote-id>
+ </upstream>
+</pkgmetadata>