From 896b3eb87606a46ef70a850ab6d862b7ccea9ee5 Mon Sep 17 00:00:00 2001
From: Gilles Dartiguelongue <eva@gentoo.org>
Date: Sun, 21 Aug 2016 23:44:03 +0200
Subject: media-libs/grilo: unittests require dbus activation, which requires
 X11

Package-Manager: portage-2.3.0
---
 media-libs/grilo/grilo-0.3.1.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/grilo/grilo-0.3.1.ebuild b/media-libs/grilo/grilo-0.3.1.ebuild
index 7917d8b92389..8a4b5682f0a6 100644
--- a/media-libs/grilo/grilo-0.3.1.ebuild
+++ b/media-libs/grilo/grilo-0.3.1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 )
 VALA_MIN_API_VERSION="0.28"
 VALA_USE_DEPEND="vapigen"
 
-inherit gnome2 python-any-r1 vala
+inherit gnome2 python-any-r1 vala virtualx
 
 DESCRIPTION="A framework for easy media discovery and browsing"
 HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
@@ -76,6 +76,10 @@ src_configure() {
 		$(use_enable vala)
 }
 
+src_test() {
+	virtx emake check
+}
+
 src_install() {
 	gnome2_src_install
 	# Upstream made this conditional on gtk-doc build...
-- 
cgit v1.2.3-65-gdbad