Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland/
Date: Tue, 22 Aug 2017 21:18:43
Message-Id: 1503436632.b6f540eb0e59b48f2fb113d288c212b6bac0baff.leio@gentoo
1 commit: b6f540eb0e59b48f2fb113d288c212b6bac0baff
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Aug 22 20:53:52 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Tue Aug 22 21:17:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6f540eb
7
8 dev-libs/wayland: bump to 1.14.0
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 dev-libs/wayland/Manifest | 1 +
13 dev-libs/wayland/wayland-1.14.0.ebuild | 72 ++++++++++++++++++++++++++++++++++
14 2 files changed, 73 insertions(+)
15
16 diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
17 index 5a6337d60ad..7095e348d13 100644
18 --- a/dev-libs/wayland/Manifest
19 +++ b/dev-libs/wayland/Manifest
20 @@ -1,2 +1,3 @@
21 DIST wayland-1.12.0.tar.xz 379520 SHA256 d6b4135cba0188abcb7275513c72dede751d6194f6edc5b82183a3ba8b821ab1 SHA512 cde05344e6c9ee40c80651f5b6d6b4a14787a9cf2c8e3099d69b8f78672610e3ccbe4a87446f9ae93ca402cfbb916ef7444294efa7a0fc88ef1a984f94dabd20 WHIRLPOOL 8dc03639759908921c7d5d5df4dc02c6f7e96d9c9a7e8728bd64310a10c54fe50c4042ced3db4954ff4512f073c1bd8993df207b45182d862f6ffeeb0b1283e4
22 DIST wayland-1.13.0.tar.xz 414508 SHA256 69b052c031a61e89af7cc8780893d0da1e301492352aa449dee9345043e6fe51 SHA512 163bae2c2c2e79e03dda9a57b1e3a1060eff9e0b053b70ad00a6949a1d40f4c40d0244340c2603109fcbfe919533c2ce196338b27587fd3bda996e615d51e543 WHIRLPOOL a581769134155f1063e464083b93c2159417f8f481d4e86dc4ca88dd792ff01edfbc3fef4ed5bf74212554a622d81eeec091547628b9a488038073f4927ac5b9
23 +DIST wayland-1.14.0.tar.xz 413960 SHA256 ed80cabc0961a759a42092e2c39aabfc1ec9a13c86c98bbe2b812f008da27ab8 SHA512 bd38b2b8963d4d98d42c270e5d7dbff6323789a173b19b67a18258424fd8adee5021b282c9d7f6dad0bd25aa0160e76aecd8ed803d4eb25d911ef0a81cd713a5 WHIRLPOOL 18f98155406c5df63a63bfad829efa850d0bd9b9053dbc0158475b71786632faa88098a297d09b8ce4b94ffb490a2de541a33f6001c18b160cb14c6ff6426125
24
25 diff --git a/dev-libs/wayland/wayland-1.14.0.ebuild b/dev-libs/wayland/wayland-1.14.0.ebuild
26 new file mode 100644
27 index 00000000000..4e25ea990ff
28 --- /dev/null
29 +++ b/dev-libs/wayland/wayland-1.14.0.ebuild
30 @@ -0,0 +1,72 @@
31 +# Copyright 1999-2017 Gentoo Foundation
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 ltprune 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 +DEPEND="${RDEPEND}
62 + doc? (
63 + >=app-doc/doxygen-1.6[dot]
64 + app-text/xmlto
65 + >=media-gfx/graphviz-2.26.0
66 + sys-apps/grep[pcre]
67 + )
68 + virtual/pkgconfig"
69 +
70 +src_prepare() {
71 + default
72 + [[ $PV = 9999* ]] && eautoreconf || elibtoolize
73 +}
74 +
75 +multilib_src_configure() {
76 + local myconf
77 + if tc-is-cross-compiler ; then
78 + myconf+=' --with-host-scanner '
79 + fi
80 +
81 + ECONF_SOURCE="${S}" econf \
82 + --disable-static \
83 + $(multilib_native_use_enable doc documentation) \
84 + $(multilib_native_enable dtd-validation) \
85 + ${myconf}
86 +}
87 +
88 +multilib_src_install_all() {
89 + prune_libtool_files
90 + einstalldocs
91 +}
92 +
93 +src_test() {
94 + # We set it on purpose to only a short subdir name, as socket paths are
95 + # created in there, which are 108 byte limited. With this it hopefully
96 + # barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/xdr
97 + export XDG_RUNTIME_DIR="${T}"/xdr
98 + mkdir "${XDG_RUNTIME_DIR}" || die
99 + chmod 0700 "${XDG_RUNTIME_DIR}" || die
100 +
101 + multilib-minimal_src_test
102 +}