Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/libxcb/
Date: Tue, 03 May 2022 22:32:31
Message-Id: 1651617102.b5d750a83d3e481c22cee5303647df4d35962f3b.mattst88@gentoo
1 commit: b5d750a83d3e481c22cee5303647df4d35962f3b
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 3 22:24:54 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue May 3 22:31:42 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d750a8
7
8 x11-libs/libxcb: Version bump to 1.15
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/libxcb/Manifest | 1 +
13 x11-libs/libxcb/libxcb-1.15.ebuild | 54 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/x11-libs/libxcb/Manifest b/x11-libs/libxcb/Manifest
17 index 7fce3a4ed083..8ea9468f9062 100644
18 --- a/x11-libs/libxcb/Manifest
19 +++ b/x11-libs/libxcb/Manifest
20 @@ -1 +1,2 @@
21 DIST libxcb-1.14.tar.xz 439404 BLAKE2B 63605e02dd32b4d26b3ac6d3b93b7383dbc30701b9a063e8efa5b387215c9325196451f80c7b0b357df1773c6fd1224eea8eeca2a456055a2cdc61082c726111 SHA512 b90a23204b0d2c29d8b115577edb01df0465e02d6a8876550fecd62375d24a5d5f872ddd5946772ddba077cadce75b12c7a6d218469dc30b5b92bc82188e8bc6
22 +DIST libxcb-1.15.tar.xz 446492 BLAKE2B d50146ee9b822dfd0c24513110e1706cda05ce588f276005167a911d3097275f36be1ce755c42c2b2970e750f10b2b943f3e373b6e55865fba986e29811a3545 SHA512 f6c7d766b7cf9cab6abe948ee424cbae6951dbfe2f76fa58a109cdc05b0f0919dcc4e38176a22ff4b95fc1e38596115317e32ba33b24cae0035a4e30dbcbdad9
23
24 diff --git a/x11-libs/libxcb/libxcb-1.15.ebuild b/x11-libs/libxcb/libxcb-1.15.ebuild
25 new file mode 100644
26 index 000000000000..f041a8fb59fd
27 --- /dev/null
28 +++ b/x11-libs/libxcb/libxcb-1.15.ebuild
29 @@ -0,0 +1,54 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +PYTHON_COMPAT=( python3_{8..10} )
36 +PYTHON_REQ_USE=xml
37 +
38 +XORG_TARBALL_SUFFIX="xz"
39 +XORG_MULTILIB=yes
40 +XORG_DOC=doc
41 +
42 +inherit python-any-r1 xorg-3
43 +
44 +DESCRIPTION="X C-language Bindings library"
45 +HOMEPAGE="https://xcb.freedesktop.org/ https://gitlab.freedesktop.org/xorg/lib/libxcb"
46 +
47 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
48 +IUSE="doc selinux test +xkb"
49 +RESTRICT="!test? ( test )"
50 +SLOT="0/1.12"
51 +
52 +RDEPEND="
53 + >=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}]
54 + >=x11-libs/libXdmcp-1.1.1-r1[${MULTILIB_USEDEP}]
55 +"
56 +DEPEND="${RDEPEND}
57 + >=x11-base/xcb-proto-1.15[${MULTILIB_USEDEP}]
58 + elibc_Darwin? ( dev-libs/libpthread-stubs )
59 + test? ( dev-libs/check[${MULTILIB_USEDEP}] )
60 +"
61 +# Note: ${PYTHON_USEDEP} needs to go verbatim
62 +BDEPEND="${PYTHON_DEPS}
63 + $(python_gen_any_dep '>=x11-base/xcb-proto-1.15[${PYTHON_USEDEP}]')
64 + doc? ( app-doc/doxygen[dot] )
65 + test? ( dev-libs/libxslt )
66 +"
67 +
68 +python_check_deps() {
69 + has_version -b ">=x11-base/xcb-proto-1.15[${PYTHON_USEDEP}]"
70 +}
71 +
72 +pkg_setup() {
73 + python-any-r1_pkg_setup
74 + xorg-3_pkg_setup
75 +}
76 +
77 +src_configure() {
78 + local XORG_CONFIGURE_OPTIONS=(
79 + $(use_enable doc devel-docs)
80 + $(use_enable selinux)
81 + )
82 + xorg-3_src_configure
83 +}