media-sound/playerctl: fix xdg related sandbox violation #596166
authorGöktürk Yüksek <gokturk@gentoo.org>
Sat, 29 Oct 2016 14:18:13 +0000 (10:18 -0400)
committerGöktürk Yüksek <gokturk@gentoo.org>
Sat, 29 Oct 2016 14:19:10 +0000 (10:19 -0400)
Gentoo-Bug: https://bugs.gentoo.org/596166

Package-Manager: portage-2.2.28

media-sound/playerctl/playerctl-0.5.0.ebuild

index 7f5b861c3997cc7ed307b0d161a60b1ea97d8c0c..72c1ae69f8a3b2f98559cbd974630250390aed41 100644 (file)
@@ -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) \