1 |
commit: 2bc6b8d63e6c3f6d778c5b5f5cd6c5ecb27b0374 |
2 |
Author: Felix Janda <felix.janda <AT> posteo <DOT> de> |
3 |
AuthorDate: Sun Oct 25 01:12:01 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 27 21:16:31 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bc6b8d6 |
7 |
|
8 |
www-client/elinks: bump to 0.13.5 |
9 |
|
10 |
Signed-off-by: Felix Janda <felix.janda <AT> posteo.de> |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
www-client/elinks/Manifest | 1 + |
14 |
www-client/elinks/elinks-0.13.5.ebuild | 146 +++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 147 insertions(+) |
16 |
|
17 |
diff --git a/www-client/elinks/Manifest b/www-client/elinks/Manifest |
18 |
index 8a51cb8261c..102cce4b1a7 100644 |
19 |
--- a/www-client/elinks/Manifest |
20 |
+++ b/www-client/elinks/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST elinks-0.13.4.tar.gz 3594672 BLAKE2B 67a44c05a24c200f7b472c6e7c3d0f0966c820ff6d7837ec2cf60e985f5b64cdd63f67103fcc897c293867174cf7162178c2b4af2ec2fdc261b130907cd7f8f7 SHA512 028ed8e6c00de5c65cde80b2e2c42a6568696d277dc8e5645130377d7bb5a3f6adacbea626b6e19ae3e756eb40b4dca5d642839d57943c1a04eb1fe65aa98fe6 |
23 |
+DIST elinks-0.13.5.tar.gz 3600196 BLAKE2B e1e51674b5630d6dab3de3030aee671876750fc97808bf4dca50b505fa2c31af669c4c3773b3830186fb98acda5c692ff1902c6e1240251ea699103a70bb4e43 SHA512 786f6142c03bca4a47a1043ca4f9c36aab431d192eb13bcad14c1da391f5746779a8f65e53eb781dff79f619ceb3ed30ef939eae8d81f64251fad9b803c0ae7b |
24 |
|
25 |
diff --git a/www-client/elinks/elinks-0.13.5.ebuild b/www-client/elinks/elinks-0.13.5.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..278cf123dff |
28 |
--- /dev/null |
29 |
+++ b/www-client/elinks/elinks-0.13.5.ebuild |
30 |
@@ -0,0 +1,146 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{6,7,8,9} ) |
37 |
+ |
38 |
+inherit autotools python-any-r1 |
39 |
+ |
40 |
+DESCRIPTION="Advanced and well-established text-mode web browser" |
41 |
+HOMEPAGE="http://elinks.or.cz/" |
42 |
+SRC_URI="https://github.com/rkd77/felinks/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+S="${WORKDIR}/felinks-${PV}" |
44 |
+ |
45 |
+LICENSE="GPL-2" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
48 |
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gnutls gpm guile idn ipv6 |
49 |
+ libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib zstd" |
50 |
+ |
51 |
+BDEPEND="virtual/pkgconfig" |
52 |
+RDEPEND=" |
53 |
+ brotli? ( app-arch/brotli:= ) |
54 |
+ bzip2? ( >=app-arch/bzip2-1.0.2 ) |
55 |
+ gpm? ( >=sys-libs/ncurses-5.2:0= >=sys-libs/gpm-1.20.0-r5 ) |
56 |
+ guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] ) |
57 |
+ idn? ( net-dns/libidn:= ) |
58 |
+ lua? ( >=dev-lang/lua-5:0= ) |
59 |
+ perl? ( dev-lang/perl:= ) |
60 |
+ ruby? ( dev-lang/ruby:* dev-ruby/rubygems:* ) |
61 |
+ samba? ( net-fs/samba ) |
62 |
+ ssl? ( |
63 |
+ !gnutls? ( |
64 |
+ !libressl? ( dev-libs/openssl:0= ) |
65 |
+ libressl? ( dev-libs/libressl:0= ) |
66 |
+ ) |
67 |
+ gnutls? ( net-libs/gnutls:= ) |
68 |
+ ) |
69 |
+ tre? ( dev-libs/tre ) |
70 |
+ X? ( |
71 |
+ x11-libs/libX11 |
72 |
+ x11-libs/libXt |
73 |
+ ) |
74 |
+ xml? ( >=dev-libs/expat-1.95.4 ) |
75 |
+ zlib? ( >=sys-libs/zlib-1.1.4 ) |
76 |
+ zstd? ( app-arch/zstd:= )" |
77 |
+DEPEND="${RDEPEND} |
78 |
+ ${PYTHON_DEPS}" |
79 |
+ |
80 |
+PATCHES=( |
81 |
+ "${FILESDIR}"/${PN}-9999-parallel-make.patch |
82 |
+) |
83 |
+ |
84 |
+src_prepare() { |
85 |
+ default |
86 |
+ |
87 |
+ sed -i -e 's/-Werror//' configure* || die |
88 |
+ |
89 |
+ eautoreconf |
90 |
+} |
91 |
+ |
92 |
+src_configure() { |
93 |
+ local myconf=( |
94 |
+ --sysconfdir="${EPREFIX}"/etc/elinks |
95 |
+ --enable-leds |
96 |
+ --enable-88-colors |
97 |
+ --enable-256-colors |
98 |
+ --enable-true-color |
99 |
+ --enable-html-highlight |
100 |
+ --without-spidermonkey |
101 |
+ $(use_with gpm) |
102 |
+ $(use_with brotli) |
103 |
+ $(use_with bzip2 bzlib) |
104 |
+ $(use_with guile) |
105 |
+ $(use_with idn) |
106 |
+ $(use_with lua luapkg lua) |
107 |
+ $(use_with perl) |
108 |
+ $(use_with ruby) |
109 |
+ $(use_with tre) |
110 |
+ $(use_with X x) |
111 |
+ $(use_with zlib) |
112 |
+ $(use_with zstd) |
113 |
+ $(use_enable bittorrent) |
114 |
+ $(use_enable finger) |
115 |
+ $(use_enable ftp) |
116 |
+ $(use_enable gopher) |
117 |
+ $(use_enable ipv6) |
118 |
+ $(use_enable mouse) |
119 |
+ $(use_enable nls) |
120 |
+ $(use_enable nntp) |
121 |
+ $(use_enable samba smb) |
122 |
+ $(use_enable xml xbel) |
123 |
+ ) |
124 |
+ |
125 |
+ if use debug ; then |
126 |
+ myconf+=( --enable-debug ) |
127 |
+ else |
128 |
+ myconf+=( --enable-fastmem ) |
129 |
+ fi |
130 |
+ |
131 |
+ if use ssl ; then |
132 |
+ if use gnutls ; then |
133 |
+ myconf+=( --with-gnutls ) |
134 |
+ else |
135 |
+ myconf+=( --with-openssl="${EPREFIX}"/usr ) |
136 |
+ fi |
137 |
+ else |
138 |
+ myconf+=( --without-openssl --without-gnutls ) |
139 |
+ fi |
140 |
+ |
141 |
+ econf "${myconf[@]}" |
142 |
+} |
143 |
+ |
144 |
+src_compile() { |
145 |
+ emake V=1 |
146 |
+} |
147 |
+ |
148 |
+src_install() { |
149 |
+ emake V=1 DESTDIR="${D}" install |
150 |
+ |
151 |
+ insinto /etc/elinks |
152 |
+ newins contrib/keybind-full.conf keybind-full.sample |
153 |
+ newins contrib/keybind.conf keybind.conf.sample |
154 |
+ |
155 |
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES THANKS TODO doc/*.* |
156 |
+ docinto contrib ; dodoc contrib/{README,colws.diff,elinks[-.]vim*} |
157 |
+ docinto contrib/lua ; dodoc contrib/lua/{*.lua,elinks-remote} |
158 |
+ docinto contrib/conv ; dodoc contrib/conv/*.* |
159 |
+ docinto contrib/guile ; dodoc contrib/guile/*.scm |
160 |
+ |
161 |
+ # elinks uses an internal copy of gettext which ships files that may |
162 |
+ # collide with the system's gettext (https://bugs.gentoo.org/635090) |
163 |
+ rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die |
164 |
+} |
165 |
+ |
166 |
+pkg_postinst() { |
167 |
+ elog "You may want to convert your html.cfg and links.cfg of" |
168 |
+ elog "Links or older ELinks versions to the new ELinks elinks.conf" |
169 |
+ elog "using /usr/share/doc/${PF}/contrib/conv/conf-links2elinks.pl" |
170 |
+ elog |
171 |
+ elog "Please have a look at /etc/elinks/keybind-full.sample and" |
172 |
+ elog "/etc/elinks/keybind.conf.sample for some bindings examples." |
173 |
+ elog |
174 |
+ elog "You will have to set your TERM variable to 'xterm-256color'" |
175 |
+ elog "to be able to use 256 colors in elinks." |
176 |
+} |