diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-23 07:12:17 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-11-23 07:12:17 +0000 |
| commit | f1480ba19fd3bc2309ecbfb1ca2f4653e6043243 (patch) | |
| tree | 642943bad20276c9c14f7e0c22ba1cafc8049882 /app-emacs/org-mode | |
| parent | beb119f5dff9e8a5f0e100d7908d4914be32d5f1 (diff) | |
| download | baldeagleos-repo-f1480ba19fd3bc2309ecbfb1ca2f4653e6043243.tar.gz baldeagleos-repo-f1480ba19fd3bc2309ecbfb1ca2f4653e6043243.tar.xz baldeagleos-repo-f1480ba19fd3bc2309ecbfb1ca2f4653e6043243.zip | |
Adding metadata
Diffstat (limited to 'app-emacs/org-mode')
| -rw-r--r-- | app-emacs/org-mode/Manifest | 1 | ||||
| -rw-r--r-- | app-emacs/org-mode/org-mode-9.7.38.ebuild | 86 | ||||
| -rw-r--r-- | app-emacs/org-mode/org-mode-9999.ebuild | 14 |
3 files changed, 95 insertions, 6 deletions
diff --git a/app-emacs/org-mode/Manifest b/app-emacs/org-mode/Manifest index fcf1a31e3e98..fc0c7fab99a7 100644 --- a/app-emacs/org-mode/Manifest +++ b/app-emacs/org-mode/Manifest @@ -2,3 +2,4 @@ DIST org-mode-release_9.7.34.tar.gz 2365680 BLAKE2B 308389056148e7ae3dba51cc3e75 DIST org-mode-release_9.7.35.tar.gz 2366581 BLAKE2B 55b52b94dde1efe7be7354c3c8ae2aa3a51e2e65a9ae96d255017704bd875cbc4ffc3102ea56f5a90994538b6ec76cc61de406406f03096724ab2a066cc54751 SHA512 93354dc2aa8f3c72b4af599650d0cacb4a1112cdf2a7c72efad70f7ae07d7fbcc5c05cf0770b5f9d110b2118a00c532c08b9eb9ca23acbf64882a8b01283150b DIST org-mode-release_9.7.36.tar.gz 2366692 BLAKE2B 8835b09ab306b9365e4b62402557975e24d20a0d6421b2642c19186c0604682ccd2af8ccce8785b0f0babe31428f1d221206a728426c7f098d1b37c2ea36cf4f SHA512 455ab8269d7cdf03cea29f0abef365621a945ffd81549d2c079a3929bd4548b2bfb5445920df7724f0f3242ba4f3589b4a6c4e9fa8e6480d7b5eb356bfc6ce40 DIST org-mode-release_9.7.37.tar.gz 2366760 BLAKE2B ac54eb23f15085dd31f8658babe613929d04085d072edc4f4eb6cce6fd46cd340be829fe4dba2d66787f95ae734a335a00a321da55e5cdb61355839afb3d72bc SHA512 064da295b785a666839d25a6fb47623134c42a062b5d4e68cff9702f6ad40069fa89f524f294971055c84fdddbe82cbb68d4460299e57266415fa91b9d09999c +DIST org-mode-release_9.7.38.tar.gz 2365808 BLAKE2B eadc6a37996b46368cdd6c9f45b10c3ae63688e2917870ad415d691dc0f52249767ec4111d79128cf96df317dddf9131044c20f046b40e4030e07884387dfc27 SHA512 999266f59892d3bbf9bd04311c54a9c718ab0ec6e4efd4881dc3f8eb4921176bab4bed47aa560a1d73cfdee01b936363c7d49b71f8438f3ce525e0ccded4a36c diff --git a/app-emacs/org-mode/org-mode-9.7.38.ebuild b/app-emacs/org-mode/org-mode-9.7.38.ebuild new file mode 100644 index 000000000000..62007b56c10c --- /dev/null +++ b/app-emacs/org-mode/org-mode-9.7.38.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2025 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}" + 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 ~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,ob-exp,ob-tangle,ob-shell,org-clock}.el \ + || die "failed to remove some test files" +} + +src_configure() { + elisp_src_configure + + use doc && DOCS+=( doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf ) + + 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 +} diff --git a/app-emacs/org-mode/org-mode-9999.ebuild b/app-emacs/org-mode/org-mode-9999.ebuild index 9ce0a3ef0fd9..62007b56c10c 100644 --- a/app-emacs/org-mode/org-mode-9999.ebuild +++ b/app-emacs/org-mode/org-mode-9999.ebuild @@ -20,7 +20,7 @@ else SRC_URI="https://git.savannah.gnu.org/cgit/emacs/${PN}.git/snapshot/${MY_P}.tar.gz" S="${WORKDIR}/${MY_P}" - KEYWORDS="~amd64 ~ppc ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~riscv ~x86" fi LICENSE="GPL-3+ FDL-1.3+ CC-BY-SA-3.0 odt-schema? ( OASIS-Open )" @@ -42,10 +42,16 @@ src_prepare() { # Remove failing tests. rm ./testing/lisp/test-{ob,ob-exp,ob-tangle,ob-shell,org-clock}.el \ || die "failed to remove some test files" +} + +src_configure() { + elisp_src_configure + + use doc && DOCS+=( doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf ) EMAKEARGS=( ORGVERSION="${PV}" - ETCDIRS="styles csl $(use odt-schema && echo schema)" + ETCDIRS="styles csl $(usev odt-schema schema)" lispdir="${EPREFIX}${SITELISP}/${PN}" datadir="${EPREFIX}${SITEETC}/${PN}" infodir="${EPREFIX}/usr/share/info" @@ -68,10 +74,6 @@ src_test() { } src_install() { - if use doc ; then - DOCS+=( doc/org.pdf doc/orgcard.pdf doc/orgguide.pdf ) - fi - emake -j1 "${EMAKEARGS[@]}" DESTDIR="${D}" install elisp-site-file-install "${FILESDIR}/${SITEFILE}" einstalldocs |
