Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland-protocols/
Date: Wed, 04 Mar 2020 19:31:11
Message-Id: 1583350252.b969e4fa572316c09bbf6febcb77da48d1fa2e31.mattst88@gentoo
1 commit: b969e4fa572316c09bbf6febcb77da48d1fa2e31
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 4 17:15:15 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 4 19:30:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b969e4fa
7
8 dev-libs/wayland-protocols: Version bump to 1.19
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/wayland-protocols/Manifest | 1 +
13 .../wayland-protocols-1.19.ebuild | 37 ++++++++++++++++++++++
14 2 files changed, 38 insertions(+)
15
16 diff --git a/dev-libs/wayland-protocols/Manifest b/dev-libs/wayland-protocols/Manifest
17 index dc002f3a52f..96c5ba05c4b 100644
18 --- a/dev-libs/wayland-protocols/Manifest
19 +++ b/dev-libs/wayland-protocols/Manifest
20 @@ -1 +1,2 @@
21 DIST wayland-protocols-1.18.tar.xz 108344 BLAKE2B 7e770bafa364ff96441354246801d1c6cbe561eefe864673610dc2d47e3aa5ac7cd22a2fc2925aa1060a261ed6df8b6b5ef81c33adbeb374170821feeecd651f SHA512 166be44f370a99281da442e7e2c2fc2f3169b61eeaa69263611b4e33847e93d1071f3cc89537597e1252d48d03993ce39c7d65f43b66a23c9b1551f47959e483
22 +DIST wayland-protocols-1.19.tar.xz 107612 BLAKE2B ff91a7eeca0e43a3e93c927f440253c01751872ace142d874431a347ad652c04d02f36fa08b7e48787d569db9787415eafbd24495a442568b6476332c8935243 SHA512 f09b700a785da0002ca215d2e695461368534c5c961e064ca19b73fe0c72754b3c9d4076cf495d8c907053dbabb2381f6a2bbcef41564071a4c589a8c44ff0fb
23
24 diff --git a/dev-libs/wayland-protocols/wayland-protocols-1.19.ebuild b/dev-libs/wayland-protocols/wayland-protocols-1.19.ebuild
25 new file mode 100644
26 index 00000000000..85d20d4e9e3
27 --- /dev/null
28 +++ b/dev-libs/wayland-protocols/wayland-protocols-1.19.ebuild
29 @@ -0,0 +1,37 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +DESCRIPTION="Wayland protocol files"
36 +HOMEPAGE="https://wayland.freedesktop.org/"
37 +
38 +if [[ ${PV} = 9999* ]]; then
39 + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/${PN}.git/"
40 + inherit git-r3 autotools
41 +else
42 + SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
43 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
44 +fi
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +IUSE=""
49 +
50 +DEPEND="dev-libs/wayland"
51 +RDEPEND="${DEPEND}"
52 +BDEPEND="virtual/pkgconfig"
53 +
54 +src_prepare() {
55 + default
56 +
57 + [[ ${PV} == 9999 ]] && eautoreconf
58 +}
59 +
60 +src_test() {
61 + export XDG_RUNTIME_DIR="${T}/runtime-dir"
62 + mkdir "${XDG_RUNTIME_DIR}" || die
63 + chmod 0700 "${XDG_RUNTIME_DIR}" || die
64 +
65 + default
66 +}