1 |
commit: c163c19b400d62dd9842cb59a4b84bdbfba8cde6 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon May 9 12:41:34 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon May 9 12:41:34 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c163c19b |
7 |
|
8 |
app-emacs/auctex: bump to 13.1 |
9 |
|
10 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
11 |
|
12 |
app-emacs/auctex/Manifest | 1 + |
13 |
app-emacs/auctex/auctex-13.1.ebuild | 62 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/app-emacs/auctex/Manifest b/app-emacs/auctex/Manifest |
17 |
index 4bdc9ca0d941..11c9edeb7688 100644 |
18 |
--- a/app-emacs/auctex/Manifest |
19 |
+++ b/app-emacs/auctex/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST auctex-11.92.tar.gz 1486606 BLAKE2B 6e34d1da3bacad8f2baee2f13eb44a5b617a342c294ef4d7ba28059b678510e1d161f3f02fbcf38128c09ab4996a035e5ec28898134b967d88ad621b8b477845 SHA512 758bf82903ba0499decf0ade77c7ac70865132a24195d7e8794538b7857c448811b7ef26149a915b60ed3ee34c2ebaddb3282a320bd459c9ee3f461d6ee9b84e |
22 |
DIST auctex-12.2.tar.gz 1511396 BLAKE2B 02cad76c8846fc10dc1bd94d15fb1d6f56a9beead96deaa32a5e9a43241b232f021d9abe1965e10e53b941a223c500b301b1c467228bf8d9ed2646fa70bae647 SHA512 412e247ad9ba7feb768cade0a7098cc79991ccdf350248836813d572bfe2339f52c4e0e9ce631354e2c2d434217274aa9116e61d122a625a45a7f67aabd2316b |
23 |
DIST auctex-12.3.tar.gz 1534283 BLAKE2B b70db839cd82805ed0410f8b92c5f19a78e92ee8f23d18962f0da77bdfdbac4264272805135c7f16ba35c461017aac74030071c85d2ff413f8eff542cad670d2 SHA512 29c411a7f18e0dd2d84edaf935e278cdf694644e01f40c26c26da403efa0a823fc3110c291d218bf930cad208dc249ca665dc20ccad5e2b44bd3caae828079ca |
24 |
+DIST auctex-13.1.tar.gz 1600209 BLAKE2B e6ab7d19e60b19f54f8af61c0038a0aa656bebfb56f8a1bcea3ad26a249b2c176570fcd1eaceffbc99d4a824b9191eb301a1ead16dc382f31a09729cd99415e9 SHA512 562f106627d244113669654bc683818c7145c2f74d0ce50824765989e894dfe01e34bf96fe11123ebfb76c7053647697c99ae15e80fcd5e3e022683054a962ae |
25 |
|
26 |
diff --git a/app-emacs/auctex/auctex-13.1.ebuild b/app-emacs/auctex/auctex-13.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..64b85674a975 |
29 |
--- /dev/null |
30 |
+++ b/app-emacs/auctex/auctex-13.1.ebuild |
31 |
@@ -0,0 +1,62 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+NEED_EMACS=25.1 |
38 |
+ |
39 |
+inherit elisp |
40 |
+ |
41 |
+DESCRIPTION="Extensible package for writing and formatting TeX files in Emacs" |
42 |
+HOMEPAGE="https://www.gnu.org/software/auctex/" |
43 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-3+ FDL-1.3+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris" |
48 |
+IUSE="preview-latex" |
49 |
+ |
50 |
+RDEPEND="virtual/latex-base |
51 |
+ preview-latex? ( |
52 |
+ app-text/dvipng |
53 |
+ app-text/ghostscript-gpl |
54 |
+ )" |
55 |
+BDEPEND="${RDEPEND}" |
56 |
+ |
57 |
+TEXMF="/usr/share/texmf-site" |
58 |
+ |
59 |
+src_configure() { |
60 |
+ econf \ |
61 |
+ --with-emacs \ |
62 |
+ --with-auto-dir="${EPREFIX}/var/lib/auctex" \ |
63 |
+ --with-lispdir="${EPREFIX}${SITELISP}/${PN}" \ |
64 |
+ --with-packagelispdir="${EPREFIX}${SITELISP}/${PN}" \ |
65 |
+ --with-packagedatadir="${EPREFIX}${SITEETC}/${PN}" \ |
66 |
+ --with-texmf-dir="${EPREFIX}${TEXMF}" \ |
67 |
+ --disable-build-dir-test \ |
68 |
+ $(use_enable preview-latex preview) |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ export VARTEXFONTS="${T}"/fonts |
73 |
+ emake |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ emake -j1 DESTDIR="${D}" install |
78 |
+ elisp-site-file-install "${FILESDIR}/50${PN}-gentoo.el" |
79 |
+ if use preview-latex; then |
80 |
+ elisp-site-file-install "${FILESDIR}/60${PN}-gentoo.el" |
81 |
+ fi |
82 |
+ dodoc ChangeLog* CHANGES FAQ INSTALL PROBLEMS.preview README RELEASE TODO |
83 |
+} |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ use preview-latex && texmf-update |
87 |
+ elisp-site-regen |
88 |
+} |
89 |
+ |
90 |
+pkg_postrm() { |
91 |
+ use preview-latex && texmf-update |
92 |
+ elisp-site-regen |
93 |
+} |