public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Nirbheek Chauhan" <nirbheek@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/gnome:master commit in: media-libs/clutter/
Date: Tue, 29 Mar 2011 12:36:39 +0000 (UTC)	[thread overview]
Message-ID: <9b3697dcec7bd0624bf4ee8d77490ff9289feb47.nirbheek@gentoo> (raw)

commit:     9b3697dcec7bd0624bf4ee8d77490ff9289feb47
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 29 12:31:36 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Mar 29 12:31:36 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9b3697dc

media-libs/clutter: update git repo, use gnome2-live.eclass

---
 media-libs/clutter/clutter-9999.ebuild |   39 +++++++++++++------------------
 1 files changed, 16 insertions(+), 23 deletions(-)

diff --git a/media-libs/clutter/clutter-9999.ebuild b/media-libs/clutter/clutter-9999.ebuild
index db0a099..bf2d4fe 100644
--- a/media-libs/clutter/clutter-9999.ebuild
+++ b/media-libs/clutter/clutter-9999.ebuild
@@ -4,36 +4,32 @@
 
 EAPI="2"
 WANT_AUTOMAKE="1.11"
-[[ ${PV} = 9999 ]] && GIT_ECLASS="autotools git"
 
-inherit clutter ${GIT_ECLASS}
+# Inherit clutter after gnome2 to override src_install
+inherit gnome2 clutter
 
 DESCRIPTION="Clutter is a library for creating graphical user interfaces"
 
 SLOT="1.0"
 IUSE="debug doc +introspection"
 if [[ ${PV} = 9999 ]]; then
-	EGIT_BOOTSTRAP="echo > build/config.rpath
-		gtkdocize
-		cp "${ROOT}/usr/share/gettext/po/Makefile.in.in" po/
-		eautoreconf"
-	EGIT_REPO_URI="git://git.clutter-project.org/${PN}.git"
-	SRC_URI=""
+	inherit gnome2-live
 	KEYWORDS=""
-	DEPEND=">=dev-util/gtk-doc-1.13"
 else
 	KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
 fi
 
 # NOTE: glx flavour uses libdrm + >=mesa-7.3
 # We always use the gdk-pixbuf backend now since it's been split out
-RDEPEND="${RDEPEND}
+RDEPEND="
 	>=dev-libs/glib-2.26:2
 	>=x11-libs/cairo-1.10
 	>=x11-libs/pango-1.20[introspection?]
 	>=dev-libs/json-glib-0.12[introspection?]
 	>=dev-libs/atk-1.17
 
+	x11-libs/gdk-pixbuf:2
+
 	virtual/opengl
 	x11-libs/libdrm
 	x11-libs/libX11
@@ -44,24 +40,23 @@ RDEPEND="${RDEPEND}
 	>=x11-libs/libXfixes-3
 	>=x11-libs/libXcomposite-0.4
 
-	|| ( x11-libs/gdk-pixbuf:2
-		 >=x11-libs/gtk+-2.0:2 )
-
-	introspection? ( >=dev-libs/gobject-introspection-0.9.6 )
-"
+	introspection? ( >=dev-libs/gobject-introspection-0.9.6 )"
 DEPEND="${RDEPEND}
-	${DEPEND}
 	sys-devel/gettext
 	dev-util/pkgconfig
 	>=dev-util/gtk-doc-am-1.13
 	doc? (
 		>=dev-util/gtk-doc-1.13
 		>=app-text/docbook-sgml-utils-0.6.14[jadetex]
-		dev-libs/libxslt )
-"
+		dev-libs/libxslt )"
 DOCS="AUTHORS README NEWS ChangeLog*"
 
-src_configure() {
+src_prepare() {
+	# Some gettext stuff, we can't run gettextize because that does too much
+	[[ ${PV} = 9999 ]] && cp "${ROOT}/usr/share/gettext/po/Makefile.in.in" "${S}/po"
+
+	gnome2_src_prepare
+
 	# We only need conformance tests, the rest are useless for us
 	sed -e 's/^\(SUBDIRS =\).*/\1/g' \
 		-i tests/Makefile.am || die "am tests sed failed"
@@ -72,7 +67,7 @@ src_configure() {
 	# XXX: Profiling, coverage disabled for now
 	# XXX: What about eglx/eglnative/opengl-egl-xlib/osx/wayland/etc flavours?
 	#      Uses gudev-1.0 and libxkbcommon for eglnative/cex1000
-	local myconf="
+	G2CONF="
 		--enable-debug=minimum
 		--enable-cogl-debug=minimum
 		--enable-conformance=no
@@ -86,10 +81,8 @@ src_configure() {
 		$(use_enable doc docs)"
 
 	if use debug; then
-		myconf="${myconf}
+		G2CONF="${myconf}
 			--enable-debug=yes
 			--enable-cogl-debug=yes"
 	fi
-
-	econf ${myconf}
 }



             reply	other threads:[~2011-03-29 12:36 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 12:36 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-05-30  7:59 [gentoo-commits] proj/gnome:master commit in: media-libs/clutter/ Sobhan Mohammadpour
2018-01-12 13:58 Dennis Lamm
2016-03-25  0:56 Ole Reifschneider
2015-09-13 22:03 Ole Reifschneider
2015-06-09  9:16 Gilles Dartiguelongue
2015-04-18  9:00 Ole Reifschneider
2014-12-26 21:48 Gilles Dartiguelongue
2014-12-08 21:57 Gilles Dartiguelongue
2014-12-07 23:08 Gilles Dartiguelongue
2014-10-12 23:19 Gilles Dartiguelongue
2014-10-11 16:43 Gilles Dartiguelongue
2014-04-23  7:17 Gilles Dartiguelongue
2014-04-15 22:05 Gilles Dartiguelongue
2013-12-01 11:30 Gilles Dartiguelongue
2013-03-20  8:15 Priit Laes
2013-03-15  7:38 Priit Laes
2012-12-17 11:12 Alexandre Rostovtsev
2012-10-28 11:30 Gilles Dartiguelongue
2012-09-27 10:49 Alexandre Rostovtsev
2012-09-21  3:29 Nirbheek Chauhan
2012-09-05 15:48 Nirbheek Chauhan
2011-10-29 19:41 Alexandre Restovtsev
2011-10-18  7:37 Alexandre Restovtsev
2011-03-23  5:33 Nirbheek Chauhan

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=9b3697dcec7bd0624bf4ee8d77490ff9289feb47.nirbheek@gentoo \
    --to=nirbheek@gentoo.org \
    --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