diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 01:20:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-22 01:20:40 +0100 |
commit | cb6b2150348c9dc57c68bcba47bcdb6f20e8e508 (patch) | |
tree | 4d89a8eab47a7fbc14b209c7c252724a72c68f8a /app-emacs/auctex/auctex-13.2.ebuild | |
parent | c0bcbed1a8a833beeae3ab7541dc9f460ab7cfce (diff) |
gentoo auto-resync : 22:06:2023 - 01:20:39
Diffstat (limited to 'app-emacs/auctex/auctex-13.2.ebuild')
-rw-r--r-- | app-emacs/auctex/auctex-13.2.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/app-emacs/auctex/auctex-13.2.ebuild b/app-emacs/auctex/auctex-13.2.ebuild new file mode 100644 index 000000000000..be422b9e8a49 --- /dev/null +++ b/app-emacs/auctex/auctex-13.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit elisp + +DESCRIPTION="Extensible package for writing and formatting TeX files in Emacs" +HOMEPAGE="https://www.gnu.org/software/auctex/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-3+ FDL-1.3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +IUSE="preview-latex" + +RDEPEND="virtual/latex-base + preview-latex? ( + app-text/dvipng + app-text/ghostscript-gpl + )" +BDEPEND="${RDEPEND}" + +TEXMF="/usr/share/texmf-site" + +src_configure() { + econf \ + --with-emacs \ + --with-auto-dir="${EPREFIX}/var/lib/auctex" \ + --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ + --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \ + --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \ + --with-texmf-dir="${EPREFIX}${TEXMF}" \ + --disable-build-dir-test \ + $(use_enable preview-latex preview) +} + +src_compile() { + export VARTEXFONTS="${T}"/fonts + emake +} + +src_install() { + emake -j1 DESTDIR="${D}" install + elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" + if use preview-latex; then + elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" + fi + dodoc ChangeLog* CHANGES FAQ INSTALL PROBLEMS.preview README RELEASE TODO +} + +pkg_postinst() { + use preview-latex && texmf-update + elisp-site-regen +} + +pkg_postrm() { + use preview-latex && texmf-update + elisp-site-regen +} |