summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-09-10 16:57:51 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-09-10 17:35:31 +0200
commit6c9ae80624135886981114eae37b4aeea66c4e6f (patch)
tree839c952e6d52e364f704e3b97063e33b3e74e444 /app-emacs/ef-themes
parentapp-emacs/modus-themes: add live 9999 (diff)
downloadgentoo-6c9ae80624135886981114eae37b4aeea66c4e6f.tar.gz
gentoo-6c9ae80624135886981114eae37b4aeea66c4e6f.tar.bz2
gentoo-6c9ae80624135886981114eae37b4aeea66c4e6f.zip
app-emacs/ef-themes: new package; add 1.3.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs/ef-themes')
-rw-r--r--app-emacs/ef-themes/Manifest1
-rw-r--r--app-emacs/ef-themes/ef-themes-1.3.0.ebuild32
-rw-r--r--app-emacs/ef-themes/files/50ef-themes-gentoo.el2
-rw-r--r--app-emacs/ef-themes/metadata.xml18
4 files changed, 53 insertions, 0 deletions
diff --git a/app-emacs/ef-themes/Manifest b/app-emacs/ef-themes/Manifest
new file mode 100644
index 000000000000..2e6bc7d65c4a
--- /dev/null
+++ b/app-emacs/ef-themes/Manifest
@@ -0,0 +1 @@
+DIST ef-themes-1.3.0.tar.gz 159848 BLAKE2B 141b5d1c809ef285f8bbfa6b91c60a9e6c03d5677baccf451091b9d2141a5d49f3c4a7e3f69ffdb8ebe99253ebd8cf1756f15723dae07c4a7db2b165bc38012a SHA512 85a7310f710a4e91c72d9c47fb596eeca181bf282e4cfb3d16c9e714bace4f87cb5d7d8c76d06e36cde170956d2f3dc0bfe0cde5b5332656292cc511f05e9583
diff --git a/app-emacs/ef-themes/ef-themes-1.3.0.ebuild b/app-emacs/ef-themes/ef-themes-1.3.0.ebuild
new file mode 100644
index 000000000000..e12280ff911b
--- /dev/null
+++ b/app-emacs/ef-themes/ef-themes-1.3.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Colourful and legible themes for GNU Emacs"
+HOMEPAGE="https://github.com/protesilaos/ef-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 README.org contrast-ratios.org )
+ELISP_TEXINFO="${PN}.texi"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ elisp-org-export-to texinfo README.org
+
+ elisp_src_compile
+ elisp-make-autoload-file
+}
diff --git a/app-emacs/ef-themes/files/50ef-themes-gentoo.el b/app-emacs/ef-themes/files/50ef-themes-gentoo.el
new file mode 100644
index 000000000000..58df6c8ef84e
--- /dev/null
+++ b/app-emacs/ef-themes/files/50ef-themes-gentoo.el
@@ -0,0 +1,2 @@
+(add-to-list 'load-path "@SITELISP@")
+(load "ef-themes-autoloads" nil t)
diff --git a/app-emacs/ef-themes/metadata.xml b/app-emacs/ef-themes/metadata.xml
new file mode 100644
index 000000000000..26eebbc46b9e
--- /dev/null
+++ b/app-emacs/ef-themes/metadata.xml
@@ -0,0 +1,18 @@
+<?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>
+ The ef-themes are a collection of light and dark themes for GNU Emacs whose
+ goal is to provide colorfulyet legible options for users who want something
+ with a bit more flair than the modus-themes.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/protesilaos/ef-themes/issues/</bugs-to>
+ <remote-id type="github">protesilaos/ef-themes</remote-id>
+ </upstream>
+</pkgmetadata>