public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-ansilove/
@ 2022-12-22 20:29 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2022-12-22 20:29 UTC (permalink / raw
  To: gentoo-commits

commit:     55059288e056248584318fb904f619da2ec9fe62
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 22 19:49:45 2022 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu Dec 22 20:16:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55059288

app-emacs/emacs-ansilove: new package; add 1.0.1

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/emacs-ansilove/Manifest                  |  1 +
 .../emacs-ansilove/emacs-ansilove-1.0.1.ebuild     | 38 ++++++++++++++++++++++
 .../emacs-ansilove/emacs-ansilove-9999.ebuild      | 38 ++++++++++++++++++++++
 app-emacs/emacs-ansilove/metadata.xml              | 21 ++++++++++++
 4 files changed, 98 insertions(+)

diff --git a/app-emacs/emacs-ansilove/Manifest b/app-emacs/emacs-ansilove/Manifest
new file mode 100644
index 000000000000..af57ae6a6c4c
--- /dev/null
+++ b/app-emacs/emacs-ansilove/Manifest
@@ -0,0 +1 @@
+DIST emacs-ansilove-1.0.1.tar.bz2 17727 BLAKE2B 708497e4163bad664a7208ce027ea9222a75b8ddecbed5f4d24619efe5c0f65d6f40c6ca592bbc7676207b9d5f6fa83883154b0624b8919d42458d09b595c58f SHA512 a1f472f3b2ea5bb3c6221afd0d84c18f174d24992865fe689166ae6d8c6099bdbbfa38bee639d0a22c16cded8047ae808143e855a9624943eb59a3f35676a9a9

diff --git a/app-emacs/emacs-ansilove/emacs-ansilove-1.0.1.ebuild b/app-emacs/emacs-ansilove/emacs-ansilove-1.0.1.ebuild
new file mode 100644
index 000000000000..290a0c7ba03f
--- /dev/null
+++ b/app-emacs/emacs-ansilove/emacs-ansilove-1.0.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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
+}

diff --git a/app-emacs/emacs-ansilove/emacs-ansilove-9999.ebuild b/app-emacs/emacs-ansilove/emacs-ansilove-9999.ebuild
new file mode 100644
index 000000000000..290a0c7ba03f
--- /dev/null
+++ b/app-emacs/emacs-ansilove/emacs-ansilove-9999.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 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
+}

diff --git a/app-emacs/emacs-ansilove/metadata.xml b/app-emacs/emacs-ansilove/metadata.xml
new file mode 100644
index 000000000000..c0785c1f9d2e
--- /dev/null
+++ b/app-emacs/emacs-ansilove/metadata.xml
@@ -0,0 +1,21 @@
+<?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>
+  <longdescription>
+    This package provides some integration with the ansilove tool, which is a
+    ANSI and ASCII art to PNG converter.
+  </longdescription>
+  <upstream>
+    <maintainer status="active">
+      <email>xgqt@riseup.net</email>
+      <name>Maciej Barć</name>
+    </maintainer>
+    <bugs-to>https://gitlab.com/xgqt/emacs-ansilove/-/issues/</bugs-to>
+    <remote-id type="gitlab">xgqt/emacs-ansilove</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-ansilove/
@ 2023-02-10 13:39 Maciej Barć
  0 siblings, 0 replies; 2+ messages in thread
From: Maciej Barć @ 2023-02-10 13:39 UTC (permalink / raw
  To: gentoo-commits

commit:     8d0148f249fee0da4b9df78b319df85ef53c02a1
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 10 13:35:18 2023 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Feb 10 13:35:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d0148f2

app-emacs/emacs-ansilove: bump to 2.0.0

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/emacs-ansilove/Manifest                  |  1 +
 .../emacs-ansilove/emacs-ansilove-2.0.0.ebuild     | 38 ++++++++++++++++++++++
 2 files changed, 39 insertions(+)

diff --git a/app-emacs/emacs-ansilove/Manifest b/app-emacs/emacs-ansilove/Manifest
index af57ae6a6c4c..04439e09d13e 100644
--- a/app-emacs/emacs-ansilove/Manifest
+++ b/app-emacs/emacs-ansilove/Manifest
@@ -1 +1,2 @@
 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

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
+}


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-02-10 13:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-22 20:29 [gentoo-commits] repo/gentoo:master commit in: app-emacs/emacs-ansilove/ Maciej Barć
  -- strict thread matches above, loose matches on Subject: below --
2023-02-10 13:39 Maciej Barć

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox