From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-937270-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 597C8139694
	for <garchives@archives.gentoo.org>; Thu,  9 Mar 2017 17:43:54 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 95CC2E0C52;
	Thu,  9 Mar 2017 17:43:53 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7379EE0C52
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Mar 2017 17:43:53 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 419E834164A
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Mar 2017 17:43:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id ABA94626A
	for <gentoo-commits@lists.gentoo.org>; Thu,  9 Mar 2017 17:43:50 +0000 (UTC)
From: "Michael Weber" <xmw@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Michael Weber" <xmw@gentoo.org>
Message-ID: <1489081423.ba07d24672f6a542fbc9edaa35742c7771486960.xmw@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/xpra/
X-VCS-Repository: repo/gentoo
X-VCS-Files: x11-wm/xpra/xpra-1.0.3-r1.ebuild x11-wm/xpra/xpra-1.0.3.ebuild
X-VCS-Directories: x11-wm/xpra/
X-VCS-Committer: xmw
X-VCS-Committer-Name: Michael Weber
X-VCS-Revision: ba07d24672f6a542fbc9edaa35742c7771486960
X-VCS-Branch: master
Date: Thu,  9 Mar 2017 17:43:50 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 1c39fd8d-1530-47f9-b077-a5e4e84ee278
X-Archives-Hash: 698332b758445a61d2a7671b32defb05

commit:     ba07d24672f6a542fbc9edaa35742c7771486960
Author:     Michael Weber <xmw <AT> gentoo <DOT> org>
AuthorDate: Thu Mar  9 17:34:25 2017 +0000
Commit:     Michael Weber <xmw <AT> gentoo <DOT> org>
CommitDate: Thu Mar  9 17:43:43 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba07d246

x11-wm/xpra: activate tmpfiles.d file in pkg_postinst.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 x11-wm/xpra/{xpra-1.0.3.ebuild => xpra-1.0.3-r1.ebuild} | 13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

diff --git a/x11-wm/xpra/xpra-1.0.3.ebuild b/x11-wm/xpra/xpra-1.0.3-r1.ebuild
similarity index 92%
rename from x11-wm/xpra/xpra-1.0.3.ebuild
rename to x11-wm/xpra/xpra-1.0.3-r1.ebuild
index 7116a9ce4ac..97f5c0e644f 100644
--- a/x11-wm/xpra/xpra-1.0.3.ebuild
+++ b/x11-wm/xpra/xpra-1.0.3-r1.ebuild
@@ -1,11 +1,11 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 # PyCObject_Check and PyCObject_AsVoidPtr vanished with python 3.3, and setup.py not python3.2 compat
 PYTHON_COMPAT=( python2_7 )
-inherit distutils-r1 eutils flag-o-matic user
+inherit distutils-r1 eutils flag-o-matic user tmpfiles
 
 DESCRIPTION="X Persistent Remote Apps (xpra) and Partitioning WM (parti) based on wimpiggy"
 HOMEPAGE="http://xpra.org/ http://xpra.org/src/"
@@ -85,16 +85,19 @@ DEPEND="${COMMON_DEPEND}
 	virtual/pkgconfig
 	>=dev-python/cython-0.16[${PYTHON_USEDEP}]"
 
+PATCHES=( "${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch
+	"${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch )
+
 pkg_postinst() {
 	enewgroup ${PN}
+	tmpfiles_process /usr/lib/tmpfiles.d/xpra.conf
 }
 
 python_prepare_all() {
 	rm -rf rencode || die
 
-	epatch \
-		"${FILESDIR}"/${PN}-0.13.1-ignore-gentoo-no-compile.patch \
-		"${FILESDIR}"/${PN}-0.17.4-deprecated-avcodec.patch
+	sed -e "s:/var/run/xpra:${EROOT}run/xpra:" \
+		-i tmpfiles.d/xpra.conf
 
 	if use libav ; then
 		if ! has_version ">=media-video/libav-9" ; then