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: gnome-extra/gnome-games/, gnome-extra/gnome-games/files/
Date: Tue, 22 Feb 2011 15:14:29 +0000 (UTC)	[thread overview]
Message-ID: <9ef757b929d52fb50f01a18b3b6d42065c06dbc2.nirbheek@gentoo> (raw)

commit:     9ef757b929d52fb50f01a18b3b6d42065c06dbc2
Author:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 22 14:51:53 2011 +0000
Commit:     Nirbheek Chauhan <nirbheek <AT> gentoo <DOT> org>
CommitDate: Tue Feb 22 14:52:45 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9ef757b9

gnome-extra/gnome-games: 2.91.5 -> 2.91.90

* Change use-flag names to specify the feature being enabled/disabled
* Remove USE=sound, make it compulsory

---
 ...ames-2.91.90-fix-conditional-ac-prog-cxx.patch} |    5 +-
 ...es-2.91.5.ebuild => gnome-games-2.91.90.ebuild} |   50 +++++++++++---------
 2 files changed, 30 insertions(+), 25 deletions(-)

diff --git a/gnome-extra/gnome-games/files/gnome-games-2.32.1-fix-conditional-ac-prog-cxx.patch b/gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-conditional-ac-prog-cxx.patch
similarity index 93%
rename from gnome-extra/gnome-games/files/gnome-games-2.32.1-fix-conditional-ac-prog-cxx.patch
rename to gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-conditional-ac-prog-cxx.patch
index 1c4c76f..8f35064 100644
--- a/gnome-extra/gnome-games/files/gnome-games-2.32.1-fix-conditional-ac-prog-cxx.patch
+++ b/gnome-extra/gnome-games/files/gnome-games-2.91.90-fix-conditional-ac-prog-cxx.patch
@@ -9,10 +9,9 @@ Usually this means the macro was only invoked conditionally.
 
 When need_cxx=no because quadrapassel isn't being built.
 
----
 --- configure.in
 +++ configure.in
-@@ -201,13 +201,12 @@
+@@ -227,6 +227,7 @@
  PKG_PROG_PKG_CONFIG([0.15])
  
  AC_PROG_CC
@@ -20,6 +19,8 @@ When need_cxx=no because quadrapassel isn't being built.
  AC_PROG_CPP
  AC_PROG_LN_S
  AC_PROG_SED
+@@ -236,8 +237,6 @@
+ fi
  
  if test "$need_cxx" = "yes"; then
 -  AC_PROG_CXX

diff --git a/gnome-extra/gnome-games/gnome-games-2.91.5.ebuild b/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
similarity index 85%
rename from gnome-extra/gnome-games/gnome-games-2.91.5.ebuild
rename to gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
index 60017d9..a4a7b2e 100644
--- a/gnome-extra/gnome-games/gnome-games-2.91.5.ebuild
+++ b/gnome-extra/gnome-games/gnome-games-2.91.90.ebuild
@@ -17,24 +17,23 @@ HOMEPAGE="http://live.gnome.org/GnomeGames/"
 LICENSE="GPL-2 GPL-3 FDL-1.1"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="artworkextra +clutter guile +introspection opengl seed +sound test"
+IUSE="+aisleriot artworkextra +clutter +introspection glchess seed +sudoku test"
 
-RDEPEND="
+COMMON_DEPEND="
 	>=dev-games/libggz-0.0.14
 	>=dev-games/ggz-client-libs-0.0.14
 	>=dev-libs/dbus-glib-0.75
 	>=dev-libs/glib-2.25.7
 	>=dev-libs/libxml2-2.4.0
-	>=dev-python/gconf-python-2.17.3
-	>=dev-python/pygobject-2
-	>=dev-python/pygtk-2.14
-	>=dev-python/pycairo-1
 	>=gnome-base/gconf-2.31.1
 	>=gnome-base/librsvg-2.32
 	>=x11-libs/cairo-1
-	>=x11-libs/gtk+-2.90:3[introspection?]
+	>=x11-libs/gtk+-2.91.7:3[introspection?]
+
+	media-libs/libcanberra[gtk3]
 	x11-libs/libSM
 
+	aisleriot? ( >=dev-scheme/guile-1.6.5[deprecated,regex] )
 	artworkextra? ( gnome-extra/gnome-games-extra-data )
 	clutter? (
 		>=dev-libs/gobject-introspection-0.6.3
@@ -42,17 +41,22 @@ RDEPEND="
 		>=gnome-base/gconf-2.31.1[introspection]
 		>=media-libs/clutter-gtk-0.91.6:1.0[introspection]
 		seed? ( dev-libs/seed ) )
-	guile? ( >=dev-scheme/guile-1.6.5[deprecated,regex] )
 	introspection? (
 		>=dev-libs/gobject-introspection-0.6.3
 		media-libs/clutter:1.0[introspection] )
-	opengl? (
-		dev-python/pygtkglext
-		>=dev-python/pyopengl-3 )
-	sound? ( media-libs/libcanberra[gtk3] )
-	!games-board/glchess"
-
-DEPEND="${RDEPEND}
+	glchess? (
+		dev-db/sqlite:3
+		>=dev-lang/vala-0.11.6:0.12
+		>=gnome-base/librsvg-2.32
+		virtual/opengl
+		x11-libs/libX11 )"
+RDEPEND="${COMMON_DEPEND}
+	sudoku? (
+		>=dev-python/gconf-python-2.17.3
+		>=dev-python/pygobject-2
+		>=dev-python/pygtk-2.14
+		>=dev-python/pycairo-1 )"
+DEPEND="${COMMON_DEPEND}
 	sys-apps/lsb-release
 	>=dev-util/pkgconfig-0.15
 	>=dev-util/intltool-0.40.4
@@ -80,7 +84,7 @@ pkg_setup() {
 	G2CONF="${G2CONF}
 		--disable-maintainer-mode
 		--disable-schemas-compile
-		$(use_enable sound)
+		--enable-sound
 		$(use_enable introspection)"
 
 	# Should be after $(use_enable introspection), but before --enable-omitgames
@@ -96,8 +100,6 @@ pkg_setup() {
 		--with-gtk=3.0
 		--enable-omitgames=none" # This line should be last for _omitgame
 
-	# Needs seed, always disable till we can have that
-
 	if ! use clutter; then
 		ewarn "USE='-clutter' => quadrapassel, swell-foop, lightsoff, gnibbles won't be installed"
 		_omitgame quadrapassel
@@ -111,22 +113,24 @@ pkg_setup() {
 		_omitgame lightsoff
 	fi
 
-	if ! use guile; then
-		ewarn "USE='-guile' => aisleriot won't be installed"
+	if ! use aisleriot; then
 		_omitgame aisleriot
 	fi
 
-	if ! use opengl; then
-		ewarn "USE='-opengl' => glchess won't be installed"
+	if ! use glchess; then
 		_omitgame glchess
 	fi
+
+	if ! use sudoku; then
+		_omitgame sudoku
+	fi
 }
 
 src_prepare() {
 	gnome2_src_prepare
 
 	# TODO: File upstream bug for this
-	epatch "${FILESDIR}/${PN}-2.32.1-fix-conditional-ac-prog-cxx.patch"
+	epatch "${FILESDIR}/${PN}-2.91.90-fix-conditional-ac-prog-cxx.patch"
 
 	# Without this, --enable-staging enables all those games unconditionally
 	epatch "${FILESDIR}/${PN}-fix-staging-games.patch"



             reply	other threads:[~2011-02-22 15:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-22 15:14 Nirbheek Chauhan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-24 19:58 [gentoo-commits] proj/gnome:master commit in: gnome-extra/gnome-games/, gnome-extra/gnome-games/files/ Jonathan Callen
2011-03-14 17:21 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=9ef757b929d52fb50f01a18b3b6d42065c06dbc2.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