diff options
-rw-r--r-- | games-fps/alienarena/ChangeLog | 9 | ||||
-rw-r--r-- | games-fps/alienarena/Manifest | 32 | ||||
-rw-r--r-- | games-fps/alienarena/alienarena-20070613.ebuild | 88 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena-20070613-paths.patch | 19 | ||||
-rw-r--r-- | games-fps/alienarena/files/alienarena.xpm | 256 | ||||
-rw-r--r-- | games-fps/alienarena/files/digest-alienarena-20070613 | 3 |
6 files changed, 398 insertions, 9 deletions
diff --git a/games-fps/alienarena/ChangeLog b/games-fps/alienarena/ChangeLog index 7bd72d1104ed..f07b013a2f41 100644 --- a/games-fps/alienarena/ChangeLog +++ b/games-fps/alienarena/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-fps/alienarena # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.3 2007/03/07 01:26:50 peper Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/ChangeLog,v 1.4 2007/06/14 20:47:25 nyhm Exp $ + +*alienarena-20070613 (14 Jun 2007) + + 14 Jun 2007; Tristan Heaven <nyhm@gentoo.org> + +files/alienarena-20070613-paths.patch, +files/alienarena.xpm, + +alienarena-20070613.ebuild: + Version bump 07 Mar 2007; Piotr Jaroszyński <peper@gentoo.org> alienarena-20070224-r1.ebuild: diff --git a/games-fps/alienarena/Manifest b/games-fps/alienarena/Manifest index ab29c38cdb26..89b363b23682 100644 --- a/games-fps/alienarena/Manifest +++ b/games-fps/alienarena/Manifest @@ -17,15 +17,28 @@ AUX alienarena-20070224-paths.patch 863 RMD160 012a47366255184cee2136459ad0bb01a MD5 a75f7094675e69f03e2b4b797591b0ea files/alienarena-20070224-paths.patch 863 RMD160 012a47366255184cee2136459ad0bb01a70c2c1f files/alienarena-20070224-paths.patch 863 SHA256 4ff54c74688cbf43d74fede360310c662522af771bd36794c4232adbc0e3af0c files/alienarena-20070224-paths.patch 863 +AUX alienarena-20070613-paths.patch 614 RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 SHA1 62d127c696a29d0b5e60cf56063d84d04d939fe8 SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd +MD5 5ebfdadc667e0822c2831a9847a82ac5 files/alienarena-20070613-paths.patch 614 +RMD160 6cce7779a54bff08a58a3a4fae2a3c0c0efbb624 files/alienarena-20070613-paths.patch 614 +SHA256 d85ec14925def732accbd7dd4594d7da90b0c6ff71bb6f04c8b257c2d05f66bd files/alienarena-20070613-paths.patch 614 +AUX alienarena.xpm 5762 RMD160 0f478372866e065a330a771e31feed557d849013 SHA1 086af85ad701bdd0f2fc8fb45310ea37c94442ac SHA256 0d0850873eea0daf9cd8152b6e17f4fbc62f583567bff3b7e721073fe67a76b1 +MD5 90666ced9e016acf7b47c778a7ebd8ca files/alienarena.xpm 5762 +RMD160 0f478372866e065a330a771e31feed557d849013 files/alienarena.xpm 5762 +SHA256 0d0850873eea0daf9cd8152b6e17f4fbc62f583567bff3b7e721073fe67a76b1 files/alienarena.xpm 5762 +DIST alienarena2007-20070613-linux.zip 223204178 RMD160 ae4b12d8f3271dd6e4c0ad801ec58e218a686e96 SHA1 090c6ee143292294193532e0f437b30cdf2fe659 SHA256 593a7b106768abaff4c55f0b06dc20b5914601516c98ca5dfe93526de0559933 DIST alienarena2007-linux20070224-x86.zip 195661108 RMD160 8ca8ac8f652d6b75d353ca9af7fff80d4e3fdd66 SHA1 7e9bb1069828091e077b6986e999d41765632847 SHA256 62f4a33b2b3975174d7893fcc95cfde4fadad02ab67da90b74827e5b854918d4 EBUILD alienarena-20070224-r1.ebuild 2788 RMD160 bf206a3e543a84b03b36f094dee05b44177a93cf SHA1 fae7c484cd3b563ad6ec28b1839a3ee674cbb919 SHA256 51643e1d27bc32c2536471c9380a06b02268301df6fe806153c16d3f3cb4599e MD5 77c1a575e83147507e516dc002b7cb6e alienarena-20070224-r1.ebuild 2788 RMD160 bf206a3e543a84b03b36f094dee05b44177a93cf alienarena-20070224-r1.ebuild 2788 SHA256 51643e1d27bc32c2536471c9380a06b02268301df6fe806153c16d3f3cb4599e alienarena-20070224-r1.ebuild 2788 -MISC ChangeLog 858 RMD160 b89f0579b34a334feb8baa02ca34aa65ec3fb552 SHA1 a21e63f2ba74a64c47cbb8eccb4a42d7a4ffc0bf SHA256 2bb65f645a80adbe0e87b24a50d62e5962b1deee1d7f2e1963456f914bf9b243 -MD5 a133efad5691b7076ca2e139c6bbacd7 ChangeLog 858 -RMD160 b89f0579b34a334feb8baa02ca34aa65ec3fb552 ChangeLog 858 -SHA256 2bb65f645a80adbe0e87b24a50d62e5962b1deee1d7f2e1963456f914bf9b243 ChangeLog 858 +EBUILD alienarena-20070613.ebuild 2541 RMD160 bcea03a698273be93923c12aa974d8e3092ff9a9 SHA1 a527401e39827d4b64f200f99a942bed75c0c5fe SHA256 2bd7efa905e857df373c5bc2981d63c5266beb111b2e6ac5612efcb1259536b3 +MD5 d18c754da7159c5b7eab639f48dd3405 alienarena-20070613.ebuild 2541 +RMD160 bcea03a698273be93923c12aa974d8e3092ff9a9 alienarena-20070613.ebuild 2541 +SHA256 2bd7efa905e857df373c5bc2981d63c5266beb111b2e6ac5612efcb1259536b3 alienarena-20070613.ebuild 2541 +MISC ChangeLog 1053 RMD160 b9234ade6b4776d78e07e5291af553241508cac8 SHA1 4bfa54901b2f81cf22d615599f399a14b71a13ac SHA256 37aaa9701175a55d4327b8a84934562cc24c2206f0c4bfadaa42ebf3c94f0d50 +MD5 b00191e5f1b1ebae6b58f404428503bc ChangeLog 1053 +RMD160 b9234ade6b4776d78e07e5291af553241508cac8 ChangeLog 1053 +SHA256 37aaa9701175a55d4327b8a84934562cc24c2206f0c4bfadaa42ebf3c94f0d50 ChangeLog 1053 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -33,10 +46,13 @@ SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 metadata MD5 bbbb88d8d843d358e0164ba74ad0e37a files/digest-alienarena-20070224-r1 298 RMD160 abf0835b2842366fa468974ec26eb3abc00b4f74 files/digest-alienarena-20070224-r1 298 SHA256 c3bfc994214b80376544c9265619bde383a537af3e6727fa635a1c5b8327c73a files/digest-alienarena-20070224-r1 298 +MD5 94403c6274573c3d2d4593fe13d39a6b files/digest-alienarena-20070613 289 +RMD160 d1f39ec77b918efee0347e2eacdee0cdf639b974 files/digest-alienarena-20070613 289 +SHA256 bd04973bedb2d2fe0c8faec18cdbdfc592b35884f5d4bef00032c4643b282992 files/digest-alienarena-20070613 289 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.3 (GNU/Linux) +Version: GnuPG v2.0.4 (GNU/Linux) -iD8DBQFGFeAhdz7hIScOURERAhLtAKCcByWpqzKbhWLcN9mlIW+YbN4jqgCgjpCs -Bzi61qPN7yIongU5b4zsD6Q= -=6o/R +iD8DBQFGcamAdz7hIScOURERAmo/AJ9+NuY9hPQW/jvVGuwoPTGP4QRCcwCfTHGZ +FB9Qg/W+iT1fJYnv/YivTQI= +=1mD5 -----END PGP SIGNATURE----- diff --git a/games-fps/alienarena/alienarena-20070613.ebuild b/games-fps/alienarena/alienarena-20070613.ebuild new file mode 100644 index 000000000000..9f893e0e94da --- /dev/null +++ b/games-fps/alienarena/alienarena-20070613.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-fps/alienarena/alienarena-20070613.ebuild,v 1.1 2007/06/14 20:47:25 nyhm Exp $ + +inherit eutils flag-o-matic toolchain-funcs games + +MY_PN=${PN}${PV:0:4} +DESCRIPTION="Fast paced multiplayer deathmatch game" +HOMEPAGE="http://red.planetarena.org/" +SRC_URI="http://cor.planetquake.gamespy.com/codered/files/${MY_PN}-${PV}-linux.zip + http://icculus.org/${PN}/files/${MY_PN}-${PV}-linux.zip" + +LICENSE="GPL-2 free-noncomm" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="dedicated opengl sdl" + +UIRDEPEND="media-libs/jpeg + virtual/glu + virtual/opengl + x11-libs/libXxf86dga + x11-libs/libXxf86vm + sdl? ( media-libs/libsdl )" +UIDEPEND="x11-proto/xf86dgaproto + x11-proto/xf86vidmodeproto + x11-proto/xproto" +RDEPEND="opengl? ( ${UIRDEPEND} ) + !opengl? ( !dedicated? ( ${UIRDEPEND} ) )" +DEPEND="${RDEPEND} + app-arch/unzip + opengl? ( ${UIDEPEND} ) + !opengl? ( !dedicated? ( ${UIDEPEND} ) )" + +S=${WORKDIR}/${MY_PN} + +src_unpack() { + unpack ${A} + cd ${MY_PN} + rm -f */*.so + epatch "${FILESDIR}"/${P}-paths.patch + sed -i \ + -e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \ + -e "s:GENTOO_LIBDIR:$(games_get_libdir)/${PN}:" \ + source/unix/sys_unix.c \ + || die "sed failed" +} + +src_compile() { + [[ $(gcc-fullversion) == "4.1.1" ]] && replace-flags -O? -O0 + emake \ + CC="$(tc-getCC)" \ + OPTIMIZED_CFLAGS= \ + $(use sdl && echo SDLSOUND=1) \ + $(use opengl && ! use dedicated && echo BUILD=GAME) \ + $(! use opengl && use dedicated && echo BUILD=DEDICATED) \ + $(use opengl && use dedicated && echo BUILD=ALL) \ + $(! use opengl && ! use dedicated && echo BUILD=GAME) \ + || die "emake failed" +} + +src_install() { + cd release + exeinto "$(games_get_libdir)"/${PN} + doexe game.so || die "doexe failed" + + if use opengl || ! use dedicated ; then + newgamesbin crx ${PN}-oss || die "newgamesbin crx failed" + make_desktop_entry ${PN}-oss "Alien Arena (OSS audio)" ${PN}.xpm + use sdl || dosym ${PN}-oss "${GAMES_BINDIR}"/${PN} + fi + + if use sdl ; then + newgamesbin crx.sdl ${PN}-sdl || die "newgamesbin crx.sdl failed" + make_desktop_entry ${PN}-sdl "Alien Arena (SDL audio)" ${PN}.xpm + dosym ${PN}-sdl "${GAMES_BINDIR}"/${PN} + fi + + if use dedicated ; then + newgamesbin crded ${PN}-ded || die "newgamesbin crded failed" + fi + + cd "${WORKDIR}"/${MY_PN} + insinto "${GAMES_DATADIR}"/${PN} + doins -r arena botinfo data1 || die "doins failed" + doicon "${FILESDIR}"/${PN}.xpm + dodoc docs/README.txt docs/changelog.txt + prepgamesdirs +} diff --git a/games-fps/alienarena/files/alienarena-20070613-paths.patch b/games-fps/alienarena/files/alienarena-20070613-paths.patch new file mode 100644 index 000000000000..263aa58666b6 --- /dev/null +++ b/games-fps/alienarena/files/alienarena-20070613-paths.patch @@ -0,0 +1,19 @@ +--- source/unix/sys_unix.c 2007-06-14 13:15:32.834511771 -0400 ++++ source/unix/sys_unix.c 2007-06-14 13:16:54.505565372 -0400 +@@ -234,7 +234,7 @@ + path = FS_NextPath (path); + if (!path) + return NULL; // couldn't find one anywhere +- snprintf (name, MAX_OSPATH, "%s/%s", path, gamename); ++ snprintf (name, MAX_OSPATH, "%s/%s", "GENTOO_LIBDIR", gamename); + + /* skip it if it just doesn't exist */ + fp = fopen(name, "rb"); +@@ -308,6 +308,7 @@ + saved_euid = geteuid(); + seteuid(getuid()); + ++ chdir("GENTOO_DATADIR"); + Qcommon_Init(argc, argv); + + fcntl(0, F_SETFL, fcntl (0, F_GETFL, 0) | FNDELAY); diff --git a/games-fps/alienarena/files/alienarena.xpm b/games-fps/alienarena/files/alienarena.xpm new file mode 100644 index 000000000000..ee78ac5a0127 --- /dev/null +++ b/games-fps/alienarena/files/alienarena.xpm @@ -0,0 +1,256 @@ +/* XPM */ +static char * Q2_xpm[] = { +"32 32 221 2", +" c None", +". c #160300", +"+ c #342234", +"@ c #170300", +"# c #150300", +"$ c #180300", +"% c #250500", +"& c #240400", +"* c #130200", +"= c #0E0100", +"- c #0D0100", +"; c #0B0100", +"> c #090100", +", c #1A0300", +"' c #280500", +") c #1C0400", +"! c #100200", +"~ c #0C0100", +"{ c #0A0100", +"] c #100100", +"^ c #140300", +"/ c #200400", +"( c #5E0E00", +"_ c #962609", +": c #42190A", +"< c #29150A", +"[ c #27150A", +"} c #26140A", +"| c #22130A", +"1 c #0F0905", +"2 c #020000", +"3 c #2D0600", +"4 c #630E00", +"5 c #4A1B0A", +"6 c #26150A", +"7 c #24140A", +"8 c #1F120A", +"9 c #0C0704", +"0 c #070000", +"a c #1F0400", +"b c #6B1000", +"c c #D83208", +"d c #E34615", +"e c #7B3215", +"f c #5B2D15", +"g c #582C15", +"h c #562B15", +"i c #472815", +"j c #311E12", +"k c #000000", +"l c #480A00", +"m c #C12A07", +"n c #AD3B15", +"o c #632E15", +"p c #592C15", +"q c #532B15", +"r c #442715", +"s c #020100", +"t c #380800", +"u c #7C1200", +"v c #C2370F", +"w c #B73D15", +"x c #723015", +"y c #622E15", +"z c #602D15", +"A c #512A15", +"B c #3C2415", +"C c #120C07", +"D c #450A00", +"E c #F34512", +"F c #B33C15", +"G c #692F15", +"H c #612E15", +"I c #5D2C15", +"J c #4B2915", +"K c #392315", +"L c #1E0400", +"M c #4E0B00", +"N c #771502", +"O c #C03D13", +"P c #963715", +"Q c #682F15", +"R c #5A2C15", +"S c #462715", +"T c #301D10", +"U c #491506", +"V c #D54215", +"W c #813315", +"X c #5F2D15", +"Y c #522A15", +"Z c #3D2415", +"` c #1D120B", +" . c #270500", +".. c #610E00", +"+. c #8A2107", +"@. c #BF3F15", +"#. c #542B15", +"$. c #4D2915", +"%. c #622A12", +"&. c #853415", +"*. c #612D15", +"=. c #432615", +"-. c #2D1C11", +";. c #010000", +">. c #030000", +",. c #190300", +"'. c #370800", +"). c #6C1000", +"!. c #AA320E", +"~. c #AF3C15", +"{. c #713015", +"]. c #5D2D15", +"^. c #652E15", +"/. c #5C2C15", +"(. c #4A2815", +"_. c #382214", +":. c #0B0704", +"<. c #140200", +"[. c #1D0400", +"}. c #4C0B00", +"|. c #751502", +"1. c #BF3D13", +"2. c #993715", +"3. c #1B110A", +"4. c #080000", +"5. c #982307", +"6. c #803315", +"7. c #602E15", +"8. c #2C1C11", +"9. c #4B0B00", +"0. c #C51E00", +"a. c #FA430E", +"b. c #A63A15", +"c. c #3D2515", +"d. c #090503", +"e. c #600E00", +"f. c #D02201", +"g. c #FC4C13", +"h. c #9D3815", +"i. c #3F2515", +"j. c #190F09", +"k. c #090000", +"l. c #390800", +"m. c #921600", +"n. c #D9370C", +"o. c #763115", +"p. c #372214", +"q. c #070403", +"r. c #771200", +"s. c #B62605", +"t. c #EC4615", +"u. c #8E3515", +"v. c #572C15", +"w. c #2C1B10", +"x. c #050000", +"y. c #120200", +"z. c #570C00", +"A. c #A21B01", +"B. c #ED4413", +"C. c #6B2F15", +"D. c #3A0800", +"E. c #D7370D", +"F. c #D04115", +"G. c #773115", +"H. c #422614", +"I. c #48200E", +"J. c #8D3515", +"K. c #6D2F15", +"L. c #080503", +"M. c #791200", +"N. c #B82606", +"O. c #EB4615", +"P. c #8C3515", +"Q. c #552B15", +"R. c #21140C", +"S. c #280902", +"T. c #C63F15", +"U. c #8E3615", +"V. c #580D00", +"W. c #A41B01", +"X. c #F04513", +"Y. c #6A2F15", +"Z. c #492815", +"`. c #362114", +" + c #050302", +".+ c #320700", +"++ c #BA320C", +"@+ c #C13F15", +"#+ c #1A100A", +"$+ c #A31800", +"%+ c #E53D0D", +"&+ c #733115", +"*+ c #1D130C", +"=+ c #350700", +"-+ c #901902", +";+ c #D34114", +">+ c #090603", +",+ c #0F0100", +"'+ c #1B0300", +")+ c #560C00", +"!+ c #D82D06", +"~+ c #CC4415", +"{+ c #4E2915", +"]+ c #4C2915", +"^+ c #240500", +"/+ c #6F1000", +"(+ c #84270C", +"_+ c #662F15", +":+ c #4E2A15", +"<+ c #482815", +"[+ c #2D1C10", +"}+ c #571304", +"|+ c #210C05", +"1+ c #120A05", +"2+ c #110A05", +"3+ c #100905", +"4+ c #360700", +"5+ c #320901", +"6+ c #190B05", +"7+ c #060201", +"8+ c #110200", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . + . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . @ @ . . . . . # # # . @ @ . . . . . # # # . . . . . ", +". . . . . $ % & * = = - - ; > = , ' ) ! = = - ~ { { ] ^ . . . . ", +". . . . . / ( _ : < [ [ } | 1 2 3 4 5 < [ [ 6 7 8 9 0 * . . . . ", +". . . . . a b c d e f g h i j k l m n o p g q r j s 0 * . . . . ", +". . . . . $ t u v w x y z A B C D E F G H I J K 9 k - # . . . . ", +". . . . . . L M N O P Q H R S T U V W o X Y Z ` k 0 * . . . . . ", +". . . . . . . ...+.@.W o X #.$.%.&.Q *.g =.-.;.>.! # . . . . . ", +". . . . . . . ,.'.).!.~.{.y X ].o ^.y /.(._.:.;.~ <.. . . . . . ", +". . . . . . . . [.}.|.1.2.Q H H y H X A B 3.k 4.* . . . . . . . ", +". . . . . . . . . .4 5.V 6.o y y 7.p =.8.k >.! # . . . . . . . ", +". . . . . . . . . , 9.0.a.b.^.y y 7.q c.d.k ; ^ . . . . . . . . ", +". . . . . . . . . [.e.f.g.h.^.y y 7.h i.j.k k.<.. . . . . . . . ", +". . . . . . . . $ l.m.n.V o.y y y H /.(.p.q.;.= # . . . . . . . ", +". . . . . . . . .r.s.t.u.^.H 7.H H z v.=.w.k x.y.# . . . . . . ", +". . . . . . . [.z.A.B.n C.H /.h y Q o X A Z j.k { <.. . . . . . ", +". . . . . . $ D.m.E.F.G.y ].$.H.I.J.K.H /.(._.L.;.= ^ . . . . . ", +". . . . . . .M.N.O.P.^.z Q.i.R.S.T.U.^.z v.=.w.k x.y.# . . . . ", +". . . . . [.V.W.X.n Y.H ].Z.`. +.+++@+{.H X A Z #+k { <.. . . . ", +". . . . @ '.$+%+V &+X ].#.i.*+k =+-+;+&.*.].p Z._.>+2 ,+# . . . ", +". . . . '+)+!+~+G {+]+J S _. +2 ^+/+(+_+:+]+J <+i.[+k { ^ . . . ", +". . . . ,.t }+|+1+2+2+2+3+9 ;.; ,.4+5+6+1+2+2+2+3+1 7+~ ^ . . . ", +". . . . . '+'+! - - - ~ ; ; = * . , '+8+- - - ~ ~ ; - * # . . . ", +". . . . . . . # # # # # # # # # . . . # # # # # # # # # . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ", +". . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . "}; diff --git a/games-fps/alienarena/files/digest-alienarena-20070613 b/games-fps/alienarena/files/digest-alienarena-20070613 new file mode 100644 index 000000000000..d6346c0e6e31 --- /dev/null +++ b/games-fps/alienarena/files/digest-alienarena-20070613 @@ -0,0 +1,3 @@ +MD5 65d2948fa636cbc28c82da2264df2fea alienarena2007-20070613-linux.zip 223204178 +RMD160 ae4b12d8f3271dd6e4c0ad801ec58e218a686e96 alienarena2007-20070613-linux.zip 223204178 +SHA256 593a7b106768abaff4c55f0b06dc20b5914601516c98ca5dfe93526de0559933 alienarena2007-20070613-linux.zip 223204178 |