summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-03-08 06:44:58 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-03-08 06:44:58 +0000
commit2d0939940f301cc79d4cffa62319db0dbd1ddbed (patch)
tree2ac25b88850c3e3ed9980d85f6406af57c73228d /games-roguelike
parentChanged the harddep on sys-libs/pam for virtual/pam. Assigned DEPEND explicit... (diff)
downloadhistorical-2d0939940f301cc79d4cffa62319db0dbd1ddbed.tar.gz
historical-2d0939940f301cc79d4cffa62319db0dbd1ddbed.tar.bz2
historical-2d0939940f301cc79d4cffa62319db0dbd1ddbed.zip
EAPI=2; add use-based dep; fix bug #257601
Package-Manager: portage-2.1.6.7/cvs/Linux i686
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/scourge/ChangeLog8
-rw-r--r--games-roguelike/scourge/Manifest4
-rw-r--r--games-roguelike/scourge/scourge-0.21.1.ebuild28
3 files changed, 26 insertions, 14 deletions
diff --git a/games-roguelike/scourge/ChangeLog b/games-roguelike/scourge/ChangeLog
index 8f028096dd7f..0b15daed7981 100644
--- a/games-roguelike/scourge/ChangeLog
+++ b/games-roguelike/scourge/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-roguelike/scourge
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.32 2008/12/30 15:25:56 mr_bones_ Exp $
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.33 2009/03/08 06:44:58 mr_bones_ Exp $
+
+ 08 Mar 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ scourge-0.21.1.ebuild:
+ EAPI=2; add use-based dep; fix bug #257601
*scourge-0.21.1 (30 Dec 2008)
diff --git a/games-roguelike/scourge/Manifest b/games-roguelike/scourge/Manifest
index 059225b3ac28..d895a0c0e1f6 100644
--- a/games-roguelike/scourge/Manifest
+++ b/games-roguelike/scourge/Manifest
@@ -1,5 +1,5 @@
DIST scourge-0.21.1.data.tar.gz 142093436 RMD160 6d1af713e2e6f84cc54b0ccdc2e8924734031c46 SHA1 c3eb246f3598f2282f71e47b9ea2031ff3eda75e SHA256 13f33735ff814eb465d95355dcaaf2cdd16a3329f85aeab1a97ad40919cd1f12
DIST scourge-0.21.1.src.tar.gz 8146157 RMD160 f6d1d0b5145bfc62b90673e14e35193671389318 SHA1 d5742d78e2efad7f9b63cfb958e950f9608d310c SHA256 e5d3dc784bc117a3fe2f4449c74cb896310760ae5a82a50f8c1045705416cef3
-EBUILD scourge-0.21.1.ebuild 1184 RMD160 5b8f656209c25c513ff65119de3ffd6def6e70fa SHA1 9e648352a369c6a1e846710163a531dbc0f1953a SHA256 d9165db38f41b50d27908ee27905fd7ca0bdb78726fd449841c9d654110b9589
-MISC ChangeLog 4038 RMD160 6a5284428aff2d057a9d64f489876e223338f9c5 SHA1 c5cbead0f247e2aa857c3e57cccac3c21ae7e719 SHA256 55a3681fadf3b8651db6ec169a920abe9f2b38226c9efdd06865069f7e3fe03f
+EBUILD scourge-0.21.1.ebuild 1340 RMD160 24cf96f4120614a9617a55cb7ff0c2aaf04f0114 SHA1 1722b77b05aff9fa77822a5ceee60dee54fb82b3 SHA256 8de0b0475094992c17623b256a6a71ca2e7c2227ada5a8e480038cb420947f54
+MISC ChangeLog 4164 RMD160 830d3619766953f56d052b96ae55290b070196a1 SHA1 8ce42bf834ed83cd6c726a46fdeba5057938017a SHA256 8600106cc90ba14b5095c8749e591eadf62d49fb0313eed851ac5544165d7d79
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
diff --git a/games-roguelike/scourge/scourge-0.21.1.ebuild b/games-roguelike/scourge/scourge-0.21.1.ebuild
index 79420466f8f5..198a600dcfff 100644
--- a/games-roguelike/scourge/scourge-0.21.1.ebuild
+++ b/games-roguelike/scourge/scourge-0.21.1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.21.1.ebuild,v 1.1 2008/12/30 15:25:56 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.21.1.ebuild,v 1.2 2009/03/08 06:44:58 mr_bones_ Exp $
-inherit eutils wxwidgets games
+EAPI=2
+inherit autotools eutils wxwidgets games
DESCRIPTION="A graphical rogue-like adventure game"
HOMEPAGE="http://scourgeweb.org/"
@@ -16,10 +17,10 @@ IUSE=""
RDEPEND="virtual/glu
virtual/opengl
- >=media-libs/freetype-2
- media-libs/libsdl
+ media-libs/freetype:2
+ media-libs/libsdl[joystick]
media-libs/sdl-net
- media-libs/sdl-mixer
+ media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf
virtual/libintl"
DEPEND="${RDEPEND}
@@ -27,13 +28,20 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${PN}
-src_compile() {
+src_prepare() {
+ # bug #257601
+ sed -i \
+ -e '/AC_CHECK_HEADERS.*glext/ s:):, [#include <GL/gl.h>] ):' \
+ configure.in \
+ || die "sed failed"
+ eautoreconf
+}
+
+src_configure() {
egamesconf \
--disable-dependency-tracking \
--with-data-dir="${GAMES_DATADIR}"/${PN} \
- --localedir=/usr/share/locale \
- || die
- emake || die "emake failed"
+ --localedir=/usr/share/locale
}
src_install() {