1 |
commit: 9d0415b62abde39ff46ecf06c12f8b2fd0f6499c |
2 |
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 5 12:53:38 2017 +0000 |
4 |
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jun 5 13:02:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d0415b6 |
7 |
|
8 |
dev-libs/ptexenc: bump to texlive 2017 version |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
dev-libs/ptexenc/Manifest | 1 + |
13 |
dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild | 50 +++++++++++++++++++++++++ |
14 |
2 files changed, 51 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/ptexenc/Manifest b/dev-libs/ptexenc/Manifest |
17 |
index 11f25e2bb2a..d0c46fb3642 100644 |
18 |
--- a/dev-libs/ptexenc/Manifest |
19 |
+++ b/dev-libs/ptexenc/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST texlive-20160523-source.tar.xz 45941100 SHA256 a8b32ca47f0a403661a09e202f4567a995beb718c18d8f81ca6d76daa1da21ed SHA512 915fa2f5e2099dd385ef81033db7aafdf09558c0c200fed0748a8a42fd61f69d3eaac9decea334e30981af739dd81061a9b1d6853c7f6d00285fe0be40e26c3e WHIRLPOOL 25d27fb7a7bdb47d40ddf951394e36546b184d71f2e09adb20698bd0f960e54841ddd0313a87510cb2ef43953eb4d9d05d30b88d25d15762dd774575c88fedbe |
22 |
+DIST texlive-20170524-source.tar.xz 63483372 SHA256 0161695304e941334dc0b3b5dabcf8edf46c09b7bc33eea8229b5ead7ccfb2aa SHA512 18c18940992ab94ce22e22ccd4ad798253ea14ac2ab296a10ea5e9a8da9f33989f2e2641b42b564d1d5fb53bd371da3e68726b676d706b469016ad146cd19daa WHIRLPOOL c4edaf427f0249942b36db105a65474e833735d6e9954682fe7e15ab327b26ccafb9174bf806d0b6c629b0f2a6b55e80022af291d9a2f377b82dff4fdec42d3d |
23 |
|
24 |
diff --git a/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild b/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..34c4e3b9067 |
27 |
--- /dev/null |
28 |
+++ b/dev-libs/ptexenc/ptexenc-1.3.5_p20170524.ebuild |
29 |
@@ -0,0 +1,50 @@ |
30 |
+# Copyright 1999-2017 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=5 |
34 |
+ |
35 |
+inherit libtool |
36 |
+ |
37 |
+DESCRIPTION="Library for Japanese pTeX providing a better way of handling character encodings" |
38 |
+HOMEPAGE="http://tutimura.ath.cx/ptexlive/?ptexenc" |
39 |
+SRC_URI="mirror://gentoo/texlive-${PV#*_p}-source.tar.xz" |
40 |
+# http://tutimura.ath.cx/~nob/tex/ptexlive/ptexenc/${P}.tar.xz |
41 |
+ |
42 |
+LICENSE="BSD" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~ppc-macos ~x86-macos" |
45 |
+IUSE="iconv static-libs" |
46 |
+ |
47 |
+DEPEND="iconv? ( virtual/libiconv ) |
48 |
+ dev-libs/kpathsea" |
49 |
+RDEPEND="${DEPEND}" |
50 |
+ |
51 |
+S=${WORKDIR}/texlive-${PV#*_p}-source/texk/${PN} |
52 |
+ |
53 |
+src_prepare() { |
54 |
+ default |
55 |
+ |
56 |
+ # https://bugs.gentoo.org/show_bug.cgi?id=377141 |
57 |
+ sed -i '/^LIBS/s:@LIBS@:@LIBS@ @KPATHSEA_LIBS@:' "${S}"/Makefile.in || die |
58 |
+ |
59 |
+ cd "${WORKDIR}/texlive-${PV#*_p}-source" |
60 |
+ S="${WORKDIR}/texlive-${PV#*_p}-source" elibtoolize #sane .so versionning on gfbsd |
61 |
+} |
62 |
+ |
63 |
+src_configure() { |
64 |
+ econf \ |
65 |
+ --with-system-kpathsea \ |
66 |
+ $(use_enable static-libs static) \ |
67 |
+ $(use_enable iconv kanji-iconv) |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ emake DESTDIR="${D}" install |
72 |
+ find "${D}" -name '*.la' -delete |
73 |
+ |
74 |
+ insinto /usr/include/ptexenc |
75 |
+ doins ptexenc/unicode-jp.h |
76 |
+ use iconv && doins ptexenc/kanjicnv.h |
77 |
+ |
78 |
+ dodoc ChangeLog README |
79 |
+} |