From cbab815a8642950e477b79ec3bb8a12e7c8a32c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Fri, 10 Jul 2026 12:15:21 +0200 Subject: [PATCH] app-emacs/xterm-color: new package; add 2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/xterm-color/Manifest | 1 + app-emacs/xterm-color/metadata.xml | 14 ++++++++++++ app-emacs/xterm-color/xterm-color-2.0.ebuild | 24 ++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 100644 app-emacs/xterm-color/Manifest create mode 100644 app-emacs/xterm-color/metadata.xml create mode 100644 app-emacs/xterm-color/xterm-color-2.0.ebuild diff --git a/app-emacs/xterm-color/Manifest b/app-emacs/xterm-color/Manifest new file mode 100644 index 0000000000000..0cb9fce588c11 --- /dev/null +++ b/app-emacs/xterm-color/Manifest @@ -0,0 +1 @@ +DIST xterm-color-2.0.gh.tar.gz 1017191 BLAKE2B e6e385a66e1c53b8b577739002507f1745874b065cef1331751e64aee5254d7345a944d5b72f1d9b50efd3de084de4e0eb3c188d082bfcbefbae3bc6749fa33c SHA512 4ad489901168b09c4ac554eb10590f3e74b81598fdfa11e0f70fb88f20fb78f70a6285c6a6ae9fd0fd236d3e31f8ed82d0b50e40eb438aa04a735fda72dea252 diff --git a/app-emacs/xterm-color/metadata.xml b/app-emacs/xterm-color/metadata.xml new file mode 100644 index 0000000000000..de584c574900c --- /dev/null +++ b/app-emacs/xterm-color/metadata.xml @@ -0,0 +1,14 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + + https://github.com/atomontage/xterm-color/issues/ + atomontage/xterm-color + + diff --git a/app-emacs/xterm-color/xterm-color-2.0.ebuild b/app-emacs/xterm-color/xterm-color-2.0.ebuild new file mode 100644 index 0000000000000..f0df224ca2e40 --- /dev/null +++ b/app-emacs/xterm-color/xterm-color-2.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=9 + +inherit elisp + +DESCRIPTION="ANSI and xterm-256 color text property translator for GNU Emacs" +HOMEPAGE="https://github.com/atomontage/xterm-color/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/atomontage/${PN}" +else + SRC_URI="https://github.com/atomontage/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.gh.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( NEWS.org README.org ) +SITEFILE="50${PN}-gentoo.el"