summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorArun Raghavan <ford_prefect@gentoo.org>2011-08-24 12:19:06 +0530
committerArun Raghavan <ford_prefect@gentoo.org>2011-08-24 12:20:42 +0530
commit72d496183b7c2c0a97f8c1763c68e1c5912a5167 (patch)
tree00fa451db757561616a02892f416a613d50f9c3c /eclass
parentapp-text/gtranslator: remove useless glib[introspection] dependency (diff)
downloadgnome-72d496183b7c2c0a97f8c1763c68e1c5912a5167.tar.gz
gnome-72d496183b7c2c0a97f8c1763c68e1c5912a5167.tar.bz2
gnome-72d496183b7c2c0a97f8c1763c68e1c5912a5167.zip
eclass/gnome2.eclass: Move GST_REGISTRY export to src_prepare
We might end up calling gst functions anywhere (gupnp-dlna calls it in documentation generation, for example).
Diffstat (limited to 'eclass')
-rw-r--r--eclass/gnome2.eclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/eclass/gnome2.eclass b/eclass/gnome2.eclass
index 49a05560..c177b4f0 100644
--- a/eclass/gnome2.eclass
+++ b/eclass/gnome2.eclass
@@ -108,6 +108,9 @@ gnome2_src_prepare() {
# http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html
chmod 0700 "${XDG_RUNTIME_DIR}"
+ # GST_REGISTRY is to work around gst utilities trying to read/write /root
+ export GST_REGISTRY="${S}/registry.xml"
+
# Prevent scrollkeeper access violations
gnome2_omf_fix
@@ -140,8 +143,7 @@ gnome2_src_configure() {
# Avoid sandbox violations caused by gnome-vfs (bug #128289 and #345659)
addwrite "$(unset HOME; echo ~)/.gnome2"
- # GST_REGISTRY is to work around gst-inspect trying to read/write /root
- GST_REGISTRY="${S}/registry.xml" econf "$@" ${G2CONF}
+ econf "$@" ${G2CONF}
}
# @FUNCTION: gnome2_src_compile