diff options
author | Maciej Barć <xgqt@gentoo.org> | 2024-12-30 20:14:17 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2024-12-30 20:14:17 +0100 |
commit | 297aaf21ed37bfed800aa95c6e4cdd7d3fafc1bc (patch) | |
tree | 29295e2ab03b2ac4bc08fe7feee74593e5c035b6 /app-emacs | |
parent | app-emacs/org-mode: drop old 9.7.15 (diff) | |
download | gentoo-297aaf21ed37bfed800aa95c6e4cdd7d3fafc1bc.tar.gz gentoo-297aaf21ed37bfed800aa95c6e4cdd7d3fafc1bc.tar.bz2 gentoo-297aaf21ed37bfed800aa95c6e4cdd7d3fafc1bc.zip |
app-emacs/org-mode: bump to 9.7.18
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'app-emacs')
-rw-r--r-- | app-emacs/org-mode/Manifest | 1 | ||||
-rw-r--r-- | app-emacs/org-mode/org-mode-9.7.18.ebuild | 63 |
2 files changed, 64 insertions, 0 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest index 79cefb7f86d7..7bbba6e78789 100644 --- a/app-emacs/org-mode/Manifest +++ b/app-emacs/org-mode/Manifest @@ -1,2 +1,3 @@ DIST org-mode-release_9.7.16.tar.gz 2364239 BLAKE2B eb379531f5dbc6407e32bcd4fd9ee8427dba91bbfe2a5d63bd825dd6d886b5666355a5a649064c93121113a95406b0ded755812c8580f47b45c8979d68e5e568 SHA512 b099f53bbf47add9dfd8f6cc33aa7b4021e86613431cf71fcca5a7133b72b0b77ad7b48bf48b716052c6f2b0c06eacfb05fcca610e2f3b3d3d2d6bdb1e5fa908 DIST org-mode-release_9.7.17.tar.gz 2364232 BLAKE2B b0f3c94e92f6721b0ffb4b9196391a0520c2cad8124eb9afda58f3e1705d7031e616cd0549eed2ed16b1d6e8d10113f7f384f4c1ca969a83d9b5975a9cd95d76 SHA512 4bb12ed1aa3be2ab32037450960535f1552395409b49721cae5babf0f2eb3d96497c635d08141efdc7b7fc738b8df8422cf0ee65cb3c329ad4db578c4478dc19 +DIST org-mode-release_9.7.18.tar.gz 2364125 BLAKE2B 6def92460c96c02e4fa0304bf02437819b3a3541db4f30ee6cf354faaa55860886b785940af6cb32d9b6881d6484c3eaf50942b9a788712f84e2a1676f06940f SHA512 c019d82c2bc2bde3ee555f7a99e0b935e3dc9b64bdecdb2f83b2ed8460c822cd1d7a3f318dff637c57ed905070df98aff32cdc82b3c96a10f26038859c540e0a diff --git a/app-emacs/org-mode/org-mode-9.7.18.ebuild b/app-emacs/org-mode/org-mode-9.7.18.ebuild new file mode 100644 index 000000000000..86c9f98ba96b --- /dev/null +++ b/app-emacs/org-mode/org-mode-9.7.18.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp readme.gentoo-r1 + +DESCRIPTION="An Emacs mode for notes and project planning" +HOMEPAGE="https://orgmode.org/" + +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + + EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs/${PN}.git" + EGIT_CHECKOUT_DIR="${WORKDIR}/org" + S="${WORKDIR}/org" +else + MY_P="${PN}-release_${PV}" + SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + + KEYWORDS="~amd64 ~ppc ~x86" +fi + +LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )" +SLOT="0" +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 -j1 \ + 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 +} |