www-client/elinks: make brotli support configurable.
authorFelix Janda <felix.janda@posteo.de>
Sat, 14 Oct 2017 14:13:40 +0000 (10:13 -0400)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 22 Oct 2017 16:55:15 +0000 (18:55 +0200)
www-client/elinks/elinks-9999.ebuild
www-client/elinks/metadata.xml

index 1b01281c4f4a0a708c445d60763453930a16ed2f..ca4b6b2466cca3062a3e72934ca16826ecd5dd8b 100644 (file)
@@ -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) \
index 3955943373dd66b3ec000ed5ea6ce07dd276f2f0..59cbadb74eb9a6cb453ab897fafb02d6789362e3 100644 (file)
@@ -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>