net-misc/spice-gtk: Clean up xdg environment, bug #586642
authorMatthias Maier <tamiko@gentoo.org>
Thu, 11 May 2017 05:37:53 +0000 (00:37 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 11 May 2017 05:37:53 +0000 (00:37 -0500)
Package-Manager: Portage-2.3.5, Repoman-2.3.2

net-misc/spice-gtk/spice-gtk-0.33-r2.ebuild

index 26dba5b782f0bfdcfd7dbea62fbf96b26c86d164..b9d9211f268f91c4f638d1b5646e5ac5bdfe64b2 100644 (file)
@@ -6,7 +6,7 @@ GCONF_DEBUG="no"
 VALA_MIN_API_VERSION="0.14"
 VALA_USE_DEPEND="vapigen"
 
-inherit autotools eutils vala readme.gentoo-r1
+inherit autotools eutils xdg-utils vala readme.gentoo-r1
 
 DESCRIPTION="Set of GObject and Gtk objects for connecting to Spice servers and a client GUI"
 HOMEPAGE="http://spice-space.org https://cgit.freedesktop.org/spice/spice-gtk/"
@@ -91,6 +91,9 @@ src_configure() {
        # https://bugzilla.gnome.org/show_bug.cgi?id=744135
        addpredict /dev
 
+       # Clean up environment, bug #586642
+       xdg_environment_reset
+
        local myconf
 
        if use vala ; then