alienarena ported form pisi 1.2 build and check
This commit is contained in:
Executable
+27
@@ -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())
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Executable
+13
@@ -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;
|
||||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 4.6 KiB |
Executable
+39
@@ -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
|
||||||
Executable
+76
@@ -0,0 +1,76 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>alienarena</Name>
|
||||||
|
<Homepage>http://red.planetarena.org</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Pisi Linux Admins</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<License>COR-Entertainment-LLC</License>
|
||||||
|
<Icon>alienarena</Icon>
|
||||||
|
<IsA>app:gui</IsA>
|
||||||
|
<Summary>A standalone 3D first person shooter game</Summary>
|
||||||
|
<Description>Alien Arena is a standalone 3D first person online deathmatch shooter crafted from the original source code of Quake II and Quake III.</Description>
|
||||||
|
<Archive sha1sum="7c52bfcc8a578167301ccac9d20997716dac8a37" type="targz">http://red.planetarena.org/files/alienarena-7.66-linux20130827.tar.gz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||||
|
<Dependency>libXxf86dga-devel</Dependency>
|
||||||
|
<Dependency>libXxf86vm-devel</Dependency>
|
||||||
|
<Dependency>libX11-devel</Dependency>
|
||||||
|
<Dependency>mesa-devel</Dependency>
|
||||||
|
<Dependency>openal-devel</Dependency>
|
||||||
|
<Dependency>ode-devel</Dependency>
|
||||||
|
<Dependency>libvorbis-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
<Patches>
|
||||||
|
<Patch level="1">use_home_dir.patch</Patch>
|
||||||
|
</Patches>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>alienarena</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libjpeg-turbo</Dependency>
|
||||||
|
<Dependency>libXxf86vm</Dependency>
|
||||||
|
<Dependency>curl</Dependency>
|
||||||
|
<Dependency>zlib</Dependency>
|
||||||
|
<Dependency>libX11</Dependency>
|
||||||
|
<Dependency>libvorbis</Dependency>
|
||||||
|
<Dependency>libgcc</Dependency>
|
||||||
|
<Dependency>freetype</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib/alienarena</Path>
|
||||||
|
<Path fileType="library">/usr/share/alienarena</Path>
|
||||||
|
<Path fileType="data">/usr/share/applications</Path>
|
||||||
|
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||||
|
<Path fileType="data">/usr/share/icons</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
<AdditionalFiles>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/usr/share/pixmaps/alienarena.png">alienarena.png</AdditionalFile>
|
||||||
|
<AdditionalFile owner="root" permission="0644" target="/usr/share/applications/alienarena.desktop">alienarena.desktop</AdditionalFile>
|
||||||
|
</AdditionalFiles>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2014-09-27</Date>
|
||||||
|
<Version>7.66</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Aydın Demirel</Name>
|
||||||
|
<Email>aydin.demirel@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2013-01-12</Date>
|
||||||
|
<Version>7.60.1</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Osman Erkan</Name>
|
||||||
|
<Email>osman.erkan@pisilinux.org</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
Executable
+8
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>alienarena</Name>
|
||||||
|
<Summary xml:lang="tr">3 Boyutlu ilkgözden nişancılık oyunu</Summary>
|
||||||
|
<Description xml:lang="tr">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.</Description>
|
||||||
|
</Source>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user