1 |
commit: 432eab68610b0f58facd62b5835d5abf4e1e2b6e |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 16 19:26:14 2018 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 16 19:29:56 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432eab68 |
7 |
|
8 |
dev-libs/wayland: Version bump to 1.16 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/668770 |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
dev-libs/wayland/Manifest | 1 + |
14 |
dev-libs/wayland/wayland-1.16.0.ebuild | 73 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 74 insertions(+) |
16 |
|
17 |
diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest |
18 |
index 9e0aa19b30e..90b92d2812c 100644 |
19 |
--- a/dev-libs/wayland/Manifest |
20 |
+++ b/dev-libs/wayland/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST wayland-1.15.0.tar.xz 432932 BLAKE2B d86e5ba52c16664926e4688317db3fad4f9629c3903239dde46ee238ef7874f28e39daa6bbda96519dfda4ff83a1f540522f21fbabe9b71aa263523481d4eb5b SHA512 f908917f1b575d2dc4d9770d3303e2637e8744fcb5c81feb2af2fe82cc51f54e22beaddfbe775fcf9623584169b7a062c75076132abeb888717180bfab53b3a8 |
23 |
+DIST wayland-1.16.0.tar.xz 435216 BLAKE2B 862cc8ca9da060f9b8345aa0a62a4af76a31562246b75d2679bcf30cc894cc94ec28f97951f766b6e5297b2e113cd8b08e5682dacbfc79544c0085995693ec55 SHA512 64eca2b1c0bc7913508a5499dae87e2723c712d8024acbb4c77c3c4a6c20de78c10704ae9827fd034116ca540a547aeec28c5a1e3bd382b23f85231424b0f49c |
24 |
|
25 |
diff --git a/dev-libs/wayland/wayland-1.16.0.ebuild b/dev-libs/wayland/wayland-1.16.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..fccfe91aa57 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/wayland/wayland-1.16.0.ebuild |
30 |
@@ -0,0 +1,73 @@ |
31 |
+# Copyright 1999-2018 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+EGIT_REPO_URI="https://anongit.freedesktop.org/git/wayland/wayland.git" |
37 |
+ |
38 |
+if [[ ${PV} = 9999* ]]; then |
39 |
+ GIT_ECLASS="git-r3" |
40 |
+fi |
41 |
+ |
42 |
+inherit autotools libtool multilib-minimal toolchain-funcs $GIT_ECLASS |
43 |
+ |
44 |
+DESCRIPTION="Wayland protocol libraries" |
45 |
+HOMEPAGE="https://wayland.freedesktop.org/" |
46 |
+ |
47 |
+if [[ $PV = 9999* ]]; then |
48 |
+ SRC_URI="" |
49 |
+else |
50 |
+ SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz" |
51 |
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
52 |
+fi |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0" |
56 |
+IUSE="doc static-libs" |
57 |
+ |
58 |
+RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
59 |
+ >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}] |
60 |
+ dev-libs/libxml2:= |
61 |
+ !!<media-libs/mesa-18.1.1-r1" |
62 |
+DEPEND="${RDEPEND} |
63 |
+ doc? ( |
64 |
+ >=app-doc/doxygen-1.6[dot] |
65 |
+ app-text/xmlto |
66 |
+ >=media-gfx/graphviz-2.26.0 |
67 |
+ sys-apps/grep[pcre] |
68 |
+ ) |
69 |
+ virtual/pkgconfig" |
70 |
+ |
71 |
+src_prepare() { |
72 |
+ default |
73 |
+ [[ $PV = 9999* ]] && eautoreconf || elibtoolize |
74 |
+} |
75 |
+ |
76 |
+multilib_src_configure() { |
77 |
+ local myconf |
78 |
+ if tc-is-cross-compiler ; then |
79 |
+ myconf+=' --with-host-scanner ' |
80 |
+ fi |
81 |
+ |
82 |
+ ECONF_SOURCE="${S}" econf \ |
83 |
+ --disable-static \ |
84 |
+ $(multilib_native_use_enable doc documentation) \ |
85 |
+ $(multilib_native_enable dtd-validation) \ |
86 |
+ ${myconf} |
87 |
+} |
88 |
+ |
89 |
+multilib_src_install_all() { |
90 |
+ find "${D}" -name '*.la' -delete || die |
91 |
+ einstalldocs |
92 |
+} |
93 |
+ |
94 |
+src_test() { |
95 |
+ # We set it on purpose to only a short subdir name, as socket paths are |
96 |
+ # created in there, which are 108 byte limited. With this it hopefully |
97 |
+ # barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/xdr |
98 |
+ export XDG_RUNTIME_DIR="${T}"/xdr |
99 |
+ mkdir "${XDG_RUNTIME_DIR}" || die |
100 |
+ chmod 0700 "${XDG_RUNTIME_DIR}" || die |
101 |
+ |
102 |
+ multilib-minimal_src_test |
103 |
+} |