From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-660809-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 47D621387B1
	for <garchives@archives.gentoo.org>; Sun, 19 Jan 2014 18:23:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 2C485E0A0B;
	Sun, 19 Jan 2014 18:23:10 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id AE222E0A0B
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 18:23:09 +0000 (UTC)
Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 8621433F968
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 18:23:08 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by spoonbill.gentoo.org (Postfix) with ESMTP id DDC9A1807D
	for <gentoo-commits@lists.gentoo.org>; Sun, 19 Jan 2014 18:23:06 +0000 (UTC)
From: "Alexey Shvetsov" <alexxy@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, "Alexey Shvetsov" <alexxy@gentoo.org>
Message-ID: <1390155706.19756779d4538d7d904e8e9f9d713a252a1067be.alexxy@gentoo>
Subject: [gentoo-commits] proj/x11:master commit in: x11-proto/xcb-proto/
X-VCS-Repository: proj/x11
X-VCS-Files: x11-proto/xcb-proto/metadata.xml x11-proto/xcb-proto/xcb-proto-1.10.ebuild
X-VCS-Directories: x11-proto/xcb-proto/
X-VCS-Committer: alexxy
X-VCS-Committer-Name: Alexey Shvetsov
X-VCS-Revision: 19756779d4538d7d904e8e9f9d713a252a1067be
X-VCS-Branch: master
Date: Sun, 19 Jan 2014 18:23:06 +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: de955cf4-63be-4e1e-ad4d-2f4a4f8b116d
X-Archives-Hash: 23dca46ead693cb0fa3f3cc38941474e

commit:     19756779d4538d7d904e8e9f9d713a252a1067be
Author:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 19 18:21:46 2014 +0000
Commit:     Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 18:21:46 2014 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=19756779

[x11-proto/xcb-proto] Version bump per bug #496800 and bug #496802

Package-Manager: portage-2.2.8

---
 x11-proto/xcb-proto/metadata.xml          |  5 ++++
 x11-proto/xcb-proto/xcb-proto-1.10.ebuild | 49 +++++++++++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/x11-proto/xcb-proto/metadata.xml b/x11-proto/xcb-proto/metadata.xml
new file mode 100644
index 0000000..01c4c00
--- /dev/null
+++ b/x11-proto/xcb-proto/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>x11</herd>
+</pkgmetadata>

diff --git a/x11-proto/xcb-proto/xcb-proto-1.10.ebuild b/x11-proto/xcb-proto/xcb-proto-1.10.ebuild
new file mode 100644
index 0000000..32f6a40
--- /dev/null
+++ b/x11-proto/xcb-proto/xcb-proto-1.10.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7,3_2,3_3} )
+XORG_MULTILIB=yes
+
+inherit python-r1 xorg-2
+
+DESCRIPTION="X C-language Bindings protocol headers"
+HOMEPAGE="http://xcb.freedesktop.org/"
+EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/proto"
+[[ ${PV} != 9999* ]] && \
+	SRC_URI="http://xcb.freedesktop.org/dist/${P}.tar.bz2"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${RDEPEND}
+	dev-libs/libxml2"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_configure() {
+	python_export_best
+	xorg-2_src_configure
+	#Note: multilib is not supported with python, therefore use only one ABI
+	python_parallel_foreach_impl autotools-utils_src_configure
+}
+
+src_compile() {
+	xorg-2_src_compile
+
+	python_foreach_impl autotools-utils_src_compile -C xcbgen \
+		top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
+}
+
+src_install() {
+	xorg-2_src_install
+
+	python_foreach_impl autotools-utils_src_install -C xcbgen \
+		top_builddir="${WORKDIR}/${P}-${ABI:-${DEFAULT_ABI}}"
+
+	sed -i -e '/pythondir/s:=.*$:=/dev/null:' \
+		"${ED}"/usr/lib*/pkgconfig/xcb-proto.pc || die
+}