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-base/xorg-proto/
Date: Sat, 28 Aug 2021 01:53:29
Message-Id: 1630115591.b5a5d7d02c14da8a1bda408a811c101013220ea1.mattst88@gentoo
1 commit: b5a5d7d02c14da8a1bda408a811c101013220ea1
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 28 01:05:38 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 28 01:53:11 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5a5d7d0
7
8 x11-base/xorg-proto: Version bump to 2021.4.99.2
9
10 Closes: https://bugs.gentoo.org/794565
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 x11-base/xorg-proto/Manifest | 1 +
14 x11-base/xorg-proto/xorg-proto-2021.4.99.2.ebuild | 54 +++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest
18 index afc5b7f1f69..fb8f14bd86a 100644
19 --- a/x11-base/xorg-proto/Manifest
20 +++ b/x11-base/xorg-proto/Manifest
21 @@ -1 +1,2 @@
22 +DIST xorgproto-2021.4.99.2.tar.gz 1143087 BLAKE2B eabdbc903a058a9be919192ac71fc95cedc2ff58e131a0eae6454be1e03714fb592d020ce8d9a4915a620de2a4d1c7cf2c5939c53ba96199f2a2ea579c450606 SHA512 34c4cb2aa97568be5ac5480c86122e9733afab3d17d48d170636aa10b39a99d6d637864d872ab78040a468ee3896a1aa42f5124bc8a4901dbb4b543eada7a607
23 DIST xorgproto-2021.4.tar.gz 1141941 BLAKE2B 016a3c2f30ed064855de2a13d86a4b7bc9420ff10e8ac3ba97e08512fef6f0495a69dcaea7f12c7d8694a52284b500a38aee73de7bf2ff0a295715354d04eab0 SHA512 5f4c94d3ee20635f2358d7644be54d5e291bafba15a7713583acbb3564c2799da4ba33ffba625273fe015e4ab733cbaec146467804fd2174eb5fd1ff3bf21019
24
25 diff --git a/x11-base/xorg-proto/xorg-proto-2021.4.99.2.ebuild b/x11-base/xorg-proto/xorg-proto-2021.4.99.2.ebuild
26 new file mode 100644
27 index 00000000000..3544d1e5d5e
28 --- /dev/null
29 +++ b/x11-base/xorg-proto/xorg-proto-2021.4.99.2.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python3_{7..9} )
36 +
37 +MY_PN="${PN/xorg-/xorg}"
38 +MY_P="${MY_PN}-${PV}"
39 +
40 +EGIT_REPO_URI="https://gitlab.freedesktop.org/xorg/proto/${MY_PN}.git"
41 +
42 +if [[ ${PV} = 9999* ]]; then
43 + GIT_ECLASS="git-r3"
44 +fi
45 +
46 +inherit ${GIT_ECLASS} meson python-any-r1
47 +
48 +DESCRIPTION="X.Org combined protocol headers"
49 +HOMEPAGE="https://gitlab.freedesktop.org/xorg/proto/xorgproto"
50 +if [[ ${PV} = 9999* ]]; then
51 + SRC_URI=""
52 +else
53 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
54 + SRC_URI="https://xorg.freedesktop.org/archive/individual/proto/${MY_P}.tar.gz"
55 + S="${WORKDIR}/${MY_P}"
56 +fi
57 +
58 +LICENSE="MIT"
59 +SLOT="0"
60 +IUSE="test"
61 +RESTRICT="!test? ( test )"
62 +
63 +DEPEND="
64 + test? (
65 + $(python_gen_any_dep '
66 + dev-python/python-libevdev[${PYTHON_USEDEP}]
67 + ')
68 + )
69 +"
70 +RDEPEND=""
71 +
72 +python_check_deps() {
73 + has_version -b "dev-python/python-libevdev[${PYTHON_USEDEP}]"
74 +}
75 +
76 +pkg_setup() {
77 + use test && python-any-r1_pkg_setup
78 +}
79 +
80 +src_install() {
81 + meson_src_install
82 +
83 + mv "${ED}"/usr/share/doc/{xorgproto,${P}} || die
84 +}