public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/x11:multilib-opengl commit in: dev-libs/wayland/
@ 2013-08-11 13:41 Michał Górny
  0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2013-08-11 13:41 UTC (permalink / raw
  To: gentoo-commits

commit:     750600a71007054cdf2f69322be84a7425bf405e
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 10 22:08:33 2013 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Aug 11 13:40:53 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=750600a7

dev-libs/wayland: Convert to autotools-multilib.

Package-Manager: portage-2.2.0_alpha196

---
 dev-libs/wayland/wayland-9999.ebuild | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/dev-libs/wayland/wayland-9999.ebuild b/dev-libs/wayland/wayland-9999.ebuild
index 20e4b89..099c4b8 100644
--- a/dev-libs/wayland/wayland-9999.ebuild
+++ b/dev-libs/wayland/wayland-9999.ebuild
@@ -8,9 +8,10 @@ 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 toolchain-funcs $GIT_ECLASS
+inherit autotools-multilib toolchain-funcs $GIT_ECLASS
 
 DESCRIPTION="Wayland protocol libraries"
 HOMEPAGE="http://wayland.freedesktop.org/"
@@ -33,19 +34,16 @@ DEPEND="${RDEPEND}
 	doc? ( app-doc/doxygen )
 	virtual/pkgconfig"
 
-src_prepare() {
-	if [[ ${PV} = 9999* ]]; then
-		eautoreconf
-	fi
-}
-
 src_configure() {
-	myconf="$(use_enable static-libs static) \
-			$(use_enable doc documentation)"
+	local myeconfargs=(
+		$(use_enable static-libs static)
+		$(use_enable doc documentation)
+	)
 	if tc-is-cross-compiler ; then
-		myconf+=" --disable-scanner"
+		myeconfargs+=( --disable-scanner )
 	fi
-	econf ${myconf}
+
+	autotools-multilib_src_configure
 }
 
 src_test() {
@@ -53,5 +51,5 @@ src_test() {
 	mkdir "${XDG_RUNTIME_DIR}" || die
 	chmod 0700 "${XDG_RUNTIME_DIR}" || die
 
-	default
+	autotools-multilib_src_test
 }


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-11 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-11 13:41 [gentoo-commits] proj/x11:multilib-opengl commit in: dev-libs/wayland/ Michał Górny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox