# ChangeLog for games-roguelike/scourge
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.23 2006/12/11 23:54:43 nyhm Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/ChangeLog,v 1.24 2007/01/15 18:17:30 nyhm Exp $
+
+*scourge-0.17 (15 Jan 2007)
+
+ 15 Jan 2007; Tristan Heaven <nyhm@gentoo.org> +scourge-0.17.ebuild:
+ Version bump
*scourge-0.16 (13 Nov 2006)
DIST scourge-0.16.data.tar.gz 72744222 RMD160 a674da27924ca0973f9b9bf838ec3fbab758a547 SHA1 ebdd92d3be1261798de7865e95ef698b16684bd8 SHA256 5a988311516ab59538a5530da599ed6dd0c9caab118e3fd2bfddb6e01aea6146
DIST scourge-0.16.src.tar.gz 1092855 RMD160 2ff6cecf3f611c73b2905e6946b4467b869428e5 SHA1 1295720c1b827ffb3420f8a842294c095aa6fa22 SHA256 ea10537a030e216fe473fdc1337de18f48ef27bae19f3376c22f2d0dc0c97656
+DIST scourge-0.17.data.tar.gz 77257508 RMD160 d345bd37ae9f85f8890b9b420ab884b74d4b2761 SHA1 77a573a03184d2eae51fe3de954b6f7dd6224dd6 SHA256 8a4edcba61e28d60344cb66105f670a7e5f7a231a765bca419b6390f7c052980
+DIST scourge-0.17.src.tar.gz 1141012 RMD160 5cc649148ac5693f4fd3aeb16f27dcb45fca209e SHA1 de3e257e47c5fc4ce66429489efb35b080fbb28d SHA256 0094fb3aa0d0d3e4de0c643705d8a0df2a7ebb6102e064f588ba78cd9e17164c
EBUILD scourge-0.16.ebuild 1511 RMD160 549c61a7ac795086f322d5ef256997a472cf1f82 SHA1 487dc095b6bbe8ea3a237c4ab12548816d925d56 SHA256 30da3c45e0b7b57d86c2835b63cbe788e320ed97e529257262ea1b751e23a88c
MD5 726180f0ccbe770734863d2971b9ba08 scourge-0.16.ebuild 1511
RMD160 549c61a7ac795086f322d5ef256997a472cf1f82 scourge-0.16.ebuild 1511
SHA256 30da3c45e0b7b57d86c2835b63cbe788e320ed97e529257262ea1b751e23a88c scourge-0.16.ebuild 1511
-MISC ChangeLog 2879 RMD160 db28884e1919ac0163e272486b05618e76307b15 SHA1 2588f2d692d381917df1e6879e0c3a9b9aacc7e2 SHA256 277038be7f3653fee00cf028f4211100829ac6348b019832d2ea255df8050bb6
-MD5 16bf9bf938e31066261addf9d5e46e26 ChangeLog 2879
-RMD160 db28884e1919ac0163e272486b05618e76307b15 ChangeLog 2879
-SHA256 277038be7f3653fee00cf028f4211100829ac6348b019832d2ea255df8050bb6 ChangeLog 2879
+EBUILD scourge-0.17.ebuild 1539 RMD160 ff246b8f2e229cda0755e5eeeb42bc2bbd866656 SHA1 355c6dd8f457b116ac0669ab8bd4408a0ef34cd8 SHA256 f07f750fe86ca32dbaba486bbf05e2e6e459b4a8b50b0f02a3904b44c285a07a
+MD5 adf234a2aa7c95314fe079d3d005c9ef scourge-0.17.ebuild 1539
+RMD160 ff246b8f2e229cda0755e5eeeb42bc2bbd866656 scourge-0.17.ebuild 1539
+SHA256 f07f750fe86ca32dbaba486bbf05e2e6e459b4a8b50b0f02a3904b44c285a07a scourge-0.17.ebuild 1539
+MISC ChangeLog 2994 RMD160 85d84884103ebca8623c7a0e2fa28da6a1582ed8 SHA1 773024e72a4f2162ee7558d718607a76765470af SHA256 fb172e8428579041d218324b05aa4c338d719fb24465033354e790cbe4f50b6b
+MD5 053e91ab568cff5365673c35b19d8ac0 ChangeLog 2994
+RMD160 85d84884103ebca8623c7a0e2fa28da6a1582ed8 ChangeLog 2994
+SHA256 fb172e8428579041d218324b05aa4c338d719fb24465033354e790cbe4f50b6b ChangeLog 2994
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
MD5 c727e8ae18e3e56c6c2f5c363c6bac09 files/digest-scourge-0.16 512
RMD160 e576a901d7b70b18ec641dd0bd85e8a12de9da49 files/digest-scourge-0.16 512
SHA256 1458f7589e2ca2b34bc75f43fc0f4618f340f7901d14387f9cd6bcf1059b2560 files/digest-scourge-0.16 512
+MD5 e77f12940809700e75d52a2a20a7aa01 files/digest-scourge-0.17 512
+RMD160 f826c2cfcb60264a251c79e207f97b60d0458b90 files/digest-scourge-0.17 512
+SHA256 0e808664a4ea159d5e6d7614067be18cc0db9bc4beaf4e084a9eae717a59c21c files/digest-scourge-0.17 512
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.6 (GNU/Linux)
+Version: GnuPG v2.0.1 (GNU/Linux)
-iD8DBQFFfe/Jdz7hIScOURERAlGzAKCmNZIS1n9/Snxamo4PPHAaYkWoHQCePNKH
-P16GrqmzoM18uPtFfmLNW7M=
-=bLSR
+iD8DBQFFq8VBdz7hIScOURERAlicAJ4r4vy61BHLprtZETRKxElVyIb0CwCghitA
+aBzQbR7fgTMy7Qo9iSKRIDM=
+=PMF3
-----END PGP SIGNATURE-----
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/scourge/scourge-0.17.ebuild,v 1.1 2007/01/15 18:17:30 nyhm Exp $
+
+inherit eutils wxwidgets games
+
+DESCRIPTION="A graphical rogue-like adventure game"
+HOMEPAGE="http://scourge.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz
+ mirror://sourceforge/${PN}/${P}.data.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="editor"
+
+DEPEND="x11-libs/libXmu
+ x11-libs/libXi
+ virtual/glu
+ virtual/opengl
+ >=media-libs/freetype-2
+ media-libs/libsdl
+ media-libs/sdl-net
+ media-libs/sdl-mixer
+ editor? ( >=x11-libs/wxGTK-2.6 )"
+
+S=${WORKDIR}/${PN}
+
+pkg_setup() {
+ games_pkg_setup
+ use editor && WX_GTK_VER="2.6" need-wxwidgets unicode
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ if use editor ; then
+ sed -i \
+ -e "/WXWIDGET_CFLAGS/s:wx-config:${WX_CONFIG}:" \
+ -e "/WXWIDGET_LIBS/s:wx-config:${WX_CONFIG}:" \
+ configure || die "sed failed"
+ fi
+}
+
+src_compile() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --with-data-dir="${GAMES_DATADIR}"/${PN} \
+ $(use_enable editor) \
+ || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ use editor && mv "${D}/${GAMES_BINDIR}"/{tools,${PN}-tools}
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins -r ../scourge_data/* || die "doins failed"
+ doicon assets/scourge.png
+ make_desktop_entry scourge S.C.O.U.R.G.E.
+ dodoc AUTHORS README
+ prepgamesdirs
+}