1 |
commit: e74771aae2025f70858d6ffb6e9578737170d925 |
2 |
Author: Felix Janda <felix.janda <AT> posteo <DOT> de> |
3 |
AuthorDate: Sat Oct 14 14:13:40 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 22 16:55:15 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e74771aa |
7 |
|
8 |
www-client/elinks: make brotli support configurable. |
9 |
|
10 |
www-client/elinks/elinks-9999.ebuild | 4 +++- |
11 |
www-client/elinks/metadata.xml | 1 + |
12 |
2 files changed, 4 insertions(+), 1 deletion(-) |
13 |
|
14 |
diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild |
15 |
index 1b01281c4f4..ca4b6b2466c 100644 |
16 |
--- a/www-client/elinks/elinks-9999.ebuild |
17 |
+++ b/www-client/elinks/elinks-9999.ebuild |
18 |
@@ -16,12 +16,13 @@ SRC_URI="https://dev.gentoo.org/~spock/portage/distfiles/elinks-0.10.4.conf.bz2" |
19 |
LICENSE="GPL-2" |
20 |
SLOT="0" |
21 |
KEYWORDS="" |
22 |
-IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6 |
23 |
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm guile idn ipv6 |
24 |
javascript libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib" |
25 |
RESTRICT="test" |
26 |
|
27 |
DEPEND=" |
28 |
${PYTHON_DEPS} |
29 |
+ brotli? ( app-arch/brotli ) |
30 |
bzip2? ( >=app-arch/bzip2-1.0.2 ) |
31 |
ssl? ( |
32 |
!libressl? ( dev-libs/openssl:0= ) |
33 |
@@ -94,6 +95,7 @@ src_configure() { |
34 |
--enable-html-highlight \ |
35 |
$(use_with gpm) \ |
36 |
$(use_with zlib) \ |
37 |
+ $(use_with brotli) \ |
38 |
$(use_with bzip2 bzlib) \ |
39 |
$(use_with X x) \ |
40 |
$(use_with lua) \ |
41 |
|
42 |
diff --git a/www-client/elinks/metadata.xml b/www-client/elinks/metadata.xml |
43 |
index 3955943373d..59cbadb74eb 100644 |
44 |
--- a/www-client/elinks/metadata.xml |
45 |
+++ b/www-client/elinks/metadata.xml |
46 |
@@ -4,6 +4,7 @@ |
47 |
<!-- maintainer-needed --> |
48 |
<use> |
49 |
<flag name="bittorrent">Enable support for the BitTorrent protocol</flag> |
50 |
+ <flag name="brotli">Enable support for brotli compression</flag> |
51 |
<flag name="finger">Enable support for the finger protocol</flag> |
52 |
<flag name="gc">Enable garbage collection support via <pkg>dev-libs/boehm-gc</pkg></flag> |
53 |
<flag name="gopher">Enable support for the gopher protocol</flag> |