Defaulting to use gtp if neither gnome or gtp are specified
authorAlfredo Tupone <tupone@gentoo.org>
Mon, 8 Jan 2007 17:55:34 +0000 (17:55 +0000)
committerAlfredo Tupone <tupone@gentoo.org>
Mon, 8 Jan 2007 17:55:34 +0000 (17:55 +0000)
Package-Manager: portage-2.1.1-r2

games-board/grhino/ChangeLog
games-board/grhino/Manifest
games-board/grhino/grhino-0.16.0.ebuild

index 9a47d459d63682cd11f357a6e1d89ad1722ebda2..b3f06c9c4231b3dd82cc99bac4527663ae2e7d6f 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for games-board/grhino
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.2 2007/01/08 07:16:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.3 2007/01/08 17:55:34 tupone Exp $
+
+  08 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild:
+  Defaulting to use gtp if neither gnome or gtp are specified
 
   08 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild:
   Adding more errors handling
index a3136fd216a02c3abfc933f9b104843437ee42e5..ed967e6ea3a595f87f665b7c79c058929dba3eb4 100644 (file)
@@ -2,14 +2,14 @@
 Hash: SHA1
 
 DIST grhino-0.16.0.tar.gz 1172321 RMD160 f91415e5263eec3837a2a0cb06b610f0ba64668f SHA1 ca76895fc2370995e4942aec98e4359ce5549925 SHA256 67c3263bcfeb064b859149b25ee3c1c7d33a07ff4f83955eb501e9517069b9cf
-EBUILD grhino-0.16.0.ebuild 1020 RMD160 0a3ad5725afaca151400f19a79ef222f5fb0d293 SHA1 ae90e7781fd086caa7de41894f019cbf6e0863a7 SHA256 30481adb9ef3a7eca6692cc69ddef4726b53c321905cbb3fd45423f04a3c6262
-MD5 de50fb5eadce08de61a8dbd96689380c grhino-0.16.0.ebuild 1020
-RMD160 0a3ad5725afaca151400f19a79ef222f5fb0d293 grhino-0.16.0.ebuild 1020
-SHA256 30481adb9ef3a7eca6692cc69ddef4726b53c321905cbb3fd45423f04a3c6262 grhino-0.16.0.ebuild 1020
-MISC ChangeLog 428 RMD160 06e46065029e380c4785171468c1fe189decde7e SHA1 96fe06c2ccce953a0a9c03dc6a70158db7c5b111 SHA256 32749c295fe909c5f0f751616d212bc55db3eb0684b14116ab10032a5c9d2638
-MD5 f20deb0564a3dc9ce198590c05c2bc2c ChangeLog 428
-RMD160 06e46065029e380c4785171468c1fe189decde7e ChangeLog 428
-SHA256 32749c295fe909c5f0f751616d212bc55db3eb0684b14116ab10032a5c9d2638 ChangeLog 428
+EBUILD grhino-0.16.0.ebuild 972 RMD160 2dd099a6670d7c6dcf03c934748c9edd81da34da SHA1 031b192343b012defbe6974faee9f2dc72e225e4 SHA256 9306e0667bb8d7738558a7165aee9785fb4f7cd518855c79ca0c0427cd904153
+MD5 1d7234e5088403b3f197c4008837dc4d grhino-0.16.0.ebuild 972
+RMD160 2dd099a6670d7c6dcf03c934748c9edd81da34da grhino-0.16.0.ebuild 972
+SHA256 9306e0667bb8d7738558a7165aee9785fb4f7cd518855c79ca0c0427cd904153 grhino-0.16.0.ebuild 972
+MISC ChangeLog 548 RMD160 87326669303449c126f852ae6c18d1e94fd0310b SHA1 b656e8cf6427c140d3b992481500be546b982cea SHA256 0e64d1cb28c56e639d4b014f0a3a3458f6f953395da5725c8093b918a263a76e
+MD5 9eb20851325e5efe3aebbde7f4470835 ChangeLog 548
+RMD160 87326669303449c126f852ae6c18d1e94fd0310b ChangeLog 548
+SHA256 0e64d1cb28c56e639d4b014f0a3a3458f6f953395da5725c8093b918a263a76e ChangeLog 548
 MISC metadata.xml 238 RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 SHA1 06e93b70ce65d919134523c7a0e4eea53f24bbaf SHA256 6074371c0e97117a7c74e35f1a976752b7d0a35696304999f64ee050109da08a
 MD5 53c3ea18e0d4b2ec8f23a1726fd2598f metadata.xml 238
 RMD160 8872b2ed83510b48c76de3a803f2a210700dd788 metadata.xml 238
@@ -20,7 +20,7 @@ SHA256 8770b2359a20e7941d67bf5580fcb9daf99ac39f7016fdbc67debeb76a70161d files/di
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFoe/KbfN2jvlVAhwRAp3rAJ9D5Q13C6FaJDxI6hLXsghgpHI0pACgtbNT
-GXEocteDcjuVCwcy9zqy8Wo=
-=wVXN
+iD8DBQFFooWgbfN2jvlVAhwRAvYSAKCoQwam3cswLuDyd4bW+A4aDm7X6wCfSoWb
+j1fMbcgCd2rovOYVLHJbb9E=
+=swN6
 -----END PGP SIGNATURE-----
index 20f16c46999f098b81c01fff2c65bebfcddc3d0d..e90369bcbcc7619846acb09140f3e5244ff5f7d0 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2007 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.2 2007/01/08 07:16:16 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.3 2007/01/08 17:55:34 tupone Exp $
 
 inherit eutils games
 
@@ -15,18 +15,15 @@ IUSE="gnome gtp"
 
 DEPEND="gnome? ( =gnome-base/libgnomeui-2* )"
 
-pkg_setup() {
-       if ! ( use gnome || use gtp ); then
-               die "Aborting build. You you have to specify gnome or gtp use flags"
-       fi
-       games_pkg_setup
-}
-
 src_compile() {
-       egamesconf \
-               $(use_enable gnome) \
-               $(use_enable gtp) \
-               || die "egamesconf failed"
+       if use gnome || use gtp; then
+               egamesconf \
+                       $(use_enable gnome) \
+                       $(use_enable gtp) \
+                       || die "egamesconf failed"
+       else
+               egamesconf --enable-gtp || die "egamesconf failed"
+       fi
        emake || die "emake failed"
 }