1 |
commit: 87c9ec0352732419fcb18bdf49334d037f5153e7 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 3 12:44:38 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 3 12:48:38 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87c9ec03 |
7 |
|
8 |
sys-apps/texinfo: Bump to version 6.8 |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
sys-apps/texinfo/Manifest | 1 + |
13 |
sys-apps/texinfo/texinfo-6.8.ebuild | 68 +++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest |
17 |
index 330cba60889..fad5e0194c8 100644 |
18 |
--- a/sys-apps/texinfo/Manifest |
19 |
+++ b/sys-apps/texinfo/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST texinfo-6.7.tar.gz 9027808 BLAKE2B ac9a47ae98f27ae55ea1844c74ead6fba256635a56e7a226a1bbdd9ee9ab33565ff8cc7a874410afe6463741285c8fcfd8ff835ae2802009e2d0758405559140 SHA512 a52aaa2f0113c6f14b3cb94fbf7191770017ff6ce2016292770831279cfbb898c2f7f720adee620e08d9d80a9505df89a689ba0c25e92f6579b28b075f7b8ee2 |
22 |
+DIST texinfo-6.8.tar.gz 10119420 BLAKE2B df9dc1698e7bb4f7c97ba4d44b08631502e3f997b91169ae64161b69701fbb0f85c82295ef6867e716a0addfd7c5677e14079645b167bd74933a0153fee92200 SHA512 f46dfb1c0f324a9c54959a8f256f0dcb8aaa59caccb0f027a5ee39a173b6e51a31a488f9d787707e7aa8401a439b2a01a1f3022dbae24ef377a1c021c1ebeb37 |
23 |
|
24 |
diff --git a/sys-apps/texinfo/texinfo-6.8.ebuild b/sys-apps/texinfo/texinfo-6.8.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..3f25e559213 |
27 |
--- /dev/null |
28 |
+++ b/sys-apps/texinfo/texinfo-6.8.ebuild |
29 |
@@ -0,0 +1,68 @@ |
30 |
+# Copyright 1999-2021 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+# Note: if your package uses the texi2dvi utility, it must depend on the |
34 |
+# virtual/texi2dvi package to pull in all the right deps. The tool is not |
35 |
+# usable out-of-the-box because it requires the large tex packages. |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit flag-o-matic toolchain-funcs |
40 |
+ |
41 |
+DESCRIPTION="The GNU info program and utilities" |
42 |
+HOMEPAGE="https://www.gnu.org/software/texinfo/" |
43 |
+SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="nls +standalone static" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ !=app-text/tetex-2* |
52 |
+ >=sys-libs/ncurses-5.2-r2:0= |
53 |
+ standalone? ( dev-lang/perl ) |
54 |
+ !standalone? ( |
55 |
+ dev-lang/perl:= |
56 |
+ dev-perl/libintl-perl |
57 |
+ dev-perl/Unicode-EastAsianWidth |
58 |
+ dev-perl/Text-Unidecode |
59 |
+ ) |
60 |
+ nls? ( virtual/libintl )" |
61 |
+DEPEND="${RDEPEND}" |
62 |
+BDEPEND="nls? ( >=sys-devel/gettext-0.19.6 )" |
63 |
+ |
64 |
+src_prepare() { |
65 |
+ default |
66 |
+ |
67 |
+ if use prefix ; then |
68 |
+ sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die |
69 |
+ touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions. #622576 |
75 |
+ local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" |
76 |
+ |
77 |
+ use static && append-ldflags -static |
78 |
+ local myeconfargs=( $(use_enable nls) ) |
79 |
+ |
80 |
+ if use standalone ; then |
81 |
+ myeconfargs+=( |
82 |
+ --without-external-libintl-perl |
83 |
+ --without-external-Unicode-EastAsianWidth |
84 |
+ --without-external-Text-Unidecode |
85 |
+ --disable-perl-xs |
86 |
+ ) |
87 |
+ else |
88 |
+ myeconfargs+=( |
89 |
+ --with-external-libintl-perl |
90 |
+ --with-external-Unicode-EastAsianWidth |
91 |
+ --with-external-Text-Unidecode |
92 |
+ --enable-perl-xs |
93 |
+ ) |
94 |
+ fi |
95 |
+ |
96 |
+ econf "${myeconfargs[@]}" |
97 |
+} |