diff --git a/game/fps/alienarena/actions.py b/game/fps/alienarena/actions.py new file mode 100755 index 0000000000..894dccba39 --- /dev/null +++ b/game/fps/alienarena/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 2 +# See the file http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools +from pisi.actionsapi import get + +shelltools.export("PTHREAD_LIBS", "-lpthread") +shelltools.export("PTHREAD_CFLAGS", "-pthread") + +def setup(): + # Use system libopenal + pisitools.dosed("source/unix/qal_unix.c", "libopenal.so", "$LIBOPENAL") + autotools.configure() + +def build(): + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + + diff --git a/game/fps/alienarena/files/alienarena.desktop b/game/fps/alienarena/files/alienarena.desktop new file mode 100755 index 0000000000..5749fb447d --- /dev/null +++ b/game/fps/alienarena/files/alienarena.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Encoding=UTF-8 +Name=Alien Arena +Name[tr]=Alien Arena +GenericName=FPS Game +GenericName[tr]=FPS Oyunu +Icon=alienarena +Exec=alienarena +Terminal=false +StartupNotify=false +Categories=Application;Game;ActionGame; diff --git a/game/fps/alienarena/files/alienarena.png b/game/fps/alienarena/files/alienarena.png new file mode 100755 index 0000000000..91446f9cbd Binary files /dev/null and b/game/fps/alienarena/files/alienarena.png differ diff --git a/game/fps/alienarena/files/use_home_dir.patch b/game/fps/alienarena/files/use_home_dir.patch new file mode 100755 index 0000000000..379c8cafab --- /dev/null +++ b/game/fps/alienarena/files/use_home_dir.patch @@ -0,0 +1,39 @@ +Index: alienarena-7.50/source/qcommon/qcommon.h +=================================================================== +--- alienarena-7.50.orig/source/qcommon/qcommon.h ++++ alienarena-7.50/source/qcommon/qcommon.h +@@ -43,7 +43,7 @@ Foundation, Inc., 59 Temple Place - Suit + + #if !defined USER_GAMEDATA + // default for COR_GAME environment variable +-#define USER_GAMEDATA ".codered" ++#define USER_GAMEDATA ".alienarena" + #endif + /*----------------------------------------*/ + +Index: alienarena-7.50/Tools/LinuxScripts/launch-server +=================================================================== +--- alienarena-7.50.orig/Tools/LinuxScripts/launch-server ++++ alienarena-7.50/Tools/LinuxScripts/launch-server +@@ -22,7 +22,7 @@ + if [ $COR_GAME ] ; then + aadir=$COR_GAME + else +-aadir=~/.codered ++aadir=~/.alienarena + fi + + ### Set your AA Binary Name or command string ($1 is the argument +Index: alienarena-7.50/Tools/LinuxScripts/launchservers +=================================================================== +--- alienarena-7.50.orig/Tools/LinuxScripts/launchservers ++++ alienarena-7.50/Tools/LinuxScripts/launchservers +@@ -10,7 +10,7 @@ execname=crx-ded + if [ ${COR_GAME} ]; then + cfgpath=${COR_GAME}/arena + else +-cfgpath=~/.codered/arena ++cfgpath=~/.alienarena/arena + fi + + # use to generate core dumps after crashs diff --git a/game/fps/alienarena/pspec.xml b/game/fps/alienarena/pspec.xml new file mode 100755 index 0000000000..eb330a27cf --- /dev/null +++ b/game/fps/alienarena/pspec.xml @@ -0,0 +1,76 @@ + + + + + alienarena + http://red.planetarena.org + + Pisi Linux Admins + admins@pisilinux.org + + GPLv2 + COR-Entertainment-LLC + alienarena + app:gui + A standalone 3D first person shooter game + Alien Arena is a standalone 3D first person online deathmatch shooter crafted from the original source code of Quake II and Quake III. + http://red.planetarena.org/files/alienarena-7.66-linux20130827.tar.gz + + libjpeg-turbo-devel + libXxf86dga-devel + libXxf86vm-devel + libX11-devel + mesa-devel + openal-devel + ode-devel + libvorbis-devel + + + use_home_dir.patch + + + + + alienarena + + libjpeg-turbo + libXxf86vm + curl + zlib + libX11 + libvorbis + libgcc + freetype + + + /usr/bin + /usr/lib/alienarena + /usr/share/alienarena + /usr/share/applications + /usr/share/pixmaps + /usr/share/icons + /usr/share/doc + + + alienarena.png + alienarena.desktop + + + + + + 2014-09-27 + 7.66 + Version bump. + Aydın Demirel + aydin.demirel@pisilinux.org + + + 2013-01-12 + 7.60.1 + First release + Osman Erkan + osman.erkan@pisilinux.org + + + diff --git a/game/fps/alienarena/translations.xml b/game/fps/alienarena/translations.xml new file mode 100755 index 0000000000..b93536beee --- /dev/null +++ b/game/fps/alienarena/translations.xml @@ -0,0 +1,8 @@ + + + + alienarena + 3 Boyutlu ilkgözden nişancılık oyunu + Alien Arena, Quake 2 ve 3 oyunlarının kaynak kodlarından yola çıkılarak hazırlanmış çevrimiçi oynanabilen ilkgözden (first person) nişancılık (shooter) oyunudur. + +