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/
Date: Fri, 08 Jan 2021 03:24:37
Message-Id: 1610076091.577abfc6f3107a630929b0a262d3d337bf497f36.mattst88@gentoo
1 commit: 577abfc6f3107a630929b0a262d3d337bf497f36
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jan 8 03:15:22 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Jan 8 03:21:31 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577abfc6
7
8 dev-libs/wayland: Version bump to 1.18.92
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 dev-libs/wayland/Manifest | 1 +
13 dev-libs/wayland/wayland-1.18.92.ebuild | 85 +++++++++++++++++++++++++++++++++
14 2 files changed, 86 insertions(+)
15
16 diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
17 index fdbfcb68cac..6208e365ff8 100644
18 --- a/dev-libs/wayland/Manifest
19 +++ b/dev-libs/wayland/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wayland-1.18.0.tar.xz 453968 BLAKE2B ee5b3f9dff07fda85b4d64bc753aff28c4a012184eb3a4bae8e3be0fb74324f12e9ea4e3dc049e06a11c7302e3c6b1e53e49109c814381641568d92b5572eed9 SHA512 e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc
22 DIST wayland-1.18.91.tar.xz 453500 BLAKE2B 6e234fa637bf4329fcf37c7372e3d02a50742812e2f61477ce302da4c2a1b9377874b0e4e2da899c726ede417081c4d459e40863169352825dd38a8fe0dcf267 SHA512 5ab770c87507e8248aa5197a253f27f3cca984bf1a69c52b438e9aaf512e6b0d841321f81c20643a49ef62eeb6c8b3a6391eadfee5c8822c3cf0d63bb0a8e0f8
23 +DIST wayland-1.18.92.tar.xz 456320 BLAKE2B bd88156773b5ca817544e0aa496101dc144723dc7f4602011ce1bc4fedbbb20081d99fc882866c0f572139cf4bf4dcf1e7b181af48653b2c67622af07c7ab650 SHA512 837afe1accc632c445868a85792e708daa5d7dc5942888c2fa0981cfb0dd34a3d37667407f1875f04aa5710a07089f3b620a6b78dd19030b477d8b25941e6305
24
25 diff --git a/dev-libs/wayland/wayland-1.18.92.ebuild b/dev-libs/wayland/wayland-1.18.92.ebuild
26 new file mode 100644
27 index 00000000000..c3d2b584f4c
28 --- /dev/null
29 +++ b/dev-libs/wayland/wayland-1.18.92.ebuild
30 @@ -0,0 +1,85 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +if [[ ${PV} = *9999* ]]; then
37 + EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git"
38 + inherit git-r3
39 +else
40 + SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz"
41 + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
42 +fi
43 +inherit meson multilib-minimal
44 +
45 +DESCRIPTION="Wayland protocol libraries"
46 +HOMEPAGE="https://wayland.freedesktop.org/ https://gitlab.freedesktop.org/wayland/wayland"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +IUSE="doc"
51 +
52 +BDEPEND="
53 + ~dev-util/wayland-scanner-${PV}[$MULTILIB_USEDEP]
54 + virtual/pkgconfig
55 + doc? (
56 + >=app-doc/doxygen-1.6[dot]
57 + app-text/xmlto
58 + >=media-gfx/graphviz-2.26.0
59 + )
60 +"
61 +DEPEND="
62 + >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
63 + dev-libs/libxml2:=
64 + >=dev-libs/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
65 +"
66 +RDEPEND="${DEPEND}"
67 +
68 +meson_multilib() {
69 + if multilib_is_native_abi; then
70 + echo true
71 + else
72 + echo false
73 + fi
74 +}
75 +
76 +meson_multilib_native_use() {
77 + if multilib_is_native_abi && use "$1"; then
78 + echo true
79 + else
80 + echo false
81 + fi
82 +}
83 +
84 +multilib_src_configure() {
85 + local emesonargs=(
86 + -Ddocumentation=$(meson_multilib_native_use doc)
87 + -Ddtd_validation=$(meson_multilib)
88 + -Dlibraries=true
89 + -Dscanner=false
90 + )
91 + meson_src_configure
92 +}
93 +
94 +multilib_src_compile() {
95 + meson_src_compile
96 +}
97 +
98 +multilib_src_test() {
99 + meson_src_test
100 +}
101 +
102 +src_test() {
103 + # We set it on purpose to only a short subdir name, as socket paths are
104 + # created in there, which are 108 byte limited. With this it hopefully
105 + # barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/x
106 + export XDG_RUNTIME_DIR="${T}"/x
107 + mkdir "${XDG_RUNTIME_DIR}" || die
108 + chmod 0700 "${XDG_RUNTIME_DIR}" || die
109 +
110 + multilib-minimal_src_test
111 +}
112 +
113 +multilib_src_install() {
114 + meson_src_install
115 +}