From 98f306bd0d085eae3c1d4e279e656d9de33fe232 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Sat, 21 Nov 2015 11:39:49 +0100 Subject: gstreamer.eclass: use xdg_environment_reset --- eclass/gstreamer.eclass | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'eclass/gstreamer.eclass') 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 -- cgit v1.2.3-65-gdbad