summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2017-10-14 10:13:40 -0400
committerPatrice Clement <monsieurp@gentoo.org>2017-10-22 18:55:15 +0200
commite74771aae2025f70858d6ffb6e9578737170d925 (patch)
tree36c97721257a4a46acb3d165f23ece3143ff8428 /www-client
parentwww-client/elinks: remove gc support. (diff)
downloadgentoo-e74771aae2025f70858d6ffb6e9578737170d925.tar.gz
gentoo-e74771aae2025f70858d6ffb6e9578737170d925.tar.bz2
gentoo-e74771aae2025f70858d6ffb6e9578737170d925.zip
www-client/elinks: make brotli support configurable.
Diffstat (limited to 'www-client')
-rw-r--r--www-client/elinks/elinks-9999.ebuild4
-rw-r--r--www-client/elinks/metadata.xml1
2 files changed, 4 insertions, 1 deletions
diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild
index 1b01281c4f4a..ca4b6b2466cc 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-9999.ebuild
@@ -16,12 +16,13 @@ SRC_URI="https://dev.gentoo.org/~spock/portage/distfiles/elinks-0.10.4.conf.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=""
-IUSE="bittorrent bzip2 debug finger ftp gopher gpm guile idn ipv6
+IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm guile idn ipv6
javascript libressl lua +mouse nls nntp perl ruby samba ssl tre unicode X xml zlib"
RESTRICT="test"
DEPEND="
${PYTHON_DEPS}
+ brotli? ( app-arch/brotli )
bzip2? ( >=app-arch/bzip2-1.0.2 )
ssl? (
!libressl? ( dev-libs/openssl:0= )
@@ -94,6 +95,7 @@ src_configure() {
--enable-html-highlight \
$(use_with gpm) \
$(use_with zlib) \
+ $(use_with brotli) \
$(use_with bzip2 bzlib) \
$(use_with X x) \
$(use_with lua) \
diff --git a/www-client/elinks/metadata.xml b/www-client/elinks/metadata.xml
index 3955943373dd..59cbadb74eb9 100644
--- a/www-client/elinks/metadata.xml
+++ b/www-client/elinks/metadata.xml
@@ -4,6 +4,7 @@
<!-- maintainer-needed -->
<use>
<flag name="bittorrent">Enable support for the BitTorrent protocol</flag>
+ <flag name="brotli">Enable support for brotli compression</flag>
<flag name="finger">Enable support for the finger protocol</flag>
<flag name="gc">Enable garbage collection support via <pkg>dev-libs/boehm-gc</pkg></flag>
<flag name="gopher">Enable support for the gopher protocol</flag>