app-emulation/spice: clean up XDG environment.
authorNick Sarnie <commendsarnex@gmail.com>
Mon, 24 Oct 2016 02:45:35 +0000 (22:45 -0400)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 26 Oct 2016 21:36:22 +0000 (23:36 +0200)
Gentoo-Bug: https://bugs.gentoo.org/591462

Acked-by: Matthias Maier <tamiko@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/2654

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
app-emulation/spice/spice-0.13.2.ebuild

index 6c589d98a9456e472a38750c90e1d77789cd82ce..9b2f97d9816302afea3caa9b01ab775acb24ba6a 100644 (file)
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{2_7,3_4} )
 
-inherit eutils python-any-r1 readme.gentoo-r1
+inherit eutils python-any-r1 readme.gentoo-r1 xdg-utils
 
 DESCRIPTION="SPICE server"
 HOMEPAGE="http://spice-space.org/"
@@ -59,6 +59,8 @@ src_configure() {
        # https://bugzilla.gnome.org/show_bug.cgi?id=744135
        addpredict /dev
 
+       xdg_environment_reset
+
        local myconf="
                $(use_enable static-libs static)
                $(use_enable lz4)