summaryrefslogtreecommitdiff
path: root/app-emacs/emacs-ansilove
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-02-12 09:56:54 +0000
commitebc282ef4dfa408accac685565b8ee5f6faec119 (patch)
treec0a4f713228cda0ab17eed46f0bb7ca8cb8be2f6 /app-emacs/emacs-ansilove
parent6c8694a707151d59555b0e4e48235f085ce166c3 (diff)
gentoo auto-resync : 12:02:2023 - 09:56:54
Diffstat (limited to 'app-emacs/emacs-ansilove')
-rw-r--r--app-emacs/emacs-ansilove/Manifest2
-rw-r--r--app-emacs/emacs-ansilove/emacs-ansilove-2.0.0.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/app-emacs/emacs-ansilove/Manifest b/app-emacs/emacs-ansilove/Manifest
index b9f596c2442d..1f47710cc5ba 100644
--- a/app-emacs/emacs-ansilove/Manifest
+++ b/app-emacs/emacs-ansilove/Manifest
@@ -1,4 +1,6 @@
DIST emacs-ansilove-1.0.1.tar.bz2 17727 BLAKE2B 708497e4163bad664a7208ce027ea9222a75b8ddecbed5f4d24619efe5c0f65d6f40c6ca592bbc7676207b9d5f6fa83883154b0624b8919d42458d09b595c58f SHA512 a1f472f3b2ea5bb3c6221afd0d84c18f174d24992865fe689166ae6d8c6099bdbbfa38bee639d0a22c16cded8047ae808143e855a9624943eb59a3f35676a9a9
+DIST emacs-ansilove-2.0.0.tar.bz2 17831 BLAKE2B ac22e9e0b63c1ef7448f5306749887da1d67d4422801e53ef939451b9981912a1717cb564ff94407fc21b64f551918b5bc6865729d95b9810b98aa333bbb7dbf SHA512 58587b7003b113f8d44da6806931da5d0407c6635d82a4bd4c03d935d9f7839771856ade0e85e0e08566a9de7481a66e36fc5460c130d6b27b720899907ab5dc
EBUILD emacs-ansilove-1.0.1.ebuild 831 BLAKE2B 9fc84b121b5f93730985ec424a801f4bc0c62fd65685b73a72e9a54e29c57984562d8cee0278446082f235cab2d9754fce57b83e7fd566ca09058ac9e25795a1 SHA512 c6b81490b75c4cd12dde9a51365620b2fa52e85d81b1a9bd5a22baaf8280f11ddfe22f6194590a747d178bdafad69bceb76afe62e4d2dab4d5ba4be778a9f46e
+EBUILD emacs-ansilove-2.0.0.ebuild 831 BLAKE2B b8543ff237019353ef720e8c04428bae3f5f61e3bb078f284e729aed7f0c45a7a8576af2b608c87b494268c07bcde2014af640a1ce562be6e105e561792e8e82 SHA512 6b32fef2281357c3ef6c2e12806913220e0ff2c012a831cbca70a682e1bb6f47ae7158d9d0a95da965447d5325fff16f502deea29b892126056b35cd65982813
EBUILD emacs-ansilove-9999.ebuild 831 BLAKE2B 9fc84b121b5f93730985ec424a801f4bc0c62fd65685b73a72e9a54e29c57984562d8cee0278446082f235cab2d9754fce57b83e7fd566ca09058ac9e25795a1 SHA512 c6b81490b75c4cd12dde9a51365620b2fa52e85d81b1a9bd5a22baaf8280f11ddfe22f6194590a747d178bdafad69bceb76afe62e4d2dab4d5ba4be778a9f46e
MISC metadata.xml 709 BLAKE2B 4388f2955b320a7200bae721d130dff43a71bb211eb7caa29166211b319c2445ce0b8c48cb70f4e6e00195c3e67815833cf132453849b2579257a22ab212a49e SHA512 aff59d88685ec26fadf27b908c7035f7f8ebb79dcbcefd078923eebec699073864928f03594868277bb0d43afcdb585cf9109e5abc1b06255575b7301862186f
diff --git a/app-emacs/emacs-ansilove/emacs-ansilove-2.0.0.ebuild b/app-emacs/emacs-ansilove/emacs-ansilove-2.0.0.ebuild
new file mode 100644
index 000000000000..ce56e65d0f54
--- /dev/null
+++ b/app-emacs/emacs-ansilove/emacs-ansilove-2.0.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+NEED_EMACS=26.1
+
+inherit elisp
+
+DESCRIPTION="Display buffers as PNG images using ansilove in GNU Emacs"
+HOMEPAGE="https://gitlab.com/xgqt/emacs-ansilove/"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://gitlab.com/xgqt/${PN}.git"
+else
+ SRC_URI="https://gitlab.com/xgqt/${PN}/-/archive/${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3+"
+SLOT="0"
+
+RDEPEND="
+ >=app-editors/emacs-${NEED_EMACS}[imagemagick]
+ media-gfx/ansilove
+ media-gfx/imagemagick[png]
+"
+
+src_compile() {
+ emake EMACS="${EMACS}" compile
+}
+
+src_install() {
+ dodoc "${S}"/extras/ansi/logo.ans README.md logo.png
+ elisp-install ${PN} src/*.el{,c}
+ elisp-site-file-install "${S}"/extras/gentoo/50ansilove-gentoo.el
+}