commit:     06695f40fd43883a2113c1631d68af232b0ef669
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  3 11:50:44 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Fri Aug  3 11:50:44 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=06695f40

media-video/cheese-9999: fix tests, remove unnecessary glib[utils] dep

Tests were broken on fresh install since 3.26.0 bump, restore it by
syncing with main tree again.
Workaround unnecessary glib[utils] gtester-report test dependency.

Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-video/cheese/cheese-9999.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/media-video/cheese/cheese-9999.ebuild 
b/media-video/cheese/cheese-9999.ebuild
index b5efd8bb..b23704c1 100644
--- a/media-video/cheese/cheese-9999.ebuild
+++ b/media-video/cheese/cheese-9999.ebuild
@@ -63,7 +63,6 @@ DEPEND="${COMMON_DEPEND}
        dev-util/itstool
        virtual/pkgconfig
        x11-base/xorg-proto
-       test? ( dev-libs/glib:2[utils] )
 "
 
 if [[ ${PV} = 9999 ]]; then
@@ -79,11 +78,13 @@ src_prepare() {
 src_configure() {
        gnome2_src_configure \
                GST_INSPECT=$(type -P true) \
+               GTESTER_REPORT=$(type -P true) \
                $(use_enable introspection) \
                --disable-lcov \
                --disable-static
 }
 
 src_test() {
-       virtx emake check
+       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
+       GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
 }

Reply via email to