From 059be50f3543bfbba06efad12eb048fddd3cf464 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Sun, 10 Sep 2023 15:23:51 +0200 Subject: [PATCH] app-emacs/modus-themes: new package; add 4.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- app-emacs/modus-themes/Manifest | 1 + .../files/50modus-themes-gentoo.el | 2 ++ app-emacs/modus-themes/metadata.xml | 18 +++++++++++ .../modus-themes/modus-themes-4.2.0.ebuild | 30 +++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 app-emacs/modus-themes/Manifest create mode 100644 app-emacs/modus-themes/files/50modus-themes-gentoo.el create mode 100644 app-emacs/modus-themes/metadata.xml create mode 100644 app-emacs/modus-themes/modus-themes-4.2.0.ebuild diff --git a/app-emacs/modus-themes/Manifest b/app-emacs/modus-themes/Manifest new file mode 100644 index 0000000000000..618fe851a6410 --- /dev/null +++ b/app-emacs/modus-themes/Manifest @@ -0,0 +1 @@ +DIST modus-themes-4.2.0.tar.gz 323621 BLAKE2B 7e5e19a294d802bcccfa6f1ca5b53b52ad584a634271d72ea63a5a061678b66149111e05dadc6d7dbb581a5c9dfd26a75f36abac3d87948324709474c204ec1f SHA512 a2484a9d7d42cfe0f74379f1f5bda02bc31a2fac16836644a3a6c6b568a6ee0e2d4804950732f2a132bef330bb7c0e34058256036f81afc27301262ffda79fae diff --git a/app-emacs/modus-themes/files/50modus-themes-gentoo.el b/app-emacs/modus-themes/files/50modus-themes-gentoo.el new file mode 100644 index 0000000000000..179a80678b0ed --- /dev/null +++ b/app-emacs/modus-themes/files/50modus-themes-gentoo.el @@ -0,0 +1,2 @@ +(add-to-list 'load-path "@SITELISP@") +(load "modus-themes-autoloads" nil t) diff --git a/app-emacs/modus-themes/metadata.xml b/app-emacs/modus-themes/metadata.xml new file mode 100644 index 0000000000000..900dd32712cb4 --- /dev/null +++ b/app-emacs/modus-themes/metadata.xml @@ -0,0 +1,18 @@ + + + + + + gnu-emacs@gentoo.org + Gentoo GNU Emacs project + + + Highly accessible themes, conforming with the highest standard for colour + contrast between background and foreground values (WCAG AAA). They also are + optimised for users with red-green colour deficiency. + + + https://github.com/protesilaos/modus-themes/issues/ + protesilaos/modus-themes + + diff --git a/app-emacs/modus-themes/modus-themes-4.2.0.ebuild b/app-emacs/modus-themes/modus-themes-4.2.0.ebuild new file mode 100644 index 0000000000000..b7a947039a4b1 --- /dev/null +++ b/app-emacs/modus-themes/modus-themes-4.2.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Convert symbol names between different naming conventions" +HOMEPAGE="https://github.com/protesilaos/modus-themes/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/protesilaos/${PN}.git" +else + SRC_URI="https://github.com/protesilaos/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-3+" +SLOT="0" + +DOCS=( CHANGELOG.org README.md ) +SITEFILE="50${PN}-gentoo.el" + +src_compile() { + elisp_src_compile + + elisp-make-autoload-file +}