summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-04-04 21:48:49 +0100
committerSam James <sam@gentoo.org>2022-04-04 21:49:07 +0100
commit4d72e5b0e08226161feff394b585d1e1b8e6ea01 (patch)
tree3c265f86fd852eab324111a48b8715e851ecf8ee /net-irc
parentwww-plugins/chrome-binary-plugins: automated update (100.0.4896.75) (diff)
downloadgentoo-4d72e5b0e08226161feff394b585d1e1b8e6ea01.tar.gz
gentoo-4d72e5b0e08226161feff394b585d1e1b8e6ea01.tar.bz2
gentoo-4d72e5b0e08226161feff394b585d1e1b8e6ea01.zip
net-irc/quassel: fix unused warnings
They're unused in some cases. Closes: https://bugs.gentoo.org/830708 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/quassel/quassel-0.14.0-r1.ebuild15
-rw-r--r--net-irc/quassel/quassel-9999.ebuild15
2 files changed, 22 insertions, 8 deletions
diff --git a/net-irc/quassel/quassel-0.14.0-r1.ebuild b/net-irc/quassel/quassel-0.14.0-r1.ebuild
index f25fed0bc1d5..d6aa1c14902d 100644
--- a/net-irc/quassel/quassel-0.14.0-r1.ebuild
+++ b/net-irc/quassel/quassel-0.14.0-r1.ebuild
@@ -99,19 +99,26 @@ src_configure() {
-DEMBED_DATA=OFF
-DWITH_WEBKIT=OFF
-DWITH_BUNDLED_ICONS=$(usex bundled-icons)
- $(cmake_use_find_package dbus dbusmenu-qt5)
- $(cmake_use_find_package dbus Qt5DBus)
-DWITH_KDE=$(usex kde)
-DWITH_LDAP=$(usex ldap)
-DWANT_MONO=$(usex monolithic)
-DWITH_OXYGEN_ICONS=$(usex oxygen)
-DWANT_CORE=$(usex server)
- $(cmake_use_find_package snorenotify LibsnoreQt5)
- $(cmake_use_find_package spell KF5Sonnet)
-DWITH_WEBENGINE=$(usex urlpreview)
-DWANT_QTCLIENT=$(usex X)
)
+ if use X || use monolithic ; then
+ # We can't always pass these (avoid "unused" warning)
+ # bug #830708
+ mycmakeargs+=(
+ $(cmake_use_find_package dbus dbusmenu-qt5)
+ $(cmake_use_find_package dbus Qt5DBus)
+ $(cmake_use_find_package snorenotify LibsnoreQt5)
+ $(cmake_use_find_package spell KF5Sonnet)
+ )
+ fi
+
if use server || use monolithic ; then
mycmakeargs+=( $(cmake_use_find_package crypt Qca-qt5) )
fi
diff --git a/net-irc/quassel/quassel-9999.ebuild b/net-irc/quassel/quassel-9999.ebuild
index d4dca6dc95f1..b00f930b98b5 100644
--- a/net-irc/quassel/quassel-9999.ebuild
+++ b/net-irc/quassel/quassel-9999.ebuild
@@ -95,19 +95,26 @@ src_configure() {
-DEMBED_DATA=OFF
-DWITH_WEBKIT=OFF
-DWITH_BUNDLED_ICONS=$(usex bundled-icons)
- $(cmake_use_find_package dbus dbusmenu-qt5)
- $(cmake_use_find_package dbus Qt5DBus)
-DWITH_KDE=$(usex kde)
-DWITH_LDAP=$(usex ldap)
-DWANT_MONO=$(usex monolithic)
-DWITH_OXYGEN_ICONS=$(usex oxygen)
-DWANT_CORE=$(usex server)
- $(cmake_use_find_package snorenotify LibsnoreQt5)
- $(cmake_use_find_package spell KF5Sonnet)
-DWITH_WEBENGINE=$(usex urlpreview)
-DWANT_QTCLIENT=$(usex X)
)
+ if use X || use monolithic ; then
+ # We can't always pass these (avoid "unused" warning)
+ # bug #830708
+ mycmakeargs+=(
+ $(cmake_use_find_package dbus dbusmenu-qt5)
+ $(cmake_use_find_package dbus Qt5DBus)
+ $(cmake_use_find_package snorenotify LibsnoreQt5)
+ $(cmake_use_find_package spell KF5Sonnet)
+ )
+ fi
+
if use server || use monolithic ; then
mycmakeargs+=( $(cmake_use_find_package crypt Qca-qt5) )
fi