1 |
commit: ad9db2b262b939a552911b304eb95e53710c0bde |
2 |
Author: Felix Janda <felix.janda <AT> posteo <DOT> de> |
3 |
AuthorDate: Sun Feb 25 22:27:31 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 3 14:45:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad9db2b2 |
7 |
|
8 |
www-client/elinks: add snapshotted version |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/7281 |
11 |
|
12 |
www-client/elinks/Manifest | 1 + |
13 |
.../elinks/elinks-0.13_pre_pre20180225.ebuild | 138 +++++++++++++++++++++ |
14 |
2 files changed, 139 insertions(+) |
15 |
|
16 |
diff --git a/www-client/elinks/Manifest b/www-client/elinks/Manifest |
17 |
index fbddd0b57d0..3879eede73c 100644 |
18 |
--- a/www-client/elinks/Manifest |
19 |
+++ b/www-client/elinks/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST elinks-0.10.4.conf.bz2 5370 BLAKE2B a8058021060c3e0ca1bd040dd34a3155fa17bcf6a78d21dbb8a868d9e6b34e3396b59725106191002898c47b7c651e989757339e94069292757c311f13a32229 SHA512 defdc743d78f9620eac60f4cfc1c07ecc6d18d1d771899b6eec184bea818d612ef110219127284a5b7c53ca07746fc90fbeb97344b3aef7f1f894ed839443296 |
22 |
DIST elinks-0.12_pre5-js185-patches.tar.bz2 13820 BLAKE2B b850c66cc74d59c6cfb0c7c6ebaaddfe0706e8cdcc14b1df5232ba2b3c75bf632e3b3e398b200876d7e594b122c6b27227ca92729129ef955174b05e7f0e6a06 SHA512 1552aeacdecb0a2db357402e0474d6b4810c767609d1d399b3350a4bcdc21ba9c0bde5a5d0bffd1d7b27d41ac46e3e85ae2527d715a1645a2dd51ab14b8eab3c |
23 |
DIST elinks-0.12pre6.tar.bz2 2854500 BLAKE2B 3d91c2a4b03cf77a2a86131cfb5339a40c6e89c8aaab7293d5b7f6861f0b7647b1951f2bc15814e342c926a154707162a7814981cdc729329dfb04627133f3bf SHA512 bff70faafea7c4739695a7fad8f659109894b318588f5a035a5594a6053238789259ce6067c2f5cb97448f138db143adebb23f84bf689bea209ba37573484b7f |
24 |
+DIST elinks-0.13_pre_pre20180225.tar.gz 3518990 BLAKE2B 89c95b1d6e438975f5711f2e83960c90ced451953f395f3d73eeca40e6187b423b3c7d50b065c11673ee9fe03e8ee99a4c7642ebc01eea888c417645a0e53d7d SHA512 3f817768766e6dd6df042f7512163c5de70766e4d565fc081f4f755f7f7958d5487b9ff2ea29187a5cc813dc0841d75d440087fbdaf99f73d2a269dca70d5725 |
25 |
|
26 |
diff --git a/www-client/elinks/elinks-0.13_pre_pre20180225.ebuild b/www-client/elinks/elinks-0.13_pre_pre20180225.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..a0b8366f121 |
29 |
--- /dev/null |
30 |
+++ b/www-client/elinks/elinks-0.13_pre_pre20180225.ebuild |
31 |
@@ -0,0 +1,138 @@ |
32 |
+# Copyright 1999-2018 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+PYTHON_REQ_USE="threads" |
38 |
+inherit autotools python-any-r1 |
39 |
+ |
40 |
+EGIT_COMMIT="0dd3aaabe61fbc5ed0d9a74915678d11d00c2a1c" |
41 |
+ |
42 |
+DESCRIPTION="Advanced and well-established text-mode web browser" |
43 |
+HOMEPAGE="http://elinks.or.cz/" |
44 |
+SRC_URI="https://github.com/rkd77/felinks/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
45 |
+S="${WORKDIR}/felinks-${EGIT_COMMIT}" |
46 |
+ |
47 |
+LICENSE="GPL-2" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
50 |
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm guile idn ipv6 |
51 |
+ javascript libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib" |
52 |
+ |
53 |
+DEPEND=" |
54 |
+ ${PYTHON_DEPS} |
55 |
+ brotli? ( app-arch/brotli ) |
56 |
+ bzip2? ( >=app-arch/bzip2-1.0.2 ) |
57 |
+ gpm? ( >=sys-libs/ncurses-5.2:0= >=sys-libs/gpm-1.20.0-r5 ) |
58 |
+ guile? ( >=dev-scheme/guile-1.6.4-r1[deprecated] ) |
59 |
+ idn? ( net-dns/libidn ) |
60 |
+ javascript? ( >=dev-lang/spidermonkey-1.8.5:0= ) |
61 |
+ lua? ( >=dev-lang/lua-5:0= ) |
62 |
+ perl? ( dev-lang/perl:= ) |
63 |
+ ruby? ( dev-lang/ruby:* dev-ruby/rubygems:* ) |
64 |
+ samba? ( net-fs/samba ) |
65 |
+ ssl? ( |
66 |
+ !libressl? ( dev-libs/openssl:0= ) |
67 |
+ libressl? ( dev-libs/libressl:0= ) |
68 |
+ ) |
69 |
+ tre? ( dev-libs/tre ) |
70 |
+ X? ( x11-libs/libX11 x11-libs/libXt ) |
71 |
+ xml? ( >=dev-libs/expat-1.95.4 ) |
72 |
+ zlib? ( >=sys-libs/zlib-1.1.4 )" |
73 |
+RDEPEND="${DEPEND}" |
74 |
+ |
75 |
+PATCHES=( |
76 |
+ "${FILESDIR}"/${PN}-9999-parallel-make.patch |
77 |
+ ) |
78 |
+ |
79 |
+src_prepare() { |
80 |
+ default |
81 |
+ |
82 |
+ sed -i -e 's/-Werror//' configure* || die |
83 |
+ |
84 |
+ eautoreconf |
85 |
+} |
86 |
+ |
87 |
+src_configure() { |
88 |
+ local myconf=( |
89 |
+ --sysconfdir="${EPREFIX}"/etc/elinks |
90 |
+ --enable-leds |
91 |
+ --enable-88-colors |
92 |
+ --enable-256-colors |
93 |
+ --enable-true-color |
94 |
+ --enable-html-highlight |
95 |
+ $(use_with gpm) |
96 |
+ $(use_with brotli) |
97 |
+ $(use_with bzip2 bzlib) |
98 |
+ $(use_with guile) |
99 |
+ $(use_with idn) |
100 |
+ $(use_with javascript spidermonkey) |
101 |
+ $(use_with lua) |
102 |
+ $(use_with perl) |
103 |
+ $(use_with ruby) |
104 |
+ $(use_with tre) |
105 |
+ $(use_with X x) |
106 |
+ $(use_with zlib) |
107 |
+ $(use_enable bittorrent) |
108 |
+ $(use_enable finger) |
109 |
+ $(use_enable ftp) |
110 |
+ $(use_enable gopher) |
111 |
+ $(use_enable ipv6) |
112 |
+ $(use_enable mouse) |
113 |
+ $(use_enable nls) |
114 |
+ $(use_enable nntp) |
115 |
+ $(use_enable samba smb) |
116 |
+ $(use_enable xml xbel) |
117 |
+ ) |
118 |
+ |
119 |
+ if use debug ; then |
120 |
+ myconf+=( --enable-debug ) |
121 |
+ else |
122 |
+ myconf+=( --enable-fastmem ) |
123 |
+ fi |
124 |
+ |
125 |
+ # NOTE about GNUTSL SSL support (from the README -- 25/12/2002) |
126 |
+ # As GNUTLS is not yet 100% stable and its support in ELinks is not so well |
127 |
+ # tested yet, it's recommended for users to give a strong preference to OpenSSL whenever possible. |
128 |
+ if use ssl ; then |
129 |
+ myconf+=( --with-openssl="${EPREFIX}"/usr ) |
130 |
+ else |
131 |
+ myconf+=( --without-openssl --without-gnutls ) |
132 |
+ fi |
133 |
+ |
134 |
+ econf "${myconf[@]}" |
135 |
+} |
136 |
+ |
137 |
+src_compile() { |
138 |
+ emake V=1 |
139 |
+} |
140 |
+ |
141 |
+src_install() { |
142 |
+ emake V=1 DESTDIR="${D}" install |
143 |
+ |
144 |
+ insinto /etc/elinks |
145 |
+ newins contrib/keybind-full.conf keybind-full.sample |
146 |
+ newins contrib/keybind.conf keybind.conf.sample |
147 |
+ |
148 |
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README SITES THANKS TODO doc/*.* |
149 |
+ docinto contrib ; dodoc contrib/{README,colws.diff,elinks[-.]vim*} |
150 |
+ docinto contrib/lua ; dodoc contrib/lua/{*.lua,elinks-remote} |
151 |
+ docinto contrib/conv ; dodoc contrib/conv/*.* |
152 |
+ docinto contrib/guile ; dodoc contrib/guile/*.scm |
153 |
+ |
154 |
+ # elinks uses an internal copy of gettext which ships files that may |
155 |
+ # collide with the system's gettext (https://bugs.gentoo.org/635090) |
156 |
+ rm -f "${ED}"/usr/{share/locale/locale,lib/charset}.alias || die |
157 |
+} |
158 |
+ |
159 |
+pkg_postinst() { |
160 |
+ elog "You may want to convert your html.cfg and links.cfg of" |
161 |
+ elog "Links or older ELinks versions to the new ELinks elinks.conf" |
162 |
+ elog "using /usr/share/doc/${PF}/contrib/conv/conf-links2elinks.pl" |
163 |
+ elog |
164 |
+ elog "Please have a look at /etc/elinks/keybind-full.sample and" |
165 |
+ elog "/etc/elinks/keybind.conf.sample for some bindings examples." |
166 |
+ elog |
167 |
+ elog "You will have to set your TERM variable to 'xterm-256color'" |
168 |
+ elog "to be able to use 256 colors in elinks." |
169 |
+} |