From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7FB691384C0 for ; Sun, 30 Aug 2015 00:43:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0115AE08F0; Sun, 30 Aug 2015 00:43:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 366DBE08F0 for ; Sun, 30 Aug 2015 00:43:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 57AE23408EC for ; Sun, 30 Aug 2015 00:43:16 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0BC27170 for ; Sun, 30 Aug 2015 00:43:15 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1440895601.2f5f3597c24a5372120a1f69c4ce4e368d35f426.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/wayland/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/wayland/wayland-9999.ebuild X-VCS-Directories: dev-libs/wayland/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 2f5f3597c24a5372120a1f69c4ce4e368d35f426 X-VCS-Branch: master Date: Sun, 30 Aug 2015 00:43:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 1b128ee4-9aff-47ed-b653-c81852c170c3 X-Archives-Hash: 42a00de85ac7a98252ff9ff7faf00e14 commit: 2f5f3597c24a5372120a1f69c4ce4e368d35f426 Author: Matt Turner gentoo org> AuthorDate: Sun Aug 30 00:29:09 2015 +0000 Commit: Matt Turner gentoo org> CommitDate: Sun Aug 30 00:46:41 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5f3597 dev-libs/wayland: Add git ebuild. dev-libs/wayland/wayland-9999.ebuild | 63 ++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild new file mode 100644 index 0000000..ae7ec67 --- /dev/null +++ b/dev-libs/wayland/wayland-9999.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2015 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="http://wayland.freedesktop.org/" + +if [[ $PV = 9999* ]]; then + SRC_URI="${SRC_PATCHES}" + KEYWORDS="" +else + SRC_URI="http://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}]" +DEPEND="${RDEPEND} + doc? ( + >=app-doc/doxygen-1.6[dot] + app-text/xmlto + >=media-gfx/graphviz-2.26.0 + sys-apps/grep[pcre] + ) + virtual/pkgconfig" + +src_configure() { + local myeconfargs=( + $(use_enable static-libs static) + $(use_enable doc documentation) + ) + if tc-is-cross-compiler ; then + myeconfargs+=( --disable-scanner ) + fi + if ! multilib_is_native_abi; then + myeconfargs+=( --disable-documentation ) + fi + + autotools-multilib_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 +}