commit:     5c4590d94b206a4b86553c330b878aa8e34ec8a0
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Aug  8 20:20:39 2023 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Thu Aug 10 02:23:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c4590d9

x11-libs/gtk+: Run tests under dbus

Maybe-Bug: https://bugs.gentoo.org/898968
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 x11-libs/gtk+/gtk+-3.24.38.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-libs/gtk+/gtk+-3.24.38.ebuild 
b/x11-libs/gtk+/gtk+-3.24.38.ebuild
index 59b6b8ae8163..f87069b54741 100644
--- a/x11-libs/gtk+/gtk+-3.24.38.ebuild
+++ b/x11-libs/gtk+/gtk+-3.24.38.ebuild
@@ -89,6 +89,7 @@ BDEPEND="
                app-text/docbook-xml-dtd:4.3
                >=dev-util/gtk-doc-1.20
        )
+       test? ( sys-apps/dbus )
 "
 
 MULTILIB_CHOST_TOOLS=(
@@ -131,7 +132,7 @@ multilib_src_compile() {
 }
 
 multilib_src_test() {
-       virtx meson_src_test
+       virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
 }
 
 multilib_src_install() {

Reply via email to