1 |
commit: 8b11eb792408b08525aea810539d806f330a4060 |
2 |
Author: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> |
3 |
AuthorDate: Fri Feb 18 11:08:50 2022 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 21 14:01:16 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b11eb79 |
7 |
|
8 |
www-client/w3m: snapshot version bump 0.5.3_p20220216 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/833171 |
11 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
12 |
Signed-off-by: Nickolas Raymond Kaczynski <nrk <AT> disroot.org> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/24208 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
www-client/w3m/Manifest | 1 + |
17 |
www-client/w3m/w3m-0.5.3_p20220216.ebuild | 130 ++++++++++++++++++++++++++++++ |
18 |
2 files changed, 131 insertions(+) |
19 |
|
20 |
diff --git a/www-client/w3m/Manifest b/www-client/w3m/Manifest |
21 |
index 5a4035f86651..349c85c41371 100644 |
22 |
--- a/www-client/w3m/Manifest |
23 |
+++ b/www-client/w3m/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST w3m-0.5.3+git20210102.tar.gz 2189272 BLAKE2B f82c13c26b1c83cda90655abdcf30422e257a5c2e48c32d5636a70f895078d11a95fc6ce623fa94624bb2a1125b71e7654d872dfb91fd86c4290278de3cf88f8 SHA512 357eeecf0f63bfd5174c9670533882323879657bdecefd0758d853ca645e368331bfdf91e99c0917f19829e184ce892ecdc99bd865851707d93baccfb4b97632 |
26 |
+DIST w3m-0.5.3_p20220216.tar.gz 2306347 BLAKE2B d312aee587d76d077ddae27c97a20957083785a269080ec2a4896f2bd9b4c90cc356a3b6d6c9a435458cf4c16b749d0b1e1c403f7bc5028a0b463c352f75ad2a SHA512 2b661eca0f1e2ff0d7646ce062cc736a30950b41e3e056061d0d65feb869fbea8f6668255c403b460d6b2786a4fd24be6e98d9eb99b8948b3113f7d4ec866a12 |
27 |
|
28 |
diff --git a/www-client/w3m/w3m-0.5.3_p20220216.ebuild b/www-client/w3m/w3m-0.5.3_p20220216.ebuild |
29 |
new file mode 100644 |
30 |
index 000000000000..eaeae57ebb6a |
31 |
--- /dev/null |
32 |
+++ b/www-client/w3m/w3m-0.5.3_p20220216.ebuild |
33 |
@@ -0,0 +1,130 @@ |
34 |
+# Copyright 1999-2022 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=7 |
38 |
+ |
39 |
+inherit autotools prefix toolchain-funcs |
40 |
+ |
41 |
+COMMIT="53d323453d78a6d449f9957586c33dddfffa5616" |
42 |
+DESCRIPTION="Text based WWW browser, supports tables and frames" |
43 |
+HOMEPAGE="https://github.com/tats/w3m" |
44 |
+SRC_URI="https://github.com/tats/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/${PN}-${COMMIT}" |
46 |
+ |
47 |
+LICENSE="w3m" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="fbcon gdk-pixbuf gpm imlib l10n_ja lynxkeymap nls nntp ssl unicode X xface" |
51 |
+ |
52 |
+REQUIRED_USE=" |
53 |
+ fbcon? ( ?? ( gdk-pixbuf imlib ) ) |
54 |
+ X? ( ?? ( gdk-pixbuf imlib ) ) |
55 |
+" |
56 |
+ |
57 |
+RDEPEND=" |
58 |
+ dev-libs/boehm-gc:= |
59 |
+ sys-libs/ncurses:0= |
60 |
+ sys-libs/zlib |
61 |
+ gdk-pixbuf? ( |
62 |
+ x11-libs/gdk-pixbuf |
63 |
+ X? ( x11-libs/gdk-pixbuf-xlib ) |
64 |
+ ) |
65 |
+ !gdk-pixbuf? ( |
66 |
+ imlib? ( media-libs/imlib2[X?] ) |
67 |
+ ) |
68 |
+ gpm? ( sys-libs/gpm ) |
69 |
+ ssl? ( dev-libs/openssl:0= ) |
70 |
+ X? ( |
71 |
+ x11-libs/libXdmcp |
72 |
+ x11-libs/libXext |
73 |
+ ) |
74 |
+ xface? ( media-libs/compface ) |
75 |
+" |
76 |
+DEPEND="${RDEPEND}" |
77 |
+BDEPEND=" |
78 |
+ virtual/pkgconfig |
79 |
+" |
80 |
+ |
81 |
+PATCHES=( |
82 |
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-restore-gettext-macro.patch |
83 |
+ "${FILESDIR}"/${PN}-0.5.3_p20210102-fix-configure-gettext.patch |
84 |
+) |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ default |
88 |
+ |
89 |
+ sed -i "/^AR=/s:ar:$(tc-getAR):" {.,${PN}img,libwc}/Makefile.in || die |
90 |
+ hprefixify acinclude.m4 |
91 |
+ |
92 |
+ AT_NOEAUTOHEADER="yes" AT_M4DIR="m4" eautoreconf |
93 |
+} |
94 |
+ |
95 |
+src_configure() { |
96 |
+ local myconf=() |
97 |
+ local image imagelib |
98 |
+ |
99 |
+ if use gdk-pixbuf ; then |
100 |
+ imagelib="gtk3" |
101 |
+ elif use imlib ; then |
102 |
+ imagelib="imlib2" |
103 |
+ fi |
104 |
+ if [[ -n "${imagelib}" ]] ; then |
105 |
+ use X && image="${image}${image:+,}x11" |
106 |
+ use fbcon && image="${image}${image:+,}fb" |
107 |
+ fi |
108 |
+ # emacs-w3m doesn't like "--enable-m17n --disable-unicode," |
109 |
+ # so we better enable or disable both. Default to enable |
110 |
+ # m17n and unicode, see bug #47046. |
111 |
+ if use l10n_ja ; then |
112 |
+ myconf+=( --enable-japanese=$(usex unicode U E) ) |
113 |
+ else |
114 |
+ myconf+=( --with-charset=$(usex unicode UTF-8 US-ASCII) ) |
115 |
+ fi |
116 |
+ # lynxkeymap IUSE flag. bug #49397 |
117 |
+ myconf+=( --enable-keymap=$(usex lynxkeymap lynx ${PN}) ) |
118 |
+ |
119 |
+ econf \ |
120 |
+ $(use_enable gpm mouse) \ |
121 |
+ $(use_enable nls) \ |
122 |
+ $(use_enable nntp) \ |
123 |
+ $(use_enable ssl digest-auth) \ |
124 |
+ $(use_enable xface) \ |
125 |
+ $(use_with ssl) \ |
126 |
+ --enable-image=${image:-no} \ |
127 |
+ --enable-m17n \ |
128 |
+ --enable-unicode \ |
129 |
+ --with-browser="${EPREFIX}/usr/bin/xdg-open" \ |
130 |
+ --with-editor="${EPREFIX}/usr/bin/vi" \ |
131 |
+ --with-imagelib="${imagelib:-no}" \ |
132 |
+ --with-mailer="${EPREFIX}/bin/mail" \ |
133 |
+ --without-migemo \ |
134 |
+ --with-termlib=yes \ |
135 |
+ "${myconf[@]}" |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ default |
140 |
+ |
141 |
+ insinto /etc/${PN} |
142 |
+ newins "${FILESDIR}"/${PN}.mailcap mailcap |
143 |
+ |
144 |
+ insinto /usr/share/${PN}/Bonus |
145 |
+ doins Bonus/{*.{cgi,rb},html*,makeref} |
146 |
+ |
147 |
+ docinto en |
148 |
+ dodoc doc/{HISTORY,README,keymap,menu}* |
149 |
+ newdoc Bonus/README.eng README.Bonus |
150 |
+ docinto html/en |
151 |
+ dodoc doc/*.html |
152 |
+ |
153 |
+ docinto de |
154 |
+ dodoc doc-de/README* |
155 |
+ docinto html/de |
156 |
+ dodoc doc-de/*.html |
157 |
+ |
158 |
+ docinto ja |
159 |
+ dodoc doc-jp/{HISTORY,README,keymap,menu}* |
160 |
+ newdoc Bonus/README README.Bonus |
161 |
+ docinto html/ja |
162 |
+ dodoc doc-jp/*.html |
163 |
+} |