diff options
author | Michał Górny <mgorny@gentoo.org> | 2013-09-21 17:08:53 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2013-09-21 17:08:53 +0000 |
commit | 5106411a79467869dda31ff39e9a63cd1ebce885 (patch) | |
tree | 78f632e16da95000f1834ff1abd697b53c90e1d4 | |
parent | Use correct package name in ChangeLog. (diff) | |
download | gentoo-2-5106411a79467869dda31ff39e9a63cd1ebce885.tar.gz gentoo-2-5106411a79467869dda31ff39e9a63cd1ebce885.tar.bz2 gentoo-2-5106411a79467869dda31ff39e9a63cd1ebce885.zip |
Convert to multilib.
(Portage version: 2.2.6/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
-rw-r--r-- | dev-libs/wayland/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/wayland/wayland-1.2.1-r1.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/dev-libs/wayland/ChangeLog b/dev-libs/wayland/ChangeLog index 68dbddd0b643..763733da7307 100644 --- a/dev-libs/wayland/ChangeLog +++ b/dev-libs/wayland/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/wayland # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/ChangeLog,v 1.22 2013/08/25 16:39:35 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/ChangeLog,v 1.23 2013/09/21 17:08:53 mgorny Exp $ + +*wayland-1.2.1-r1 (21 Sep 2013) + + 21 Sep 2013; Michał Górny <mgorny@gentoo.org> +wayland-1.2.1-r1.ebuild: + Convert to multilib. *wayland-1.2.1 (25 Aug 2013) diff --git a/dev-libs/wayland/wayland-1.2.1-r1.ebuild b/dev-libs/wayland/wayland-1.2.1-r1.ebuild new file mode 100644 index 000000000000..595cc5096ece --- /dev/null +++ b/dev-libs/wayland/wayland-1.2.1-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/wayland/wayland-1.2.1-r1.ebuild,v 1.1 2013/09/21 17:08:53 mgorny Exp $ + +EAPI=5 + +if [[ ${PV} = 9999* ]]; then + EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}" + GIT_ECLASS="git-2" + 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="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="doc static-libs" + +RDEPEND="dev-libs/expat + virtual/libffi" +DEPEND="${RDEPEND} + doc? ( app-doc/doxygen ) + virtual/pkgconfig" + +src_configure() { + local myeconfargs=( + $(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 +} |