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: Wed, 04 Mar 2020 19:31:11
Message-Id: 1583350253.41643b24a01125b4033b6907a5eff92125386af6.mattst88@gentoo
1 commit: 41643b24a01125b4033b6907a5eff92125386af6
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 4 17:16:52 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 4 19:30:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41643b24
7
8 dev-libs/wayland: Version bump to 1.18.0
9
10 Closes: https://bugs.gentoo.org/711258
11 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
12
13 dev-libs/wayland/Manifest | 1 +
14 dev-libs/wayland/wayland-1.18.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 54c86a14f87..c8f8132d6d3 100644
19 --- a/dev-libs/wayland/Manifest
20 +++ b/dev-libs/wayland/Manifest
21 @@ -1 +1,2 @@
22 DIST wayland-1.17.0.tar.xz 437680 BLAKE2B 2f4eb54c5ded90453b4e2812f7b5086aa211196ec9f7333d316cdb829269d55db570ccb45a67ee07a039633245e630ab54da6403ff4754d59366f3c13fb87549 SHA512 c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946
23 +DIST wayland-1.18.0.tar.xz 453968 BLAKE2B ee5b3f9dff07fda85b4d64bc753aff28c4a012184eb3a4bae8e3be0fb74324f12e9ea4e3dc049e06a11c7302e3c6b1e53e49109c814381641568d92b5572eed9 SHA512 e30199e30c2bbd361ee695b4f3f7a4e264f10ed8f46f2c90762b5739fc578ae757dc39aa0258d8fbf0ed418553470bccd4b2730ed9705481cfccdab5de96a8fc
24
25 diff --git a/dev-libs/wayland/wayland-1.18.0.ebuild b/dev-libs/wayland/wayland-1.18.0.ebuild
26 new file mode 100644
27 index 00000000000..ca127148e08
28 --- /dev/null
29 +++ b/dev-libs/wayland/wayland-1.18.0.ebuild
30 @@ -0,0 +1,70 @@
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 ~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/ https://gitlab.freedesktop.org/wayland/wayland"
47 +
48 +LICENSE="MIT"
49 +SLOT="0"
50 +IUSE="doc"
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 + >=dev-libs/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 +}