1 |
eva 14/12/28 22:55:58 |
2 |
|
3 |
Modified: ChangeLog gstreamer.eclass |
4 |
Log: |
5 |
Add workaround for new orc break gstreamer ebuilds, bug #533664 |
6 |
|
7 |
Revision Changes Path |
8 |
1.1489 eclass/ChangeLog |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1489&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1489&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1488&r2=1.1489 |
13 |
|
14 |
Index: ChangeLog |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v |
17 |
retrieving revision 1.1488 |
18 |
retrieving revision 1.1489 |
19 |
diff -u -r1.1488 -r1.1489 |
20 |
--- ChangeLog 28 Dec 2014 22:50:20 -0000 1.1488 |
21 |
+++ ChangeLog 28 Dec 2014 22:55:58 -0000 1.1489 |
22 |
@@ -1,6 +1,9 @@ |
23 |
# ChangeLog for eclass directory |
24 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1488 2014/12/28 22:50:20 mgorny Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1489 2014/12/28 22:55:58 eva Exp $ |
27 |
+ |
28 |
+ 28 Dec 2014; Gilles Dartiguelongue <eva@g.o> gstreamer.eclass: |
29 |
+ Add workaround for new orc break gstreamer ebuilds, bug #533664. |
30 |
|
31 |
28 Dec 2014; Michał Górny <mgorny@g.o> python-single-r1.eclass: |
32 |
Add python_gen_usedep, python_gen_useflags and python_gen_cond_dep to |
33 |
|
34 |
|
35 |
|
36 |
1.3 eclass/gstreamer.eclass |
37 |
|
38 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gstreamer.eclass?rev=1.3&view=markup |
39 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gstreamer.eclass?rev=1.3&content-type=text/plain |
40 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/gstreamer.eclass?r1=1.2&r2=1.3 |
41 |
|
42 |
Index: gstreamer.eclass |
43 |
=================================================================== |
44 |
RCS file: /var/cvsroot/gentoo-x86/eclass/gstreamer.eclass,v |
45 |
retrieving revision 1.2 |
46 |
retrieving revision 1.3 |
47 |
diff -u -r1.2 -r1.3 |
48 |
--- gstreamer.eclass 19 Jun 2014 09:28:09 -0000 1.2 |
49 |
+++ gstreamer.eclass 28 Dec 2014 22:55:58 -0000 1.3 |
50 |
@@ -1,6 +1,6 @@ |
51 |
# Copyright 1999-2014 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/gstreamer.eclass,v 1.2 2014/06/19 09:28:09 mgorny Exp $ |
54 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/gstreamer.eclass,v 1.3 2014/12/28 22:55:58 eva Exp $ |
55 |
|
56 |
# @ECLASS: gstreamer.eclass |
57 |
# @MAINTAINER: |
58 |
@@ -125,6 +125,20 @@ |
59 |
|
60 |
DEPEND="${DEPEND} ${RDEPEND}" |
61 |
|
62 |
+# @FUNCTION: gstreamer_environment_reset |
63 |
+# @INTERNAL |
64 |
+# @DESCRIPTION: |
65 |
+# Clean up environment for clean builds. |
66 |
+# >=dev-lang/orc-0.4.23 rely on environment variables to find a place to |
67 |
+# allocate files to mmap. |
68 |
+gstreamer_environment_reset() { |
69 |
+ export XDG_RUNTIME_DIR="${T}/run" |
70 |
+ mkdir -p "${XDG_RUNTIME_DIR}" |
71 |
+ # This directory needs to be owned by the user, and chmod 0700 |
72 |
+ # http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html |
73 |
+ chmod 0700 "${XDG_RUNTIME_DIR}" |
74 |
+} |
75 |
+ |
76 |
# @FUNCTION: gstreamer_get_plugins |
77 |
# @INTERNAL |
78 |
# @DESCRIPTION: |
79 |
@@ -189,6 +203,7 @@ |
80 |
local plugin gst_conf=() ECONF_SOURCE=${ECONF_SOURCE:-${S}} |
81 |
|
82 |
gstreamer_get_plugins |
83 |
+ gstreamer_environment_reset |
84 |
|
85 |
for plugin in ${GST_PLUGINS_LIST} ; do |
86 |
if has ${plugin} ${GST_PLUGINS_BUILD} ; then |