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: Wed, 15 Sep 2021 20:27:20
Message-Id: 1631737628.2fdfd2efca62435387acfe82bb4ac880cfdfbb93.mattst88@gentoo
1 commit: 2fdfd2efca62435387acfe82bb4ac880cfdfbb93
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Sep 15 19:58:32 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 20:27:08 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fdfd2ef
7
8 x11-base/xorg-proto: Version bump to 2021.5
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-base/xorg-proto/Manifest | 1 +
13 x11-base/xorg-proto/xorg-proto-2021.5.ebuild | 54 ++++++++++++++++++++++++++++
14 2 files changed, 55 insertions(+)
15
16 diff --git a/x11-base/xorg-proto/Manifest b/x11-base/xorg-proto/Manifest
17 index fb8f14bd86a..e577d59f4d9 100644
18 --- a/x11-base/xorg-proto/Manifest
19 +++ b/x11-base/xorg-proto/Manifest
20 @@ -1,2 +1,3 @@
21 DIST xorgproto-2021.4.99.2.tar.gz 1143087 BLAKE2B eabdbc903a058a9be919192ac71fc95cedc2ff58e131a0eae6454be1e03714fb592d020ce8d9a4915a620de2a4d1c7cf2c5939c53ba96199f2a2ea579c450606 SHA512 34c4cb2aa97568be5ac5480c86122e9733afab3d17d48d170636aa10b39a99d6d637864d872ab78040a468ee3896a1aa42f5124bc8a4901dbb4b543eada7a607
22 DIST xorgproto-2021.4.tar.gz 1141941 BLAKE2B 016a3c2f30ed064855de2a13d86a4b7bc9420ff10e8ac3ba97e08512fef6f0495a69dcaea7f12c7d8694a52284b500a38aee73de7bf2ff0a295715354d04eab0 SHA512 5f4c94d3ee20635f2358d7644be54d5e291bafba15a7713583acbb3564c2799da4ba33ffba625273fe015e4ab733cbaec146467804fd2174eb5fd1ff3bf21019
23 +DIST xorgproto-2021.5.tar.gz 1132811 BLAKE2B 3fe288cf8a848436dacc0ebf437b6a1d2c81878abaf8c542ff45e70389643cb2bc25bdab5ab6ff9d44a4f9bbdbd24757d21617c2c6a0754870afcd9f60ccbb05 SHA512 9c9ec62f0af68fd0dff24010986326a2b201be2b56b8b94abfe7258bf66b3c4c37088596c43a234aae63b1d781f7797caf408e434c98e8805803bc890b8aacb0
24
25 diff --git a/x11-base/xorg-proto/xorg-proto-2021.5.ebuild b/x11-base/xorg-proto/xorg-proto-2021.5.ebuild
26 new file mode 100644
27 index 00000000000..3544d1e5d5e
28 --- /dev/null
29 +++ b/x11-base/xorg-proto/xorg-proto-2021.5.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 +}