summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Schwartz <eschwartz93@gmail.com>2024-05-05 01:06:31 -0400
committerSam James <sam@gentoo.org>2024-05-05 12:47:13 +0100
commitcbc31bfe00302607bf2d8c0f0920f1e3e798aa60 (patch)
tree911a4ad99e9e259733530a1d240b9685bcf5e571 /net-irc
parentmedia-plugins/x42-plugins: update SRC_URI to use https (diff)
downloadgentoo-cbc31bfe00302607bf2d8c0f0920f1e3e798aa60.tar.gz
gentoo-cbc31bfe00302607bf2d8c0f0920f1e3e798aa60.tar.bz2
gentoo-cbc31bfe00302607bf2d8c0f0920f1e3e798aa60.zip
net-irc/weechat: implement new option in live ebuild
If we don't set this option the build fails. Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/weechat/metadata.xml1
-rw-r--r--net-irc/weechat/weechat-9999.ebuild4
2 files changed, 4 insertions, 1 deletions
diff --git a/net-irc/weechat/metadata.xml b/net-irc/weechat/metadata.xml
index 24a75e8121cd..905904120abb 100644
--- a/net-irc/weechat/metadata.xml
+++ b/net-irc/weechat/metadata.xml
@@ -24,6 +24,7 @@
<flag name="irc">Enable IRC protocol support</flag>
<flag name="logger">Enable support for logging</flag>
<flag name="relay">Enable relay plugin (experimental)</flag>
+ <flag name="relay-api">Enable json API support for the relay plugin (experimental)</flag>
<flag name="scripts">Build infrastructure for scripting</flag>
<flag name="trigger">Enable trigger plugin</flag>
<flag name="typing">Enable typing plugin</flag>
diff --git a/net-irc/weechat/weechat-9999.ebuild b/net-irc/weechat/weechat-9999.ebuild
index 0a07f1ce102d..84e5faff5549 100644
--- a/net-irc/weechat/weechat-9999.ebuild
+++ b/net-irc/weechat/weechat-9999.ebuild
@@ -32,13 +32,14 @@ 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 +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
+IUSE="doc enchant man nls relay-api selinux test +zstd ${SCRIPT_LANGS} ${PLUGINS} ${INTERFACES} ${NETWORKS}"
REQUIRED_USE="
enchant? ( spell )
lua? ( ${LUA_REQUIRED_USE} )
python? ( ${PYTHON_REQUIRED_USE} )
test? ( nls )
+ relay-api? ( relay )
"
RDEPEND="
@@ -164,6 +165,7 @@ src_configure() {
-DENABLE_PERL=$(usex perl)
-DENABLE_PYTHON=$(usex python)
-DENABLE_RELAY=$(usex relay)
+ -DENABLE_CJSON=$(usex relay-api)
-DENABLE_RUBY=$(usex ruby)
-DENABLE_SCRIPT=$(usex scripts)
-DENABLE_SCRIPTS=$(usex scripts)