summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-07-20 19:38:55 +0200
committerSebastian Pipping <sping@gentoo.org>2016-07-20 19:39:14 +0200
commit7ceffc8df2afdce11b775e074dd9a753c721bff7 (patch)
tree45fcba75391ae2a35731a984a4f55b4bdae14096 /media-libs/libmypaint
parentkde-plasma/oxygen-fonts: reset XDG env vars (diff)
downloadgentoo-7ceffc8df2afdce11b775e074dd9a753c721bff7.tar.gz
gentoo-7ceffc8df2afdce11b775e074dd9a753c721bff7.tar.bz2
gentoo-7ceffc8df2afdce11b775e074dd9a753c721bff7.zip
media-libs/libmypaint: Fix g-ir-scanner XDG_* sandbox violation (bug #589112)
Package-Manager: portage-2.2.28
Diffstat (limited to 'media-libs/libmypaint')
-rw-r--r--media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild b/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
index 17d556c3fce2..1a75602fede6 100644
--- a/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
+++ b/media-libs/libmypaint/libmypaint-1.3.0_beta1.ebuild
@@ -5,7 +5,7 @@
EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit python-any-r1
+inherit python-any-r1 xdg-utils
MY_PV=${PV/_beta/-beta.}
MY_P=${PN}-${MY_PV}
@@ -40,6 +40,11 @@ RDEPEND="${CDEPEND}
S="${WORKDIR}"/${MY_P}
+src_prepare() {
+ xdg_environment_reset
+ eapply_user
+}
+
src_configure() {
econf \
--disable-debug \