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: Tue, 26 Mar 2019 04:13:53
Message-Id: 1553573582.0252795a66c95ae30819f0cdc26b89821794c07e.mattst88@gentoo
1 commit: 0252795a66c95ae30819f0cdc26b89821794c07e
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 26 04:11:30 2019 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 26 04:13:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0252795a
7
8 dev-libs/wayland: Version bump to 1.17.0
9
10 Closes: https://bugs.gentoo.org/624190
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-libs/wayland/Manifest | 1 +
14 dev-libs/wayland/wayland-1.17.0.ebuild | 70 ++++++++++++++++++++++++++++++++++
15 2 files changed, 71 insertions(+)
16
17 diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
18 index 796b113aaa5..9d43aa8e6df 100644
19 --- a/dev-libs/wayland/Manifest
20 +++ b/dev-libs/wayland/Manifest
21 @@ -1 +1,2 @@
22 DIST wayland-1.16.0.tar.xz 435216 BLAKE2B 862cc8ca9da060f9b8345aa0a62a4af76a31562246b75d2679bcf30cc894cc94ec28f97951f766b6e5297b2e113cd8b08e5682dacbfc79544c0085995693ec55 SHA512 64eca2b1c0bc7913508a5499dae87e2723c712d8024acbb4c77c3c4a6c20de78c10704ae9827fd034116ca540a547aeec28c5a1e3bd382b23f85231424b0f49c
23 +DIST wayland-1.17.0.tar.xz 437680 BLAKE2B 2f4eb54c5ded90453b4e2812f7b5086aa211196ec9f7333d316cdb829269d55db570ccb45a67ee07a039633245e630ab54da6403ff4754d59366f3c13fb87549 SHA512 c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946
24
25 diff --git a/dev-libs/wayland/wayland-1.17.0.ebuild b/dev-libs/wayland/wayland-1.17.0.ebuild
26 new file mode 100644
27 index 00000000000..7e909b19826
28 --- /dev/null
29 +++ b/dev-libs/wayland/wayland-1.17.0.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2019 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 ~s390 ~sh ~sparc ~x86"
42 +fi
43 +inherit autotools libtool multilib-minimal toolchain-funcs
44 +
45 +DESCRIPTION="Wayland protocol libraries"
46 +HOMEPAGE="https://wayland.freedesktop.org/"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +IUSE="doc static-libs"
51 +
52 +BDEPEND="
53 + virtual/pkgconfig
54 + doc? (
55 + >=app-doc/doxygen-1.6[dot]
56 + app-text/xmlto
57 + >=media-gfx/graphviz-2.26.0
58 + sys-apps/grep[pcre]
59 + )
60 +"
61 +DEPEND="
62 + >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
63 + dev-libs/libxml2:=
64 + >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
65 +"
66 +RDEPEND="${DEPEND}
67 + !<media-libs/mesa-18.1.1-r1
68 +"
69 +
70 +src_prepare() {
71 + default
72 + [[ $PV = 9999* ]] && eautoreconf || elibtoolize
73 +}
74 +
75 +multilib_src_configure() {
76 + local myeconfargs=(
77 + --disable-static
78 + $(multilib_native_use_enable doc documentation)
79 + $(multilib_native_enable dtd-validation)
80 + )
81 + tc-is-cross-compiler && myeconfargs+=( --with-host-scanner )
82 +
83 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
84 +}
85 +
86 +multilib_src_install_all() {
87 + find "${D}" -name '*.la' -delete || die
88 + einstalldocs
89 +}
90 +
91 +src_test() {
92 + # We set it on purpose to only a short subdir name, as socket paths are
93 + # created in there, which are 108 byte limited. With this it hopefully
94 + # barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/xdr
95 + export XDG_RUNTIME_DIR="${T}"/xdr
96 + mkdir "${XDG_RUNTIME_DIR}" || die
97 + chmod 0700 "${XDG_RUNTIME_DIR}" || die
98 +
99 + multilib-minimal_src_test
100 +}