1 |
commit: a519dae3b4947a882fa9b710e082ef59f2ca9779 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 30 22:41:52 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 30 23:05:14 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a519dae3 |
7 |
|
8 |
sys-apps/texinfo: add 7.0.1 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
sys-apps/texinfo/Manifest | 1 + |
13 |
sys-apps/texinfo/texinfo-7.0.1.ebuild | 62 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 63 insertions(+) |
15 |
|
16 |
diff --git a/sys-apps/texinfo/Manifest b/sys-apps/texinfo/Manifest |
17 |
index 0c190af6ce28..6da8c34c2a1c 100644 |
18 |
--- a/sys-apps/texinfo/Manifest |
19 |
+++ b/sys-apps/texinfo/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST texinfo-6.8.tar.xz 4961528 BLAKE2B 0256dac5ba9c7f171c970644907b763f7a88fd9995111244df0458591aed1a0fe94c76045dde69f9138d65d6f780aae6869bbbc013f58e04ae7c62456b222bbb SHA512 0ff9290b14e4d83e32b889cfa24e6d065f98b2a764daf6b92c6c895fddbb35258398da6257c113220d5a4d886f7b54b09c4b117ca5eacfee6797f9bffde0f909 |
22 |
+DIST texinfo-7.0.1.tar.xz 4890348 BLAKE2B 9d61722e7ff8a71e05770552050cc861d778b9faa95f801e40d4353601a5692f01ad8e794dfb0e7b5b29efa2c701de4a76505732a806b0303b5c1fe0599816f1 SHA512 8e1616341fbbfe0cd90bd1b0452874c75b99d88dffe5f88c53fdc32f00d67c07c15c6c774b241e1f7507f0347314737e533854939c3be6334ca9feb9cd049009 |
23 |
DIST texinfo-7.0.tar.xz 4900752 BLAKE2B a8314e048d14584b07fea5246223ed1387f374eac77d7b8d736b6d13ef3c72b2ef117f251e34e780761fa70a9d138a86f14feb825371022fa35292e39c8dab63 SHA512 99f691515a3c43c76eca7dd78e8a79108ec8d64ebb2a677bb0473e5a67da50ebdf14d9c5428ebe7618f6cba435e6a4c42079ad2f5665371b06585f2fd28d695e |
24 |
|
25 |
diff --git a/sys-apps/texinfo/texinfo-7.0.1.ebuild b/sys-apps/texinfo/texinfo-7.0.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..9669d1502f2e |
28 |
--- /dev/null |
29 |
+++ b/sys-apps/texinfo/texinfo-7.0.1.ebuild |
30 |
@@ -0,0 +1,62 @@ |
31 |
+# Copyright 1999-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+# Note: if your package uses the texi2dvi utility, it must depend on the |
35 |
+# virtual/texi2dvi package to pull in all the right deps. The tool is not |
36 |
+# usable out-of-the-box because it requires the large tex packages. |
37 |
+ |
38 |
+EAPI=8 |
39 |
+ |
40 |
+inherit flag-o-matic toolchain-funcs |
41 |
+ |
42 |
+DESCRIPTION="The GNU info program and utilities" |
43 |
+HOMEPAGE="https://www.gnu.org/software/texinfo/" |
44 |
+ |
45 |
+if [[ $(ver_cut 3) -ge 90 ]] ; then |
46 |
+ SRC_URI="https://alpha.gnu.org/gnu/${PN}/${P}.tar.xz" |
47 |
+else |
48 |
+ SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" |
49 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~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" |
50 |
+fi |
51 |
+ |
52 |
+LICENSE="GPL-3+" |
53 |
+SLOT="0" |
54 |
+IUSE="nls +standalone static" |
55 |
+ |
56 |
+RDEPEND=" |
57 |
+ !=app-text/tetex-2* |
58 |
+ >=sys-libs/ncurses-5.2-r2:= |
59 |
+ virtual/perl-Data-Dumper |
60 |
+ virtual/perl-Encode |
61 |
+ standalone? ( >=dev-lang/perl-5.8.1 ) |
62 |
+ !standalone? ( >=dev-lang/perl-5.8.1:= ) |
63 |
+ nls? ( virtual/libintl ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND}" |
66 |
+BDEPEND="nls? ( >=sys-devel/gettext-0.19.6 )" |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ default |
70 |
+ |
71 |
+ if use prefix ; then |
72 |
+ sed -i -e '1c\#!/usr/bin/env sh' util/texi2dvi util/texi2pdf || die |
73 |
+ touch doc/{texi2dvi,texi2pdf,pdftexi2dvi}.1 |
74 |
+ fi |
75 |
+} |
76 |
+ |
77 |
+src_configure() { |
78 |
+ # Respect compiler and CPPFLAGS/CFLAGS/LDFLAGS for Perl extensions |
79 |
+ # bug #622576 |
80 |
+ local -x PERL_EXT_CC="$(tc-getCC)" PERL_EXT_CPPFLAGS="${CPPFLAGS}" |
81 |
+ local -x PERL_EXT_CFLAGS="${CFLAGS}" PERL_EXT_LDFLAGS="${LDFLAGS}" |
82 |
+ |
83 |
+ use static && append-ldflags -static |
84 |
+ |
85 |
+ local myeconfargs=( |
86 |
+ --cache-file="${S}"/config.cache |
87 |
+ $(use_enable nls) |
88 |
+ $(use_enable !standalone perl-xs) |
89 |
+ ) |
90 |
+ |
91 |
+ econf "${myeconfargs[@]}" |
92 |
+} |