Version bump, bug #159132
authorTristan Heaven <tristan@gentoo.org>
Tue, 13 Feb 2007 23:10:08 +0000 (23:10 +0000)
committerTristan Heaven <tristan@gentoo.org>
Tue, 13 Feb 2007 23:10:08 +0000 (23:10 +0000)
Package-Manager: portage-2.1.2-r9

games-fps/alephone/ChangeLog
games-fps/alephone/Manifest
games-fps/alephone/alephone-20061228.ebuild [new file with mode: 0644]
games-fps/alephone/files/alephone-20061228-configure.patch [new file with mode: 0644]
games-fps/alephone/files/alephone.png [deleted file]
games-fps/alephone/files/digest-alephone-20061228 [new file with mode: 0644]

index 2e23a4eb1cfd2fb117ff073b8cd54d89d7902ce6..6bc6655d3a84399adee42e2a057a2da6816eba10 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for games-fps/alephone
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.14 2006/10/08 21:29:47 tupone Exp $
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/ChangeLog,v 1.15 2007/02/13 23:10:08 nyhm Exp $
+
+*alephone-20061228 (13 Feb 2007)
+
+  13 Feb 2007; Tristan Heaven <nyhm@gentoo.org>
+  +files/alephone-20061228-configure.patch, +alephone-20061228.ebuild:
+  Version bump, bug #159132
 
 *alephone-20060701 (08 Oct 2006)
 
index 2391fcd524d54ea69a65ffe98f01364e7949b2ec..9db400145b9b83092e38f7eddf0d1119d3c36241 100644 (file)
@@ -1,16 +1,17 @@
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
-AUX alephone.png 13265 RMD160 8ca279c5728cf4bfc921ec73ed6f71f3c702e143 SHA1 ec248a7ab2dbaf31c9921477ec700c1f14e67597 SHA256 7dedb153b22827d64c1f3462fa6646eb9bd7b8ec1feb1a2e34be2f74e81b42af
-MD5 b3bde37a338d65ac0dec3aa0ac7c2c22 files/alephone.png 13265
-RMD160 8ca279c5728cf4bfc921ec73ed6f71f3c702e143 files/alephone.png 13265
-SHA256 7dedb153b22827d64c1f3462fa6646eb9bd7b8ec1feb1a2e34be2f74e81b42af files/alephone.png 13265
+AUX alephone-20061228-configure.patch 1001 RMD160 692b00b4d8cc768602ae40a0a333fefc094ca041 SHA1 eba65d38f3c93ddae261ceafca050c5ab9685afe SHA256 494dd75fdef42869223c8be253d3259301ce5f4bc6ecaa59dfa05748aa21bb7e
+MD5 7b64a1ee9ae364636e2064fb6244f388 files/alephone-20061228-configure.patch 1001
+RMD160 692b00b4d8cc768602ae40a0a333fefc094ca041 files/alephone-20061228-configure.patch 1001
+SHA256 494dd75fdef42869223c8be253d3259301ce5f4bc6ecaa59dfa05748aa21bb7e files/alephone-20061228-configure.patch 1001
 AUX alephone.sh 442 RMD160 f5bf19e2752d356e51fa886dbad9fedfe12f9d34 SHA1 317ab6a122227e30cd1d508e3957e27b8cafa9bd SHA256 03d4eaec18bed5fd909604ff7efbcf4ba737a2cc76ca80161bdcb4bdf527d8b9
 MD5 473136ba399c9eed9cb6c0ed6d11ee5a files/alephone.sh 442
 RMD160 f5bf19e2752d356e51fa886dbad9fedfe12f9d34 files/alephone.sh 442
 SHA256 03d4eaec18bed5fd909604ff7efbcf4ba737a2cc76ca80161bdcb4bdf527d8b9 files/alephone.sh 442
 DIST AlephOne-20060506.tar.gz 6272060 RMD160 857f0534dd1387fcac4dd9a10628a6250666a970 SHA1 37efd3e14e3b383cc4a1e5b028314db4497423e6 SHA256 4ab9630ae8e0bb76429d82793c70035c9d1d2a2eeea6abcbccd82e0b7940e402
 DIST AlephOne-20060701-nolibs.tar.bz2 1259392 RMD160 e8b47276162e56e57a79822fee2d970dbe729d50 SHA1 ad7e0ed7ac44a1ca73071412c514bb37a0ea5219 SHA256 d68635020c91cfed4a703879c84aefdfbd97064798bf91a3dec954ff5fc593cd
+DIST AlephOne-20061228-nolibs.tar.bz2 1281295 RMD160 22d911d20ef6aeda960b137c11d32afb92c34b09 SHA1 9729ad9909068191eeb9dbc9e63ee7ad210bf255 SHA256 2fdf96f97759432ef19f563e467439c6f1dddcd882adf9bfd10356a0a9e2190e
 EBUILD alephone-20060506-r1.ebuild 2123 RMD160 6941908367acd86054df4fc6cc6a10e8a0a08542 SHA1 c014ce84f45da6e63034be53201d6ec0cbc3809e SHA256 73d966c3002d0b3f3a7a3d9e0fc5db7da789ef4c27cba1765562c4ef758e8f09
 MD5 f1ce804d03d4511a2f5e3ac8a6e7d8f1 alephone-20060506-r1.ebuild 2123
 RMD160 6941908367acd86054df4fc6cc6a10e8a0a08542 alephone-20060506-r1.ebuild 2123
@@ -19,10 +20,14 @@ EBUILD alephone-20060701.ebuild 2128 RMD160 379f88f918a0fa1f71f4a9d611f364a58d9a
 MD5 9308e02f0d86386a2b09a14435c91eff alephone-20060701.ebuild 2128
 RMD160 379f88f918a0fa1f71f4a9d611f364a58d9a3215 alephone-20060701.ebuild 2128
 SHA256 78ceed79f90399127f2762e1c6c8ea0902aff0ab416821eba28104a3ccee84b3 alephone-20060701.ebuild 2128
-MISC ChangeLog 2324 RMD160 9bccd0414223c83c4a78862ec1a5946d87cb5c52 SHA1 cbf0b8d8614c56a8caa8f3bc8a0d4dea9da6657b SHA256 f78c66628a8fb26086659f11217745d72d4e6e7c36e31db77ddcba78c02310a5
-MD5 3e9f48a4736037a2161ad5406b31a934 ChangeLog 2324
-RMD160 9bccd0414223c83c4a78862ec1a5946d87cb5c52 ChangeLog 2324
-SHA256 f78c66628a8fb26086659f11217745d72d4e6e7c36e31db77ddcba78c02310a5 ChangeLog 2324
+EBUILD alephone-20061228.ebuild 1757 RMD160 9c59beeb1bbc4bbecac5ee54f8b9922bfde69a5d SHA1 827c30108e767228d74ae43d1aa43062f2519318 SHA256 78c947ee6afa013be1a319ebd0229b0dd0e3278a5b86ddc59816945b64a85b67
+MD5 a62756e1e235627dcf1f7b872af34709 alephone-20061228.ebuild 1757
+RMD160 9c59beeb1bbc4bbecac5ee54f8b9922bfde69a5d alephone-20061228.ebuild 1757
+SHA256 78c947ee6afa013be1a319ebd0229b0dd0e3278a5b86ddc59816945b64a85b67 alephone-20061228.ebuild 1757
+MISC ChangeLog 2504 RMD160 234a7141a5a3fb5016f03ffa03907cd7341d3aa9 SHA1 d47154f92f68d242d8a10e7d243a005c3bbb74fe SHA256 54b31e9c53e2064241fd79bee03a6f1d55189fa90a2185447203c31fe4e7b40d
+MD5 c6af93122840cc119280a9bf51387553 ChangeLog 2504
+RMD160 234a7141a5a3fb5016f03ffa03907cd7341d3aa9 ChangeLog 2504
+SHA256 54b31e9c53e2064241fd79bee03a6f1d55189fa90a2185447203c31fe4e7b40d ChangeLog 2504
 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158
 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158
@@ -33,10 +38,13 @@ SHA256 5baaf8de17fb6a5e4042a8740ac0f2513a582341095d45308d3f8d3ab7d5cb8e files/di
 MD5 0e5f1a6ce1119c5e0e6225fcdc1b32ff files/digest-alephone-20060701 280
 RMD160 fb418217c0edd9e6db9ec838d9537d16ab94db8c files/digest-alephone-20060701 280
 SHA256 29ba70fbe5e8a700d2258e8a797f1c41cab9ca5d1dd338f6715e8739485ab854 files/digest-alephone-20060701 280
+MD5 3b0da77265b968df0f0a399eb472e22e files/digest-alephone-20061228 280
+RMD160 14fb8a7587d85b4f32a84ecc264d98c75844418b files/digest-alephone-20061228 280
+SHA256 bb0b76bd381ec1eab85bea59de4279c3b5311a18b1b1506103bfa7ed3aaed9fe files/digest-alephone-20061228 280
 -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v2.0.2 (GNU/Linux)
 
-iD8DBQFFKW3YbfN2jvlVAhwRAmQxAJ4y7kMwXchyj7mgsXRk9R7R6sjE+gCaAquA
-8DVgq5+JktLKZzjt8DffgxE=
-=vMBv
+iD8DBQFF0kVXdz7hIScOURERApGWAKCNgXcVab0HpfyhwoZsNFf7xUxakgCfY42m
++goavzQUEQpXOk9lZ68ZOno=
+=kHUY
 -----END PGP SIGNATURE-----
diff --git a/games-fps/alephone/alephone-20061228.ebuild b/games-fps/alephone/alephone-20061228.ebuild
new file mode 100644 (file)
index 0000000..d57ebc1
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-fps/alephone/alephone-20061228.ebuild,v 1.1 2007/02/13 23:10:08 nyhm Exp $
+
+inherit autotools eutils games
+
+DESCRIPTION="An enhanced version of the game engine from the classic Mac game, Marathon"
+HOMEPAGE="http://source.bungie.org/"
+SRC_URI="mirror://sourceforge/marathon/AlephOne-${PV}-nolibs.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="lua opengl speex"
+
+DEPEND="lua? ( dev-lang/lua )
+       opengl? ( virtual/opengl )
+       speex? ( media-libs/speex )
+       dev-libs/boost
+       media-libs/smpeg
+       media-libs/libsdl
+       media-libs/sdl-image
+       media-libs/sdl-sound
+       media-libs/sdl-net"
+
+S=${WORKDIR}/AlephOne-${PV}
+
+src_unpack() {
+       unpack ${A}
+       cd "${S}"
+       sed "s:GAMES_DATADIR:${GAMES_DATADIR}:g" \
+               "${FILESDIR}"/${PN}.sh > "${T}"/${PN}.sh \
+               || die "sed failed"
+       epatch "${FILESDIR}"/${P}-configure.patch
+       eautoreconf
+}
+
+src_compile() {
+       egamesconf \
+               --disable-dependency-tracking \
+               $(use_enable lua) \
+               $(use_enable opengl) \
+               $(use_enable speex) \
+               || die
+       emake || die "emake failed"
+}
+
+src_install() {
+       emake DESTDIR="${D}" install || die "emake install failed"
+       dogamesbin "${T}"/${PN}.sh || die "dogamesbin failed"
+       dodoc AUTHORS README docs/Cheat_Codes
+       dohtml docs/MML.html
+       prepgamesdirs
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       echo
+       elog "Read the docs and install the data files accordingly to play."
+       echo
+       elog "If you only want to install one scenario, read"
+       elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Single_scenario_3"
+       elog "If you want to install multiple scenarios, read"
+       elog "http://traxus.jjaro.net/traxus/AlephOne:Install_Guide#Multiple_scenarios_3"
+       echo
+}
diff --git a/games-fps/alephone/files/alephone-20061228-configure.patch b/games-fps/alephone/files/alephone-20061228-configure.patch
new file mode 100644 (file)
index 0000000..5d58d03
--- /dev/null
@@ -0,0 +1,38 @@
+--- configure.ac
++++ configure.ac
+@@ -15,6 +15,8 @@
+ dnl Configure options.
+ AC_ARG_ENABLE(opengl, [  --enable-opengl         use OpenGL for rendering [default=yes]], , enable_opengl=yes)
++AC_ARG_ENABLE(lua, , , enable_lua=yes)
++AC_ARG_ENABLE(speex, , , enable_speex=yes)
+ dnl Checks for programs.
+ AC_PROG_CC
+@@ -98,6 +100,7 @@
+   ])
+ ])        
++if [[ "x$enable_lua" = "xyes" ]]; then
+ dnl Check for Lua.
+ AC_ARG_VAR(LUA_CFLAGS,    [C compiler flags for Lua])
+ AC_ARG_VAR(LUA_LIBS,      [linker flags for Lua])
+@@ -124,14 +127,17 @@
+   AC_DEFINE(HAVE_LUA_H, 1, [Assuming <lua.h> is present])
+   AC_DEFINE(HAVE_LUALIB_H, 1, [Assuing <lualib.h> is present])
+ fi
++fi
++if [[ "x$enable_speex" = "xyes" ]]; then
+ dnl Check for Speex
+-AC_CHECK_HEADERS(speex.h, [
++AC_CHECK_HEADERS(speex/speex.h, [
+   AC_CHECK_LIB(speex, speex_decoder_init, [
+     LIBS="-lspeex $LIBS"
+     AC_DEFINE(SPEEX, 1, [Speex support is enabled])
+   ])
+ ])
++fi
+ dnl Figure out which OpenGL library to use
+ case "$target" in
diff --git a/games-fps/alephone/files/alephone.png b/games-fps/alephone/files/alephone.png
deleted file mode 100644 (file)
index 1939cca..0000000
Binary files a/games-fps/alephone/files/alephone.png and /dev/null differ
diff --git a/games-fps/alephone/files/digest-alephone-20061228 b/games-fps/alephone/files/digest-alephone-20061228
new file mode 100644 (file)
index 0000000..0097bfa
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 a46357669c73c9432610489ae9abcd6f AlephOne-20061228-nolibs.tar.bz2 1281295
+RMD160 22d911d20ef6aeda960b137c11d32afb92c34b09 AlephOne-20061228-nolibs.tar.bz2 1281295
+SHA256 2fdf96f97759432ef19f563e467439c6f1dddcd882adf9bfd10356a0a9e2190e AlephOne-20061228-nolibs.tar.bz2 1281295