commit:     e6ee160432ae37f8a79bad33108730002fa6ee1a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 22:36:53 2025 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Thu May 22 23:01:27 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6ee1604

app-emacs/yatex: bump to 1.84

Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 app-emacs/yatex/Manifest          |  1 +
 app-emacs/yatex/yatex-1.84.ebuild | 61 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/app-emacs/yatex/Manifest b/app-emacs/yatex/Manifest
index 05e2cbc10e87..230d2d2722d9 100644
--- a/app-emacs/yatex/Manifest
+++ b/app-emacs/yatex/Manifest
@@ -1 +1,2 @@
 DIST yatex1.83.tar.gz 389259 BLAKE2B 
40a5475c1b46e93531eeac3b7ed3e90f7a68c0faad91cc9c74b38af0e36a83578032615a2dfdcd7a6ede2b9eda36e128581c162a84b913362612cd07df9f1d81
 SHA512 
7e12532a5af8139b99457ff1137b19e5d1272f6bc13e3baea62d57e6ec036154ae733696ae8b6c1c1b8a6949aaa0425a34a8485ce61cbe0df72ceee1489eaedf
+DIST yatex1.84.tar.gz 389985 BLAKE2B 
b6cc634598e57801be7610cdce4214c712cbb19296ae47b5e906efa84062bf28b2a18515bc9da8cefcf4c56d42278e78a0b379537a98b5115bfb2898c7de61f1
 SHA512 
a32eb5865fcd7be49bad7b081acf62cb73564f44118fc7871859e973cc07f162d03cc8c1ac2c93a6d09ec346d52f6f0dabe9a4c98aa06ef63df4c641e696f72b

diff --git a/app-emacs/yatex/yatex-1.84.ebuild 
b/app-emacs/yatex/yatex-1.84.ebuild
new file mode 100644
index 000000000000..92fa53f64bb5
--- /dev/null
+++ b/app-emacs/yatex/yatex-1.84.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp
+
+DESCRIPTION="Yet Another TeX mode for Emacs"
+HOMEPAGE="http://www.yatex.org/";
+SRC_URI="http://www.${PN}.org/${P/-}.tar.gz";
+S="${WORKDIR}/${P/-}"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="l10n_ja"
+
+BDEPEND="
+       l10n_ja? ( virtual/libiconv )
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.76-direntry.patch"
+       "${FILESDIR}/${PN}-1.80-texinfo-5.patch"
+       "${FILESDIR}/${PN}-1.82-texinfo.patch"
+)
+
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+       sed -i "/(help-dir/,/)))/c\      (help-dir \"${SITEETC}/${PN}\"))" 
"${PN}hlp.el"
+
+       elisp_src_prepare
+}
+
+src_compile() {
+       cd docs
+       makeinfo {${PN},yahtml}e.tex || die
+
+       if use l10n_ja; then
+               iconv -f WINDOWS-31J -t UTF-8 "${PN}j.tex" > "${PN}-ja.texi" || 
die
+               iconv -f WINDOWS-31J -t UTF-8 yahtmlj.tex  > yahtml-ja.texi  || 
die
+               makeinfo {${PN},yahtml}-ja.texi || die
+       fi
+}
+
+src_install() {
+       elisp-install "${PN}" ./*.el
+       elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+       insinto "${SITEETC}/${PN}"
+       doins help/YATEXHLP.eng
+       doinfo docs/{${PN},yahtml}.info*
+       dodoc install docs/*.eng
+
+       if use l10n_ja; then
+               doins help/YATEXHLP.jp
+               doinfo docs/{${PN},yahtml}-ja.info*
+               dodoc 00readme "${PN}.new" docs/{htmlqa,qanda,*.doc}
+       fi
+}

Reply via email to