1 |
commit: ba07d24672f6a542fbc9edaa35742c7771486960 |
2 |
Author: Michael Weber <xmw <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 9 17:34:25 2017 +0000 |
4 |
Commit: Michael Weber <xmw <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 9 17:43:43 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba07d246 |
7 |
|
8 |
x11-wm/xpra: activate tmpfiles.d file in pkg_postinst. |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
|
12 |
x11-wm/xpra/{xpra-1.0.3.ebuild => xpra-1.0.3-r1.ebuild} | 13 ++++++++----- |
13 |
1 file changed, 8 insertions(+), 5 deletions(-) |
14 |
|
15 |
diff --git a/x11-wm/xpra/xpra-1.0.3.ebuild b/x11-wm/xpra/xpra-1.0.3-r1.ebuild |
16 |
similarity index 92% |
17 |
rename from x11-wm/xpra/xpra-1.0.3.ebuild |
18 |
rename to x11-wm/xpra/xpra-1.0.3-r1.ebuild |
19 |
index 7116a9ce4ac..97f5c0e644f 100644 |
20 |
--- a/x11-wm/xpra/xpra-1.0.3.ebuild |
21 |
+++ b/x11-wm/xpra/xpra-1.0.3-r1.ebuild |
22 |
@@ -1,11 +1,11 @@ |
23 |
# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=5 |
27 |
+EAPI=6 |
28 |
|
29 |
# PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3, and setup.py not python3.2 compat |
30 |
PYTHON_COMPAT=( python2_7 ) |
31 |
-inherit distutils-r1 eutils flag-o-matic user |
32 |
+inherit distutils-r1 eutils flag-o-matic user tmpfiles |
33 |
|
34 |
DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy" |
35 |
HOMEPAGE="http://xpra.org/ http://xpra.org/src/" |
36 |
@@ -85,16 +85,19 @@ DEPEND="${COMMON_DEPEND} |
37 |
virtual/pkgconfig |
38 |
>=dev-python/cython-0.16[${PYTHON_USEDEP}]" |
39 |
|
40 |
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch |
41 |
+ "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch ) |
42 |
+ |
43 |
pkg_postinst() { |
44 |
enewgroup ${PN} |
45 |
+ tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf |
46 |
} |
47 |
|
48 |
python_prepare_all() { |
49 |
rm -rf rencode || die |
50 |
|
51 |
- epatch \ |
52 |
- "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch \ |
53 |
- "${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch |
54 |
+ sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \ |
55 |
+ -i tmpfiles.d/xpra.conf |
56 |
|
57 |
if use libav ; then |
58 |
if ! has_version ">=media-video/libav-9" ; then |