From: "Chi-Thanh Christopher Nguyen" <chithanh@cs.tu-berlin.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: dev-libs/wayland/
Date: Wed, 17 Jul 2013 16:42:47 +0000 (UTC) [thread overview]
Message-ID: <1374079282.3da9d5d686517074bbcdc9fb79b3a2c217ed16f0.chithead@gentoo> (raw)
commit: 3da9d5d686517074bbcdc9fb79b3a2c217ed16f0
Author: Chi-Thanh Christopher Nguyen <chithanh <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 17 16:41:22 2013 +0000
Commit: Chi-Thanh Christopher Nguyen <chithanh <AT> cs <DOT> tu-berlin <DOT> de>
CommitDate: Wed Jul 17 16:41:22 2013 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=3da9d5d6
dev-libs/wayland: sync ebuild with g-x86
Change control operators back to if clauses.
Revert eclass changes.
---
dev-libs/wayland/wayland-9999.ebuild | 50 +++++++++++++++++++++---------------
1 file changed, 29 insertions(+), 21 deletions(-)
diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild
index efce00d..20e4b89 100644
--- a/dev-libs/wayland/wayland-9999.ebuild
+++ b/dev-libs/wayland/wayland-9999.ebuild
@@ -3,41 +3,49 @@
# $Header: $
EAPI=5
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_PRUNE_LIBTOOL_FILES=all
-EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
-inherit autotools-utils toolchain-funcs
-[[ ${PV} == 9999* ]] && inherit git-2
+if [[ ${PV} = 9999* ]]; then
+ EGIT_REPO_URI="git://anongit.freedesktop.org/git/${PN}/${PN}"
+ GIT_ECLASS="git-2"
+ EXPERIMENTAL="true"
+fi
+
+inherit autotools toolchain-funcs $GIT_ECLASS
DESCRIPTION="Wayland protocol libraries"
HOMEPAGE="http://wayland.freedesktop.org/"
-[[ ${PV} == 9999* ]] || \
-SRC_URI="http://wayland.freedesktop.org/releases/${P}.tar.xz"
+
+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"
-[[ ${PV} == 9999* ]] || \
-KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~x86"
IUSE="doc static-libs"
-RDEPEND="
- dev-libs/expat
- virtual/libffi
-"
+RDEPEND="dev-libs/expat
+ virtual/libffi"
DEPEND="${RDEPEND}
- virtual/pkgconfig
doc? ( app-doc/doxygen )
-"
+ virtual/pkgconfig"
+
+src_prepare() {
+ if [[ ${PV} = 9999* ]]; then
+ eautoreconf
+ fi
+}
src_configure() {
- local myeconfargs=(
- $(use_enable doc documentation)
- )
+ myconf="$(use_enable static-libs static) \
+ $(use_enable doc documentation)"
if tc-is-cross-compiler ; then
- myeconfargs+=( --disable-scanner )
+ myconf+=" --disable-scanner"
fi
- autotools-utils_src_configure
+ econf ${myconf}
}
src_test() {
@@ -45,5 +53,5 @@ src_test() {
mkdir "${XDG_RUNTIME_DIR}" || die
chmod 0700 "${XDG_RUNTIME_DIR}" || die
- autotools-utils_src_test
+ default
}
next reply other threads:[~2013-07-17 16:42 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-17 16:42 Chi-Thanh Christopher Nguyen [this message]
-- strict thread matches above, loose matches on Subject: below --
2015-02-22 18:34 [gentoo-commits] proj/x11:master commit in: dev-libs/wayland/ Matt Turner
2014-05-21 16:42 Chi-Thanh Christopher Nguyen
2014-01-24 20:18 Matt Turner
2014-01-23 19:40 Matt Turner
2013-12-20 13:50 David Heidelberger
2013-11-17 2:36 David Heidelberger
2013-07-16 11:21 Nikoli
2013-07-16 10:26 Nikoli
2013-07-13 14:36 Chi-Thanh Christopher Nguyen
2013-06-09 12:23 David Heidelberger
2013-01-21 17:48 Matt Turner
2012-11-12 15:23 David Heidelberger
2012-02-10 17:16 Matt Turner
2012-02-10 17:12 Matt Turner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1374079282.3da9d5d686517074bbcdc9fb79b3a2c217ed16f0.chithead@gentoo \
--to=chithanh@cs.tu-berlin.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox