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-util/wayland-scanner/
Date: Fri, 08 Jan 2021 03:24:35
Message-Id: 1610076090.24333cf8b38421e94c153792a4f05cc773c662bb.mattst88@gentoo
1 commit: 24333cf8b38421e94c153792a4f05cc773c662bb
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 03:16:20 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 03:21:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24333cf8
7
8 dev-util/wayland-scanner: Version bump to 1.18.92
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-util/wayland-scanner/Manifest | 1 +
13 .../wayland-scanner/wayland-scanner-1.18.92.ebuild | 49 ++++++++++++++++++++++
14 2 files changed, 50 insertions(+)
15
16 diff --git a/dev-util/wayland-scanner/Manifest b/dev-util/wayland-scanner/Manifest
17 index 8abe868d035..36f46957277 100644
18 --- a/dev-util/wayland-scanner/Manifest
19 +++ b/dev-util/wayland-scanner/Manifest
20 @@ -1 +1,2 @@
21 DIST wayland-1.18.91.tar.xz 453500 BLAKE2B 6e234fa637bf4329fcf37c7372e3d02a50742812e2f61477ce302da4c2a1b9377874b0e4e2da899c726ede417081c4d459e40863169352825dd38a8fe0dcf267 SHA512 5ab770c87507e8248aa5197a253f27f3cca984bf1a69c52b438e9aaf512e6b0d841321f81c20643a49ef62eeb6c8b3a6391eadfee5c8822c3cf0d63bb0a8e0f8
22 +DIST wayland-1.18.92.tar.xz 456320 BLAKE2B bd88156773b5ca817544e0aa496101dc144723dc7f4602011ce1bc4fedbbb20081d99fc882866c0f572139cf4bf4dcf1e7b181af48653b2c67622af07c7ab650 SHA512 837afe1accc632c445868a85792e708daa5d7dc5942888c2fa0981cfb0dd34a3d37667407f1875f04aa5710a07089f3b620a6b78dd19030b477d8b25941e6305
23
24 diff --git a/dev-util/wayland-scanner/wayland-scanner-1.18.92.ebuild b/dev-util/wayland-scanner/wayland-scanner-1.18.92.ebuild
25 new file mode 100644
26 index 00000000000..eeb424d9d3c
27 --- /dev/null
28 +++ b/dev-util/wayland-scanner/wayland-scanner-1.18.92.ebuild
29 @@ -0,0 +1,49 @@
30 +# Copyright 1999-2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +if [[ ${PV} = *9999* ]]; then
36 + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git"
37 + inherit git-r3
38 +else
39 + SRC_URI="https://wayland.freedesktop.org/releases/wayland-${PV}.tar.xz"
40 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
41 + S="${WORKDIR}/wayland-${PV}"
42 +fi
43 +inherit meson multilib-minimal
44 +
45 +DESCRIPTION="wayland-scanner tool"
46 +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +
51 +BDEPEND="virtual/pkgconfig"
52 +RDEPEND="
53 + !<dev-libs/wayland-${PV}
54 + >=dev-libs/expat-2.1.0-r3:=[$MULTILIB_USEDEP]
55 +"
56 +DEPEND="${RDEPEND}"
57 +
58 +multilib_src_configure() {
59 + local emesonargs=(
60 + -Ddocumentation=false
61 + -Ddtd_validation=false
62 + -Dlibraries=false
63 + -Dscanner=true
64 + )
65 + meson_src_configure
66 +}
67 +
68 +multilib_src_compile() {
69 + meson_src_compile
70 +}
71 +
72 +multilib_src_test() {
73 + meson_src_test
74 +}
75 +
76 +multilib_src_install() {
77 + meson_src_install
78 +}