mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-emacs/auctex: drop old 13.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST auctex-13.3.tar.gz 1695608 BLAKE2B 3a22273b72237e14a31a1fb9d81e2c4ee10290919bc3d6f8cb35ab877ef26083c7edb5bbb7c88a40f45848012cc2edd375a90d872f604029ba8f03278bd95f9a SHA512 32d6f3c968a27dd5e7862993419bfa0f5e5228abca7478341a06fce153f333410cd230f8266e6b0e4fb5e4247864710e3f572b6a837c99c2879d38899590f678
|
||||
DIST auctex-14.0.5.tar.gz 1342079 BLAKE2B 0c61c2c4f4882af72eaff1e7ecb1429d1313429e1b08fdc94d9c3b3c8fc1df06b2df5a30ecbc49b42cfd1df7ee1a2540cb743467c6ae6d4cb96380e1253c3341 SHA512 88a517d385d1bed3f0876e024c8d454cf5576eeb0149785da8035531eb2d4169e128574da31fa610aedbe2b54507b53964cdf6f4f81a163c4ade24462b849439
|
||||
|
||||
@@ -1,69 +0,0 @@
|
||||
# Copyright 1999-2024 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 ~arm64 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() {
|
||||
local -a myconf=(
|
||||
--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)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
VARTEXFONTS="${T}/fonts" emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake -j1 DESTDIR="${ED}" 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
|
||||
}
|
||||
Reference in New Issue
Block a user