commit:     fa6366e80e2bc4958ff3fc875425ddf0c47c5d33
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 17 07:03:38 2022 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Apr 17 07:04:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa6366e8

sys-apps/xdg-dbus-proxy: Add test dep on sys-apps/dbus

Closes: https://bugs.gentoo.org/721494
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.3.ebuild 
b/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.3.ebuild
index e13679b6fec0..772eacd203d8 100644
--- a/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.3.ebuild
+++ b/sys-apps/xdg-dbus-proxy/xdg-dbus-proxy-0.1.3.ebuild
@@ -10,12 +10,15 @@ 
SRC_URI="https://github.com/flatpak/${PN}/releases/download/${PV}/${P}.tar.xz";
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv x86"
-IUSE=""
+IUSE="test"
+RESTRICT="!test? ( test )"
 
 RDEPEND="
        >=dev-libs/glib-2.40:2
 "
-DEPEND="${RDEPEND}"
+DEPEND="${RDEPEND}
+       test? ( sys-apps/dbus )
+"
 BDEPEND="
        app-text/docbook-xsl-stylesheets
        dev-libs/libxslt

Reply via email to