media-video/cheese: fix running unittests with uninstalled gschemas
authorGilles Dartiguelongue <eva@gentoo.org>
Fri, 19 Jan 2018 07:25:56 +0000 (08:25 +0100)
committerGilles Dartiguelongue <eva@gentoo.org>
Fri, 19 Jan 2018 07:34:31 +0000 (08:34 +0100)
Closes: https://bugs.gentoo.org/454972
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-video/cheese/cheese-3.22.1.ebuild
media-video/cheese/cheese-3.24.0.ebuild

index f75ab6e69169e31c4d4de996c9fc80a8b53cd2a2..417f004eff1150fb479f9ef1876ca8559d8953d0 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -71,5 +71,6 @@ src_configure() {
 }
 
 src_test() {
-       virtx emake check
+       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
+       GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
 }
index a21c66d1056ae09fbd93b6e553850be1e345e969..b4ec71a08b2c368edaaa9ae437f2f59b88da7371 100644 (file)
@@ -72,5 +72,6 @@ src_configure() {
 }
 
 src_test() {
-       virtx emake check
+       "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
+       GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
 }