add support for USE=debug from upstream dev Matt Lawrence (bug #168622)
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 7 Mar 2007 08:19:29 +0000 (08:19 +0000)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 7 Mar 2007 08:19:29 +0000 (08:19 +0000)
Package-Manager: portage-2.1.2-r9

games-simulation/dangerdeep/ChangeLog
games-simulation/dangerdeep/Manifest
games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild

index f51de9df059b27a604dcf208f81906fc94bf743a..04252b67ce7ff1d1b3046d2d1ce21b6a908df71f 100644 (file)
@@ -1,6 +1,10 @@
 # ChangeLog for games-simulation/dangerdeep
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.3 2007/02/03 11:25:52 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/ChangeLog,v 1.4 2007/03/07 08:19:29 mr_bones_ Exp $
+
+  07 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org>
+  dangerdeep-0.2.0.ebuild:
+  add support for USE=debug from upstream dev Matt Lawrence (bug #168622)
 
   03 Feb 2007; Tristan Heaven <nyhm@gentoo.org> dangerdeep-0.2.0.ebuild:
   Add app-arch/unzip to DEPEND
index 70fd5c465baca7808ffb9f783c165fa711f2569f..103338457b6692523f1b8871a5024ede2b3235ce 100644 (file)
@@ -1,20 +1,17 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX dangerdeep-0.2.0-build.patch 339 RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd SHA1 d7407c7fb8251833d6604fc1e24e71b869311e86 SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb
 MD5 dc7edf21133c2b24945e6de142358f36 files/dangerdeep-0.2.0-build.patch 339
 RMD160 ff5b7d33a7956c08092f4521176c8c5870f1cefd files/dangerdeep-0.2.0-build.patch 339
 SHA256 f0a9950488550ba9755695de53649bc8cf642a62a800938585ccb0b975e63acb files/dangerdeep-0.2.0-build.patch 339
 DIST dangerdeep-0.2.0.tar.gz 3854086 RMD160 40f6d89eeb829d2b8d26b4b3d84342ec9f51b908 SHA1 e47bfd98031e024cd6881827c285ef27ccb367c0 SHA256 ada47be2c7463ac73f0276b77bce7d5a16efc5c6316f70005af6dcf4e9908452
 DIST dangerdeep-data-0.2.0.zip 54163740 RMD160 0dc8439356239779522a841764235e0f6d682ffc SHA1 a790603387829399143dcdadbcae9481effa0d71 SHA256 7b96f41e38a2478b3c5b40bd5e81a45437902f370718676c6077c2edcd5c5e10
-EBUILD dangerdeep-0.2.0.ebuild 1428 RMD160 e8ce398eb478a3ee67b5a7f4348763b8e474461b SHA1 0847e718d6559d1d8ffc4f5f8173a2b26c5bea6c SHA256 2bf770574c8453949d7a7157dc34c1b09e4cb29b73d01c23e3b669665aeda474
-MD5 c3ae086eaa933e6412d24b58debfa99d dangerdeep-0.2.0.ebuild 1428
-RMD160 e8ce398eb478a3ee67b5a7f4348763b8e474461b dangerdeep-0.2.0.ebuild 1428
-SHA256 2bf770574c8453949d7a7157dc34c1b09e4cb29b73d01c23e3b669665aeda474 dangerdeep-0.2.0.ebuild 1428
-MISC ChangeLog 689 RMD160 27676c6cdf9ce465d0063e6a4c1d41a3c83d5d74 SHA1 6c52c911a3273ae56a55ca56a0504f87aaa809f1 SHA256 72cbf797dda8b7a1e1127544a6bc115c4bdd0b766cb0fb361f1d1b26c6b6b104
-MD5 1057989c95198ba0bf057f1e20c4d777 ChangeLog 689
-RMD160 27676c6cdf9ce465d0063e6a4c1d41a3c83d5d74 ChangeLog 689
-SHA256 72cbf797dda8b7a1e1127544a6bc115c4bdd0b766cb0fb361f1d1b26c6b6b104 ChangeLog 689
+EBUILD dangerdeep-0.2.0.ebuild 1521 RMD160 64a86d7cd40a512c082f5bc42c96942c7c401f36 SHA1 f9fe1aba6ae5f1ca11ee004c148e56a5aa2466bb SHA256 73d7ff92eda65c4b16b71784178dcd414a26b084963913fa43f68c8bf91a5608
+MD5 04a0038bcb314de9099f404e3eccee5e dangerdeep-0.2.0.ebuild 1521
+RMD160 64a86d7cd40a512c082f5bc42c96942c7c401f36 dangerdeep-0.2.0.ebuild 1521
+SHA256 73d7ff92eda65c4b16b71784178dcd414a26b084963913fa43f68c8bf91a5608 dangerdeep-0.2.0.ebuild 1521
+MISC ChangeLog 851 RMD160 c5829a89110b33e1135ac1201894fa597e2c5ed9 SHA1 d72b3cb42f2cd1e14a4317eff5438ce328b92004 SHA256 8b5b2a7a27059f5761b243d180eeea70ffb12d88edc7a67843e398cf99ea3ff6
+MD5 487276fe989cc766da344ff57ff1662e ChangeLog 851
+RMD160 c5829a89110b33e1135ac1201894fa597e2c5ed9 ChangeLog 851
+SHA256 8b5b2a7a27059f5761b243d180eeea70ffb12d88edc7a67843e398cf99ea3ff6 ChangeLog 851
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -22,10 +19,3 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata
 MD5 c9a08cdbcb13a5d9519f77fa6070ca76 files/digest-dangerdeep-0.2.0 515
 RMD160 7c34834af122cb8dac569d090dbb79398274f8b9 files/digest-dangerdeep-0.2.0 515
 SHA256 0a11efe1a67a68278a28605a8be552fc23ea3f687bfbd9f069e0f7472ad547a6 files/digest-dangerdeep-0.2.0 515
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.2 (GNU/Linux)
-
-iD8DBQFFxHFGdz7hIScOURERAktbAJ45l9+nk4xk5MnuhkxxOE5uUPaghQCghA1g
-nBlC3zAb1fJjau6VpJkWNjM=
-=5dDZ
------END PGP SIGNATURE-----
index 919320b4dcdce292ce28387cca6a9cbf68a98930..322c3f9e8f5807083c04a233b29337dca3ec469a 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-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.4 2007/02/03 11:25:52 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-simulation/dangerdeep/dangerdeep-0.2.0.ebuild,v 1.5 2007/03/07 08:19:29 mr_bones_ Exp $
 
 inherit eutils toolchain-funcs games
 
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
 LICENSE="GPL-2 CCPL-Attribution-NonCommercial-NoDerivs-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="sse"
+IUSE="sse debug"
 
 RDEPEND="virtual/opengl
        virtual/glu
@@ -37,14 +37,20 @@ src_unpack() {
 
 src_compile() {
        local sse=-1
+       local use_debug=0
 
        if use sse ; then
                use amd64 && sse=3 || sse=1
        fi
 
+       if use debug ; then
+               use_debug=1
+       fi
+
        scons \
                usex86sse=${sse} \
                datadir="${GAMES_DATADIR}"/${PN} \
+               debug=${use_debug} \
                || die "scons failed"
 }