mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-emacs/org-mode: bump to 9.8.7
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1 +1,2 @@
|
||||
DIST org-mode-9.8.5.tar.xz 1779676 BLAKE2B 165fadad4fcc9cd0373a6e5b719271eb7ba2870c64c4ee14833f24048fcdcd01a3e6efafbaf121e1f90417c2bbc97201de11e0748f35f4a23442a4f8965445db SHA512 9f7ad93506cf93c8cfa72d44e0e14e20142681f33c41eb55bdc0debe7d0e5748fabb0f739b2579eb4676d51eb67f9f3ad3549fe0d1b94ec5443564bbbf4ddf32
|
||||
DIST org-mode-9.8.7.tar.xz 1780180 BLAKE2B 7e3be6321d46ce8a67a87b0d5f27f731240cb27d9ffbb77aa9d4ebd258a1997509a2dbce78f3033526566c56ab68df23b883c91aa0ee11ce704656ced2c507e8 SHA512 a81ac36adaac3015be84e5d396b3b07e4fce37e73684ddede509ddefa74a8bce86f03d35983b80431bbc49a5fc7fcf7bba034ab52e5a98f1efed0a7c6a90dc2a
|
||||
|
||||
85
app-emacs/org-mode/org-mode-9.8.7.ebuild
Normal file
85
app-emacs/org-mode/org-mode-9.8.7.ebuild
Normal file
@@ -0,0 +1,85 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=9
|
||||
|
||||
NEED_EMACS="28"
|
||||
|
||||
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}"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/org"
|
||||
S="${WORKDIR}/org"
|
||||
else
|
||||
# git archive --prefix=${P}/ release_${PV} | xz > ${P}.tar.xz
|
||||
SRC_URI="https://dev.gentoo.org/~xgqt/distfiles/repackaged/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )"
|
||||
SLOT="0"
|
||||
IUSE="doc odt-schema"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
virtual/texi2dvi
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( README.org CONTRIBUTE.org etc/ORG-NEWS )
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
elisp_src_prepare
|
||||
|
||||
# Remove failing tests.
|
||||
rm testing/lisp/test-{ob{,-exp,-tangle,-shell,-sqlite},org-clock,ox-icalendar}.el \
|
||||
|| die "failed to remove some test files"
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
elisp_src_configure
|
||||
|
||||
if use doc ; then
|
||||
DOCS+=( doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf )
|
||||
fi
|
||||
|
||||
EMAKEARGS=(
|
||||
ORGVERSION="${PV}"
|
||||
ETCDIRS="styles csl $(usev odt-schema schema)"
|
||||
lispdir="${EPREFIX}${SITELISP}/${PN}"
|
||||
datadir="${EPREFIX}${SITEETC}/${PN}"
|
||||
infodir="${EPREFIX}/usr/share/info"
|
||||
)
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake -j1 "${EMAKEARGS[@]}"
|
||||
|
||||
if use doc ; then
|
||||
emake -j1 pdf
|
||||
emake -j1 card
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local -x LANG="C"
|
||||
emake -j1 "${EMAKEARGS[@]}" TEST_NO_AUTOCLEAN="TRUE" test-dirty
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 "${EMAKEARGS[@]}" DESTDIR="${D}" install
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
einstalldocs
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user