commit:     cf0a91e27c8e9209fceea087f281efb91037fe23
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 29 14:18:13 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Sat Oct 29 14:19:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf0a91e2

media-sound/playerctl: fix xdg related sandbox violation #596166

Gentoo-Bug: https://bugs.gentoo.org/596166

Package-Manager: portage-2.2.28

 media-sound/playerctl/playerctl-0.5.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-sound/playerctl/playerctl-0.5.0.ebuild 
b/media-sound/playerctl/playerctl-0.5.0.ebuild
index 7f5b861..72c1ae6 100644
--- a/media-sound/playerctl/playerctl-0.5.0.ebuild
+++ b/media-sound/playerctl/playerctl-0.5.0.ebuild
@@ -4,7 +4,7 @@
 
 EAPI=6
 
-inherit autotools
+inherit autotools xdg-utils
 
 DESCRIPTION="A CLI utility to control media players over MPRIS"
 HOMEPAGE="https://github.com/acrisci/playerctl";
@@ -35,6 +35,8 @@ src_prepare() {
 }
 
 src_configure() {
+       xdg_environment_reset # 596166
+
        econf \
                $(use_enable doc gtk-doc) \
                $(use_enable doc gtk-doc-html) \

Reply via email to