Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/
Date: Sat, 01 Oct 2016 18:04:21
Message-Id: 1475344212.73caf2e2ed189c7e753e043b293a18a34db126c5.leio@gentoo
1 commit: 73caf2e2ed189c7e753e043b293a18a34db126c5
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 1 17:46:25 2016 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 1 17:50:12 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73caf2e2
7
8 x11-libs/libxcb: Lock subslot to 1.12 for now
9
10 As it was before, a simple bugfix release of 1.12.1 would force
11 a huge set of rebuilds unnecessarily. We'll need to decide if we
12 need subslot 1.13 upon such a release appearing or not.
13 This is a revbump due to a -r1 having just been reverted and so
14 avoids it looking like a downgrade.
15
16 Gentoo-bug: 576890
17 Package-Manager: portage-2.3.1
18
19 x11-libs/libxcb/libxcb-1.12-r2.ebuild | 58 +++++++++++++++++++++++++++++++++++
20 1 file changed, 58 insertions(+)
21
22 diff --git a/x11-libs/libxcb/libxcb-1.12-r2.ebuild b/x11-libs/libxcb/libxcb-1.12-r2.ebuild
23 new file mode 100644
24 index 00000000..04c48a2
25 --- /dev/null
26 +++ b/x11-libs/libxcb/libxcb-1.12-r2.ebuild
27 @@ -0,0 +1,58 @@
28 +# Copyright 1999-2016 Gentoo Foundation
29 +# Distributed under the terms of the GNU General Public License v2
30 +# $Id$
31 +
32 +EAPI=5
33 +
34 +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} )
35 +PYTHON_REQ_USE=xml
36 +
37 +XORG_DOC=doc
38 +XORG_MULTILIB=yes
39 +XORG_EAUTORECONF=yes
40 +inherit python-any-r1 xorg-2
41 +
42 +DESCRIPTION="X C-language Bindings library"
43 +HOMEPAGE="https://xcb.freedesktop.org/"
44 +EGIT_REPO_URI="git://anongit.freedesktop.org/git/xcb/libxcb"
45 +[[ ${PV} != 9999* ]] && \
46 + SRC_URI="https://xcb.freedesktop.org/dist/${P}.tar.bz2"
47 +
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~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"
49 +IUSE="doc selinux test xkb"
50 +SLOT="0/1.12" # Locked down for now to 1.12 to avoid further rebuilds on no ABI changes (e.g with any upcoming 1.12.1 bugfix release), bug 576890
51 +
52 +RDEPEND=">=dev-libs/libpthread-stubs-0.3-r1[${MULTILIB_USEDEP}]
53 + >=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}]
54 + >=x11-libs/libXdmcp-1.1.1-r1[${MULTILIB_USEDEP}]"
55 +# Note: ${PYTHON_USEDEP} needs to go verbatim
56 +DEPEND="${RDEPEND}
57 + test? ( dev-libs/check[${MULTILIB_USEDEP}] )
58 + doc? ( app-doc/doxygen[dot] )
59 + dev-libs/libxslt
60 + ${PYTHON_DEPS}
61 + $(python_gen_any_dep \
62 + ">=x11-proto/xcb-proto-1.12-r1[${MULTILIB_USEDEP},\${PYTHON_USEDEP}]")"
63 +
64 +python_check_deps() {
65 + has_version --host-root ">=x11-proto/xcb-proto-1.11[${PYTHON_USEDEP}]"
66 +}
67 +
68 +pkg_setup() {
69 + python-any-r1_pkg_setup
70 +}
71 +
72 +PATCHES=(
73 + "${FILESDIR}/${PN}-1.11-Don-t-install-headers-man-pages-for-disabled-extensi.patch"
74 + "${FILESDIR}/${P}-fix-inconsistent-use-tabs-space.patch"
75 +)
76 +
77 +src_configure() {
78 + XORG_CONFIGURE_OPTIONS=(
79 + $(use_enable doc devel-docs)
80 + $(use_enable selinux)
81 + $(use_enable xkb)
82 + --enable-xinput
83 + )
84 + xorg-2_src_configure
85 +}