summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-10 03:47:43 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-10 03:47:54 +0100
commitbfcbc5491fb4624201bf7dca7b5296c836bc643c (patch)
tree8909480512901901f33ba2b0e4be6e2eee72fbee /app-emacs
parentsys-devel/libtool: restore ~loong (diff)
downloadgentoo-bfcbc5491fb4624201bf7dca7b5296c836bc643c.tar.gz
gentoo-bfcbc5491fb4624201bf7dca7b5296c836bc643c.tar.bz2
gentoo-bfcbc5491fb4624201bf7dca7b5296c836bc643c.zip
app-emacs/org-modern: new package; add 0.6
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/org-modern/Manifest1
-rw-r--r--app-emacs/org-modern/files/50org-modern-gentoo.el7
-rw-r--r--app-emacs/org-modern/metadata.xml20
-rw-r--r--app-emacs/org-modern/org-modern-0.6.ebuild18
4 files changed, 46 insertions, 0 deletions
diff --git a/app-emacs/org-modern/Manifest b/app-emacs/org-modern/Manifest
new file mode 100644
index 000000000000..21d6838be173
--- /dev/null
+++ b/app-emacs/org-modern/Manifest
@@ -0,0 +1 @@
+DIST org-modern-0.6.tar.gz 23023 BLAKE2B caddb13de8bb5de6d042535ea092d4f681e444cc99095baa2394545d7e78c55860b8aa0581e49c1f95321e4bf42cfa3e898e57f85db0726361173aded80ff162 SHA512 46fd0b37b199916383ec831cb98bcf0c0ab8f3cd2cbb2f93884cbf1919c774d666fc1e83213a51849fa5ddfa5b15917c6f4541af94768cee8bfc787dd30bf5fc
diff --git a/app-emacs/org-modern/files/50org-modern-gentoo.el b/app-emacs/org-modern/files/50org-modern-gentoo.el
new file mode 100644
index 000000000000..a10b355780f8
--- /dev/null
+++ b/app-emacs/org-modern/files/50org-modern-gentoo.el
@@ -0,0 +1,7 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'global-org-modern-mode "org-modern"
+ "Global org-modern-mode." t)
+(autoload 'org-modern-agenda "org-modern"
+ "Finalize Org agenda highlighting." t)
+(autoload 'org-modern-mode "org-modern"
+ "Modern looks for Org." t)
diff --git a/app-emacs/org-modern/metadata.xml b/app-emacs/org-modern/metadata.xml
new file mode 100644
index 000000000000..68e44f1c601a
--- /dev/null
+++ b/app-emacs/org-modern/metadata.xml
@@ -0,0 +1,20 @@
+<?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 implements a “modern” style for your Org buffers using font
+ locking and text properties. The package styles headlines, keywords, tables
+ and source blocks. The styling is configurable, you can enable, disable or
+ modify the style of each syntax element individually via the org-modern
+ customization group.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/minad/org-modern/issues/</bugs-to>
+ <remote-id type="github">minad/org-modern</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emacs/org-modern/org-modern-0.6.ebuild b/app-emacs/org-modern/org-modern-0.6.ebuild
new file mode 100644
index 000000000000..0b55aefd8d63
--- /dev/null
+++ b/app-emacs/org-modern/org-modern-0.6.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Modern style for your GNU Emacs Org buffers"
+HOMEPAGE="https://github.com/minad/org-modern/"
+SRC_URI="https://github.com/minad/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( README.org example.org )
+SITEFILE="50${PN}-gentoo.el"