summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-04-03 14:56:31 +0200
committerPacho Ramos <pacho@gentoo.org>2016-04-03 14:56:59 +0200
commitd321ab3053915b22883a6681cead236190b994e6 (patch)
treede2c1cab300b4c2ee53546a2604f2feaaff04cd1 /eclass/gnome2-utils.eclass
parentlibtool.eclass: enable reversedeps patch (#517154) (diff)
downloadgentoo-d321ab3053915b22883a6681cead236190b994e6.tar.gz
gentoo-d321ab3053915b22883a6681cead236190b994e6.tar.bz2
gentoo-d321ab3053915b22883a6681cead236190b994e6.zip
gnome2.eclass/gnome2-utils.eclass: implement eapi6 support and take advantage of that for finally fixing many bugs/enhancements that were waiting for this (#571378)
Diffstat (limited to 'eclass/gnome2-utils.eclass')
-rw-r--r--eclass/gnome2-utils.eclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/eclass/gnome2-utils.eclass b/eclass/gnome2-utils.eclass
index 1f4638902386..63855da12359 100644
--- a/eclass/gnome2-utils.eclass
+++ b/eclass/gnome2-utils.eclass
@@ -101,6 +101,14 @@ gnome2_environment_reset() {
# Ensure we don't rely on dconf/gconf while building, bug #511946
export GSETTINGS_BACKEND="memory"
+
+ if has ${EAPI:-0} 6; then
+ # Try to cover the packages honoring this variable, bug #508124
+ export GST_INSPECT="$(type -P true)"
+
+ # Stop relying on random DISPLAY variable values, bug #534312
+ unset DISPLAY
+ fi
}
# @FUNCTION: gnome2_gconf_savelist