commit:     272ff1f7eab3cf3a6460c3c24da7017a09c06080
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 30 21:10:42 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Jul 30 21:14:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272ff1f7

media-libs/graphene: add missing environment reset

Add missing xdg_environment_reset, otherwise things might fail
if certain XDG_* env vars are set in the environment.

Closes: https://bugs.gentoo.org/662478
Package-Manager: Portage-2.3.43, Repoman-2.3.10

 media-libs/graphene/graphene-1.8.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-libs/graphene/graphene-1.8.2.ebuild 
b/media-libs/graphene/graphene-1.8.2.ebuild
index 1c5ae38fb9b..5cb827ba298 100644
--- a/media-libs/graphene/graphene-1.8.2.ebuild
+++ b/media-libs/graphene/graphene-1.8.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 PYTHON_COMPAT=( python3_{4,5,6,7} )
-inherit meson multilib-minimal python-any-r1
+inherit xdg-utils meson multilib-minimal python-any-r1
 
 DESCRIPTION="A thin layer of types for graphic libraries"
 HOMEPAGE="https://ebassi.github.io/graphene/";
@@ -26,6 +26,7 @@ DEPEND="${RDEPEND}
 "
 
 src_prepare() {
+       xdg_environment_reset
        default
        # Disable installed-tests
        sed -e 's/install: true/install: false/g' -i src/tests/meson.build || 
die

Reply via email to