From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 672851382C5 for ; Mon, 5 Mar 2018 19:46:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55EA9E07FA; Mon, 5 Mar 2018 19:46:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24D4BE07FA for ; Mon, 5 Mar 2018 19:46:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6E653335C2C for ; Mon, 5 Mar 2018 19:46:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A683E1EF for ; Mon, 5 Mar 2018 19:46:26 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1520279179.3a534e26823b382dcfffa63e521e3ec72c71db16.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-proto/xcb-proto/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-proto/xcb-proto/Manifest x11-proto/xcb-proto/xcb-proto-1.13.ebuild X-VCS-Directories: x11-proto/xcb-proto/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 3a534e26823b382dcfffa63e521e3ec72c71db16 X-VCS-Branch: master Date: Mon, 5 Mar 2018 19:46:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4c284973-5fc6-4f09-9a34-9147ba733ff1 X-Archives-Hash: d67f5e0f1cc8b8cf106abe4f74474d72 commit: 3a534e26823b382dcfffa63e521e3ec72c71db16 Author: Matt Turner gentoo org> AuthorDate: Mon Mar 5 19:30:48 2018 +0000 Commit: Matt Turner gentoo org> CommitDate: Mon Mar 5 19:46:19 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a534e26 x11-proto/xcb-proto: Version bump to 1.13 x11-proto/xcb-proto/Manifest | 1 + x11-proto/xcb-proto/xcb-proto-1.13.ebuild | 63 +++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/x11-proto/xcb-proto/Manifest b/x11-proto/xcb-proto/Manifest index f954f66206f..e4b1cc4e7be 100644 --- a/x11-proto/xcb-proto/Manifest +++ b/x11-proto/xcb-proto/Manifest @@ -1 +1,2 @@ DIST xcb-proto-1.12.tar.bz2 153890 BLAKE2B cdb4b245e838ca56bfdcaa9a0618ce45e5d4da8ee10f7ae3389ff297325c3d81ba446a6385737cc9b053ecb06a0c829d99ab27dceecfec49ac1591c25c832c46 SHA512 1f427eaf223971b25b56c9f641350e03f5ebeb17a1fc212ce2a0c892de7aba7e53d5e3958b073a122bb344c387c0ff394cf96f542ff046f33de4e1cd27fb9e5c +DIST xcb-proto-1.13.tar.bz2 151981 BLAKE2B 04d90838f8a892103e6d7aa807f1b0b6794f1538c6c986ad3cba67cff3a963ff680e45c2137c5d6330736a3aa1a387d61fc247f23487de9dada2f4013590b4a1 SHA512 002aa2aa0ad503977e03419c6f136f1e3aa8c787916830ce6d6be8f81ca99edc1d8fc5f71ce8c592b490cc767bf6567695f0bafe55fe3f743076bcddbaac07f7 diff --git a/x11-proto/xcb-proto/xcb-proto-1.13.ebuild b/x11-proto/xcb-proto/xcb-proto-1.13.ebuild new file mode 100644 index 00000000000..81add3e7b94 --- /dev/null +++ b/x11-proto/xcb-proto/xcb-proto-1.13.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) +XORG_MULTILIB=yes + +inherit python-r1 xorg-2 + +DESCRIPTION="X C-language Bindings protocol headers" +HOMEPAGE="https://xcb.freedesktop.org/" +EGIT_REPO_URI="https://anongit.freedesktop.org/git/xcb/proto.git" +[[ ${PV} != 9999* ]] && \ + SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2" + +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~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_setup + xorg-2_src_configure +} + +multilib_src_configure() { + autotools-utils_src_configure + + if multilib_is_native_abi; then + python_foreach_impl autotools-utils_src_configure + fi +} + +multilib_src_compile() { + default + + if multilib_is_native_abi; then + python_foreach_impl autotools-utils_src_compile -C xcbgen \ + top_builddir="${BUILD_DIR}" + fi +} + +src_install() { + xorg-2_src_install + + # pkg-config file hardcodes python sitedir, bug 486512 + sed -i -e '/pythondir/s:=.*$:=/dev/null:' \ + "${ED}"/usr/lib*/pkgconfig/xcb-proto.pc || die +} + +multilib_src_install() { + default + + if multilib_is_native_abi; then + python_foreach_impl autotools-utils_src_install -C xcbgen \ + top_builddir="${BUILD_DIR}" + fi +}