commit:     a7ce69f4e6cb2943d360308d5a756467a7070809
Author:     Matthew Smith <matthew <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  8 16:24:56 2023 +0000
Commit:     Matthew Smith <matthew <AT> gentoo <DOT> org>
CommitDate: Wed Mar  8 16:25:32 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7ce69f4

net-irc/weechat: sync live ebuild

Signed-off-by: Matthew Smith <matthew <AT> gentoo.org>

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

diff --git a/net-irc/weechat/weechat-9999.ebuild 
b/net-irc/weechat/weechat-9999.ebuild
index 12b8e8a9bda7..a10572d3f909 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -32,9 +32,10 @@ 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 man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} 
${NETWORKS}"
+IUSE="doc enchant man nls selinux test ${SCRIPT_LANGS} ${PLUGINS} 
${INTERFACES} ${NETWORKS}"
 
 REQUIRED_USE="
+       enchant? ( spell )
        lua? ( ${LUA_REQUIRED_USE} )
        python? ( ${PYTHON_REQUIRED_USE} )
        test? ( nls )
@@ -61,7 +62,10 @@ RDEPEND="
                )
        )
        selinux? ( sec-policy/selinux-irc )
-       spell? ( app-text/aspell )
+       spell? (
+               enchant? ( app-text/enchant:* )
+               !enchant? ( app-text/aspell )
+       )
        tcl? ( >=dev-lang/tcl-8.4.15:0= )
 "
 
@@ -136,6 +140,7 @@ src_configure() {
                -DENABLE_BUFLIST=$(usex buflist)
                -DENABLE_CHARSET=$(usex charset)
                -DENABLE_DOC=$(usex doc)
+               -DENABLE_ENCHANT=$(usex enchant)
                -DENABLE_EXEC=$(usex exec)
                -DENABLE_FIFO=$(usex fifo)
                -DENABLE_FSET=$(usex fset)

Reply via email to