1 |
commit: d152217464aacb2722f8652243a9f3b571fa537d |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Apr 30 18:54:48 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Apr 30 19:08:14 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d1522174 |
7 |
|
8 |
x11-base/xorg-proto: Version bump to 2021.4 |
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.4.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 538ac79ab77..8099f908503 100644 |
18 |
--- a/x11-base/xorg-proto/Manifest |
19 |
+++ b/x11-base/xorg-proto/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST xorgproto-2020.1.tar.gz 1081369 BLAKE2B 1bed8d65499926a830180ee1fce5e5e57a276a6412231508eabb6c5eea5ee20dcce4046fc82203d5be88d1f24fb7919289393551d339e5cf5cb80b1c14f22c42 SHA512 d0bc3aec517fd00fa5fd32a5715760c34810a19154e10fb1f92f2e2fe7f26136f7ba9b76b47fcd37c3c4796663154f4e5abf6a18dd634619b0f718f3e4737ae9 |
22 |
DIST xorgproto-2021.3.tar.gz 1130599 BLAKE2B 21aa84621984cd2635871c059ecbfe2c6290c74a3569f15cdce6080dd7e4106726ae9338112c075c8f64332ecb555a4ccb666bd7bf7e9bb1156b4591e5f37908 SHA512 0c2610551cc180b619611e0ad344e1a01cb0e5e83b3c8643cd6dbe19d8acc3a22e7c1522855923159dd753e4458c9f2d65b709bb045b27e17b83aa8c264e3d5a |
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.ebuild b/x11-base/xorg-proto/xorg-proto-2021.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..3544d1e5d5e |
28 |
--- /dev/null |
29 |
+++ b/x11-base/xorg-proto/xorg-proto-2021.4.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 |
+} |