net-im/psi: make qtdbus optional in -9999
authorSergey Ilinykh <rion4ik@gmail.com>
Sun, 29 Mar 2020 21:47:22 +0000 (21:47 +0000)
committerJoonas Niilola <juippis@gentoo.org>
Wed, 1 Apr 2020 14:37:34 +0000 (17:37 +0300)
Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Sergey Ilinykh <rion4ik@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/15164
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
net-im/psi/psi-9999.ebuild

index 0b3fa1a72702129c37f1b6f593b37f1c10a95d48..6e6329011f16220ba7f10df32185be9c87b3104d 100644 (file)
@@ -20,7 +20,7 @@ EGIT_MIN_CLONE_TYPE="single"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="aspell crypt debug doc enchant extras +hunspell iconsets keyring webengine webkit xscreensaver"
+IUSE="aspell crypt dbus debug doc enchant extras +hunspell iconsets keyring webengine webkit xscreensaver"
 
 REQUIRED_USE="
        ?? ( aspell enchant hunspell )
@@ -37,7 +37,6 @@ DEPEND="
        app-crypt/qca:2[ssl]
        dev-qt/qtconcurrent:5
        dev-qt/qtcore:5
-       dev-qt/qtdbus:5
        dev-qt/qtgui:5
        dev-qt/qtmultimedia:5
        dev-qt/qtnetwork:5
@@ -52,6 +51,7 @@ DEPEND="
        x11-libs/libX11
        x11-libs/libxcb
        aspell? ( app-text/aspell )
+       dbus? ( dev-qt/qtdbus:5 )
        enchant? ( app-text/enchant:2 )
        hunspell? ( app-text/hunspell:= )
        keyring? ( dev-libs/qtkeychain:= )
@@ -121,6 +121,7 @@ src_configure() {
                -DUSE_ASPELL=$(usex aspell)
                -DUSE_ENCHANT=$(usex enchant)
                -DUSE_HUNSPELL=$(usex hunspell)
+               -DUSE_DBUS=$(usex dbus)
                -DINSTALL_PLUGINS_SDK=1
                -DUSE_KEYCHAIN=$(usex keyring)
                -DCHAT_TYPE=$chattype