net-irc/irssi: sync live ebuild
authorMikle Kolyada <zlogene@gentoo.org>
Tue, 12 Feb 2019 06:56:48 +0000 (09:56 +0300)
committerMikle Kolyada <zlogene@gentoo.org>
Tue, 12 Feb 2019 06:57:30 +0000 (09:57 +0300)
Signed-off-by: Mikle Kolyada <zlogene@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

net-irc/irssi/irssi-9999.ebuild

index 615a7053a1c800884de5cd8f45698dd3c0cdd931..2afd0cb78e537b88097a7dfcafad2f550a8f0b46 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -14,12 +14,14 @@ HOMEPAGE="https://irssi.org/"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="+perl selinux socks5 +proxy libressl"
+IUSE="otr +perl selinux socks5 +proxy libressl"
 
 CDEPEND="sys-libs/ncurses:0=
        >=dev-libs/glib-2.6.0
        !libressl? ( dev-libs/openssl:= )
        libressl? ( dev-libs/libressl:= )
+       otr? ( >=dev-libs/libgcrypt-1.2.0:0=
+                       >=net-libs/libotr-4.1.0 )
        perl? ( dev-lang/perl:= )
        socks5? ( >=net-proxy/dante-1.1.18 )"
 
@@ -49,6 +51,7 @@ src_configure() {
        econf \
                --with-perl-lib=vendor \
                --enable-true-color \
+               $(use_with otr) \
                $(use_with proxy) \
                $(use_with perl) \
                $(use_with socks5 socks)