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