commit:     f301438c7822fcdff251e82b743ee332766c0060
Author:     Leonardo Hernández Hernández <leohdz172 <AT> proton <DOT> me>
AuthorDate: Sat Oct  7 19:31:26 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Oct 18 12:50:44 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f301438c

net-irc/weechat: add zstd USE-flag

it is optional[1] now

[1]: 
https://github.com/weechat/weechat/commit/6bd0c63192e7acefbb7538a22aa061912cfc06f7

Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> proton.me>
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-irc/weechat/weechat-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-irc/weechat/weechat-9999.ebuild 
b/net-irc/weechat/weechat-9999.ebuild
index 90e2eb2edc62..4983e81b236e 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -32,7 +32,7 @@ PLUGINS="+alias +buflist +charset +exec +fifo +fset +logger 
+relay +scripts +spe
 # dev-lang/php eclass support is lacking, php plugins don't work. bug #705702
 SCRIPT_LANGS="guile lua +perl +python ruby tcl"
 LANGS=" cs de es fr it ja pl ru"
-IUSE="doc enchant man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} 
${INTERFACES} ${NETWORKS}"
+IUSE="doc enchant man nls selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} 
${INTERFACES} ${NETWORKS}"
 
 REQUIRED_USE="
        enchant? ( spell )
@@ -42,7 +42,6 @@ REQUIRED_USE="
 "
 
 RDEPEND="
-       app-arch/zstd:=
        dev-libs/libgcrypt:0=
        net-libs/gnutls:=
        sys-libs/ncurses:0=
@@ -69,6 +68,7 @@ RDEPEND="
                !enchant? ( app-text/aspell )
        )
        tcl? ( >=dev-lang/tcl-8.4.15:0= )
+       zstd? ( app-arch/zstd:= )
 "
 
 DEPEND="${RDEPEND}
@@ -172,6 +172,7 @@ src_configure() {
                -DENABLE_TRIGGER=$(usex trigger)
                -DENABLE_TYPING=$(usex typing)
                -DENABLE_XFER=$(usex xfer)
+               -DENABLE_ZSTD=$(usex zstd)
        )
        cmake_src_configure
 }

Reply via email to