diff options
author | Sam James <sam@gentoo.org> | 2022-04-04 21:48:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-04-04 21:49:07 +0100 |
commit | 4d72e5b0e08226161feff394b585d1e1b8e6ea01 (patch) | |
tree | 3c265f86fd852eab324111a48b8715e851ecf8ee /net-irc/quassel/quassel-0.14.0-r1.ebuild | |
parent | www-plugins/chrome-binary-plugins: automated update (100.0.4896.75) (diff) | |
download | gentoo-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/quassel/quassel-0.14.0-r1.ebuild')
-rw-r--r-- | net-irc/quassel/quassel-0.14.0-r1.ebuild | 15 |
1 files changed, 11 insertions, 4 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 |