commit:     0252795a66c95ae30819f0cdc26b89821794c07e
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 04:11:30 2019 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 04:13:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0252795a

dev-libs/wayland: Version bump to 1.17.0

Closes: https://bugs.gentoo.org/624190
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/wayland/Manifest              |  1 +
 dev-libs/wayland/wayland-1.17.0.ebuild | 70 ++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)

diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
index 796b113aaa5..9d43aa8e6df 100644
--- a/dev-libs/wayland/Manifest
+++ b/dev-libs/wayland/Manifest
@@ -1 +1,2 @@
 DIST wayland-1.16.0.tar.xz 435216 BLAKE2B 
862cc8ca9da060f9b8345aa0a62a4af76a31562246b75d2679bcf30cc894cc94ec28f97951f766b6e5297b2e113cd8b08e5682dacbfc79544c0085995693ec55
 SHA512 
64eca2b1c0bc7913508a5499dae87e2723c712d8024acbb4c77c3c4a6c20de78c10704ae9827fd034116ca540a547aeec28c5a1e3bd382b23f85231424b0f49c
+DIST wayland-1.17.0.tar.xz 437680 BLAKE2B 
2f4eb54c5ded90453b4e2812f7b5086aa211196ec9f7333d316cdb829269d55db570ccb45a67ee07a039633245e630ab54da6403ff4754d59366f3c13fb87549
 SHA512 
c5051aab5ff078b368c196ecfedb33ccd961265bb914845d7ed81de361bb86ae18299575baa6c4eceb0d82cf8b495e8293f31b51d1cbc05d84af0a199ab3f946

diff --git a/dev-libs/wayland/wayland-1.17.0.ebuild 
b/dev-libs/wayland/wayland-1.17.0.ebuild
new file mode 100644
index 00000000000..7e909b19826
--- /dev/null
+++ b/dev-libs/wayland/wayland-1.17.0.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} = *9999* ]]; then
+       EGIT_REPO_URI="https://gitlab.freedesktop.org/wayland/wayland.git";
+       inherit git-r3
+else
+       SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz";
+       KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 
~s390 ~sh ~sparc ~x86"
+fi
+inherit autotools libtool multilib-minimal toolchain-funcs
+
+DESCRIPTION="Wayland protocol libraries"
+HOMEPAGE="https://wayland.freedesktop.org/";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="doc static-libs"
+
+BDEPEND="
+       virtual/pkgconfig
+       doc? (
+               >=app-doc/doxygen-1.6[dot]
+               app-text/xmlto
+               >=media-gfx/graphviz-2.26.0
+               sys-apps/grep[pcre]
+       )
+"
+DEPEND="
+       >=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
+       dev-libs/libxml2:=
+       >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}
+       !<media-libs/mesa-18.1.1-r1
+"
+
+src_prepare() {
+       default
+       [[ $PV = 9999* ]] && eautoreconf || elibtoolize
+}
+
+multilib_src_configure() {
+       local myeconfargs=(
+               --disable-static
+               $(multilib_native_use_enable doc documentation)
+               $(multilib_native_enable dtd-validation)
+       )
+       tc-is-cross-compiler && myeconfargs+=( --with-host-scanner )
+
+       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_install_all() {
+       find "${D}" -name '*.la' -delete || die
+       einstalldocs
+}
+
+src_test() {
+       # We set it on purpose to only a short subdir name, as socket paths are
+       # created in there, which are 108 byte limited. With this it hopefully
+       # barely fits to the limit with /var/tmp/portage/$CAT/$PF/temp/xdr
+       export XDG_RUNTIME_DIR="${T}"/xdr
+       mkdir "${XDG_RUNTIME_DIR}" || die
+       chmod 0700 "${XDG_RUNTIME_DIR}" || die
+
+       multilib-minimal_src_test
+}

Reply via email to