diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-21 11:39:49 +0100 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2015-11-24 22:56:19 +0100 |
commit | 98f306bd0d085eae3c1d4e279e656d9de33fe232 (patch) | |
tree | 3728432be1ddd14663ed640bc0f11851360ef29a /eclass/gstreamer.eclass | |
parent | gnome2-utils.eclass: use xdg_environment_reset (diff) | |
download | gentoo-98f306bd0d085eae3c1d4e279e656d9de33fe232.tar.gz gentoo-98f306bd0d085eae3c1d4e279e656d9de33fe232.tar.bz2 gentoo-98f306bd0d085eae3c1d4e279e656d9de33fe232.zip |
gstreamer.eclass: use xdg_environment_reset
Diffstat (limited to 'eclass/gstreamer.eclass')
-rw-r--r-- | eclass/gstreamer.eclass | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/eclass/gstreamer.eclass b/eclass/gstreamer.eclass index 0163493a76b5..37bb7ba85580 100644 --- a/eclass/gstreamer.eclass +++ b/eclass/gstreamer.eclass @@ -23,7 +23,7 @@ # plugin, consider adding media-plugins/gst-plugins-meta dependency, but # also list any packages that provide explicitly requested plugins. -inherit eutils multilib multilib-minimal toolchain-funcs versionator +inherit eutils multilib multilib-minimal toolchain-funcs versionator xdg-utils case "${EAPI:-0}" in 5) @@ -132,11 +132,7 @@ DEPEND="${DEPEND} ${RDEPEND}" # >=dev-lang/orc-0.4.23 rely on environment variables to find a place to # allocate files to mmap. gstreamer_environment_reset() { - export XDG_RUNTIME_DIR="${T}/run" - mkdir -p "${XDG_RUNTIME_DIR}" - # This directory needs to be owned by the user, and chmod 0700 - # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html - chmod 0700 "${XDG_RUNTIME_DIR}" + xdg_environment_reset } # @FUNCTION: gstreamer_get_plugins |