commit:     c9482880eb156542bb91e70ff5cc302fa5df7b7f
Author:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
AuthorDate: Wed Nov  9 01:19:05 2016 +0000
Commit:     Aric Belsito <lluixhi <AT> gmail <DOT> com>
CommitDate: Wed Nov  9 01:19:05 2016 +0000
URL:        https://gitweb.gentoo.org/proj/musl.git/commit/?id=c9482880

dev-libs/wayland: Add stable

1.12.0 has the uint patch included.

 dev-libs/wayland/Manifest                        |  4 ++
 dev-libs/wayland/files/1.11.0-replace-uint.patch | 12 +++++
 dev-libs/wayland/metadata.xml                    |  8 +++
 dev-libs/wayland/wayland-1.11.0.ebuild           | 63 ++++++++++++++++++++++++
 4 files changed, 87 insertions(+)

diff --git a/dev-libs/wayland/Manifest b/dev-libs/wayland/Manifest
new file mode 100644
index 0000000..ca5c32f
--- /dev/null
+++ b/dev-libs/wayland/Manifest
@@ -0,0 +1,4 @@
+AUX 1.11.0-replace-uint.patch 436 SHA256 
de3a362ac0d1f4874561b2ec0546f6d8a704b800bcc622458ded5b16c3e371ce SHA512 
0b061820ce75f45e5d8d3d5f198759057bbc37a266f56e59ede3646aa1c80a1c6e0198dfef3e678bf72d4ed7d9d2137f7688d5556eb00d3afe7d8a19033857f5
 WHIRLPOOL 
59c06465767c24b9f0d49d73aeb8982460cdced87304f671d363deb7325dc8d0b803d2ca1b5ee9fc2e9810ee00deef8d2469c1a5c8e3e253064192560ceb00f8
+DIST wayland-1.11.0.tar.xz 374468 SHA256 
9540925f7928becfdf5e3b84c70757f6589bf1ceef09bea78784d8e4772c0db0 SHA512 
c8a0c927b6e095707a58398fe545ed708f4c808a70920c1f82c79d4275e6137cdf9926c0f18227faba511f717f4db4dfee9528075e00ec600ea44b97479471dd
 WHIRLPOOL 
6361bb1b05c5629b56e32d75ef4dd8398bacc31c03174e082b75850aeda2284fad929ccf91548b9d95b65524d3200013c27e02038c63ccb7e7f2f680e47cd3dd
+EBUILD wayland-1.11.0.ebuild 1467 SHA256 
787ac6b7f87df70987c30e380bb09477126800d1f31940561282ee791ebd9545 SHA512 
512cc910bfb209005a5c9f8bfe74c95b59f249d6fd9656628a2db4f242b2afaefa5e3488c4b6acee90983f5d35e6e31e782cbe4fa4df710dc3680c37217e0556
 WHIRLPOOL 
bdb4ed0d4b73d49dc6f4f531ff3a71861fc0d599e4e56075b1cc4205a8922cf2250f362727c1b3d78053b17215ca87709a3d24299ca1769b3b8157042b85204f
+MISC metadata.xml 230 SHA256 
677e4595d00a3098fde05ae33118b9ac05867dc5729c9cd579dc8badd1a28f68 SHA512 
d7a2643abd1904cc5ff4d91cbb6f1baeb7f75fd1db542c5e14f19412f4f0bd4b903f8e703a7662ba7482c79dac5529057760b6427599d35e0842755fd946e057
 WHIRLPOOL 
4866c82c6428eae526c0a514c988e4119221f77b0e8bfb04fec713dd3ba516c69afc776a0c6f53c29abfd8507aa23801614db1ba544dd0a0dd4d6a9462c27306

diff --git a/dev-libs/wayland/files/1.11.0-replace-uint.patch 
b/dev-libs/wayland/files/1.11.0-replace-uint.patch
new file mode 100644
index 0000000..ec27874
--- /dev/null
+++ b/dev-libs/wayland/files/1.11.0-replace-uint.patch
@@ -0,0 +1,12 @@
+diff -Naur wayland-1.11.0.orig/src/scanner.c wayland-1.11.0/src/scanner.c
+--- wayland-1.11.0.orig/src/scanner.c  2016-06-04 12:01:44.211512287 -0700
++++ wayland-1.11.0/src/scanner.c       2016-06-04 12:01:14.270164487 -0700
+@@ -808,7 +808,7 @@
+       struct interface *i;
+       struct enumeration *e;
+       char *enum_name;
+-      uint idx = 0, j;
++      uint32_t idx = 0, j;
+ 
+       for (j = 0; j + 1 < strlen(enum_attribute); j++) {
+               if (enum_attribute[j] == '.') {

diff --git a/dev-libs/wayland/metadata.xml b/dev-libs/wayland/metadata.xml
new file mode 100644
index 0000000..e943b72
--- /dev/null
+++ b/dev-libs/wayland/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+<maintainer type="project">
+       <email>x...@gentoo.org</email>
+       <name>X11</name>
+</maintainer>
+</pkgmetadata>

diff --git a/dev-libs/wayland/wayland-1.11.0.ebuild 
b/dev-libs/wayland/wayland-1.11.0.ebuild
new file mode 100644
index 0000000..9257c2a
--- /dev/null
+++ b/dev-libs/wayland/wayland-1.11.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+if [[ ${PV} = 9999* ]]; then
+       EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
+       GIT_ECLASS="git-r3"
+       EXPERIMENTAL="true"
+       AUTOTOOLS_AUTORECONF=1
+fi
+
+inherit autotools-multilib toolchain-funcs $GIT_ECLASS
+
+DESCRIPTION="Wayland protocol libraries"
+HOMEPAGE="https://wayland.freedesktop.org/";
+
+if [[ $PV = 9999* ]]; then
+       SRC_URI="${SRC_PATCHES}"
+       KEYWORDS="alpha amd64 arm hppa x86"
+else
+       SRC_URI="https://wayland.freedesktop.org/releases/${P}.tar.xz";
+       KEYWORDS="alpha amd64 arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh 
~sparc x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="doc static-libs"
+
+RDEPEND=">=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}]
+       >=virtual/libffi-3.0.13-r1:=[${MULTILIB_USEDEP}]
+       dev-libs/libxml2:="
+DEPEND="${RDEPEND}
+       doc? (
+               >=app-doc/doxygen-1.6[dot]
+               app-text/xmlto
+               >=media-gfx/graphviz-2.26.0
+               sys-apps/grep[pcre]
+       )
+       virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}/${PV}-replace-uint.patch" )
+
+multilib_src_configure() {
+       local myeconfargs=(
+               $(multilib_native_use_enable doc documentation)
+               $(multilib_native_enable dtd-validation)
+       )
+       if tc-is-cross-compiler ; then
+               myeconfargs+=( --with-host-scanner )
+       fi
+
+       autotools-utils_src_configure
+}
+
+src_test() {
+       export XDG_RUNTIME_DIR="${T}/runtime-dir"
+       mkdir "${XDG_RUNTIME_DIR}" || die
+       chmod 0700 "${XDG_RUNTIME_DIR}" || die
+
+       autotools-multilib_src_test
+}

Reply via email to