summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-04-04 20:24:36 +0200
committerMaciej Barć <xgqt@gentoo.org>2024-04-04 21:01:51 +0200
commitcc9fa42330a6be23a68e7e0528c8ef9aabe4bb2b (patch)
tree8e45c447a50d586df3b901b206ef7196105ae94d /app-emacs
parentapp-containers/earthly: bump to 0.8.7 (diff)
downloadgentoo-cc9fa42330a6be23a68e7e0528c8ef9aabe4bb2b.tar.gz
gentoo-cc9fa42330a6be23a68e7e0528c8ef9aabe4bb2b.tar.bz2
gentoo-cc9fa42330a6be23a68e7e0528c8ef9aabe4bb2b.zip
app-emacs/org-mode: bump to 9.6.24
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/org-mode/Manifest1
-rw-r--r--app-emacs/org-mode/org-mode-9.6.24.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest
index 30e35ad00fd5..4ed059aeb239 100644
--- a/app-emacs/org-mode/Manifest
+++ b/app-emacs/org-mode/Manifest
@@ -1 +1,2 @@
DIST org-mode-release_9.6.23.tar.gz 2212912 BLAKE2B 50f387e72650561c0d76068d4c98c406560f3523e9680b4eebc8a2baa0c445a64eeb3934062f721325afe02ab0ec46d7cdff7bdf2f4f19740c130beee496d26f SHA512 60e9abdaa195a21707dbcb44cf0a30f330307455ecf63ea67db09e19efc171bb670dc31c70baca191c2a35890004871f6513fbeeff890bb18cf92b251dae8ec1
+DIST org-mode-release_9.6.24.tar.gz 2212983 BLAKE2B 3b780973b68853738b6d74162c100eff4ddb7777c13e9c2a927edbeabebf7763c6a32abc43f7e38fae986a9cbc20926d4b40b54131f0e4acd1fc16f5d62b4b5c SHA512 85696fb49a9764d8163316ae03db02a3324ac828fd11cfda509aaef4ff3af6c7c4aaad0857d225216bc7dd672cf89817b007b63ea78092804abf93475e56e171
diff --git a/app-emacs/org-mode/org-mode-9.6.24.ebuild b/app-emacs/org-mode/org-mode-9.6.24.ebuild
new file mode 100644
index 000000000000..e1d2e45fb768
--- /dev/null
+++ b/app-emacs/org-mode/org-mode-9.6.24.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MY_P="${PN}-release_${PV}"
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="An Emacs mode for notes and project planning"
+HOMEPAGE="https://www.orgmode.org/"
+SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="doc odt-schema"
+RESTRICT="test"
+
+BDEPEND="
+ doc? ( virtual/texi2dvi )
+"
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ emake -j1 \
+ ORGVERSION=${PV} \
+ datadir="${EPREFIX}${SITEETC}/${PN}"
+ use doc && emake -j1 pdf card
+}
+
+src_install() {
+ emake \
+ ORGVERSION=${PV} \
+ DESTDIR="${D}" \
+ ETCDIRS="styles csl $(use odt-schema && echo schema)" \
+ lispdir="${EPREFIX}${SITELISP}/${PN}" \
+ datadir="${EPREFIX}${SITEETC}/${PN}" \
+ infodir="${EPREFIX}/usr/share/info" \
+ install
+
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ dodoc README.org CONTRIBUTE.org etc/ORG-NEWS
+ use doc && dodoc doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf
+
+ local DOC_CONTENTS="Org mode has a large variety of run-time dependencies,
+ so you may have to install one or more additional packages.
+ A non-exhaustive list of these dependencies may be found at
+ <http://orgmode.org/worg/org-dependencies.html>."
+ readme.gentoo_create_doc
+}