0ad ve gereksinimleri
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# Licensed under the GNU General Public License, version 2.
|
||||
# See the file http://www.gnu.org/copyleft/gpl.txt.
|
||||
|
||||
from pisi.actionsapi import autotools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import pisitools
|
||||
|
||||
def setup():
|
||||
shelltools.cd("build/workspaces/")
|
||||
shelltools.chmod("update-workspaces.sh", 0755)
|
||||
shelltools.export("WX_CONFIG", "/usr/bin/wxconfig")
|
||||
shelltools.export("SHELL","SHELL=/bin/bash")
|
||||
|
||||
shelltools.system("sh update-workspaces.sh \
|
||||
--bindir=/usr/bin \
|
||||
--disable-atlas \
|
||||
--without-pch \
|
||||
--libdir=/usr/lib/0ad \
|
||||
--datadir=/usr/share/0ad/data \
|
||||
JOBS=%s" % get.makeJOBS())
|
||||
|
||||
def build():
|
||||
shelltools.cd("build/workspaces/gcc")
|
||||
autotools.make()
|
||||
|
||||
def install():
|
||||
pisitools.dodoc("LICENSE.txt","license_dbghelp.txt","license_gpl-2.0.txt","license_lgpl-2.1.txt","README.txt",)
|
||||
pisitools.insinto("/usr/share/0ad", "binaries/*")
|
||||
pisitools.insinto("/usr/bin/", "binaries/system/pyrogenesis")
|
||||
pisitools.insinto("/usr/lib/0ad/", "binaries/system/*.so*")
|
||||
pisitools.insinto("/usr/bin/", "build/resources/0ad.sh")
|
||||
pisitools.insinto("/usr/share/pixmaps/", "build/resources/0ad.png", "0ad.png")
|
||||
pisitools.insinto("/usr/share/applications/", "build/resources/0ad.desktop", "0ad.desktop")
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /usr/share/0ad/system
|
||||
./pyrogenesis
|
||||
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
cd /opt/0ad/system
|
||||
LD_LIBRARY_PATH=/opt/enet12/lib ./pyrogenesis -editor
|
||||
@@ -0,0 +1,13 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Encoding=UTF-8
|
||||
Name=0ad Editor
|
||||
GenericName[tr]=3D Tarihi Strateji Oyun Editörü
|
||||
GenericName=3D Historical Strategy Game Editor
|
||||
Exec=0ad-editor
|
||||
Icon=0ad.png
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
X-KDE-SubstituteUID=false
|
||||
Type=Application
|
||||
Categories=Game;StrategyGame;
|
||||
@@ -0,0 +1,164 @@
|
||||
.TH 0AD "6" "May 17 2014" "0ad 0.0.16 Patañjali" "User Commands"
|
||||
|
||||
.SH NAME
|
||||
0ad \- manual page for 0ad 0.0.16 Patañjali
|
||||
.SH SYNOPSIS
|
||||
.B 0ad
|
||||
[\fIoptions\fR]
|
||||
.SH DESCRIPTION
|
||||
0 A.D. (pronounced "zero ey-dee") is a free, open-source, cross-platform
|
||||
real-time strategy (RTS) game of ancient warfare. In short, it is a
|
||||
historically-based war/economy game that allows players to relive or rewrite
|
||||
the history of Western civilizations, focusing on the years between 500 B.C.
|
||||
and 500 A.D. The project is highly ambitious, involving state-of-the-art 3D
|
||||
graphics, detailed artwork, sound, and a flexible and powerful custom-built
|
||||
game engine.
|
||||
|
||||
The game has been in development by Wildfire Games (WFG), a group of volunteer,
|
||||
hobbyist game developers, since 2001.
|
||||
.PP
|
||||
Basic gameplay:
|
||||
.TP
|
||||
\fB\-autostart\fR
|
||||
load a map instead of showing main menu (see below)
|
||||
.TP
|
||||
\fB\-editor\fR
|
||||
launch the Atlas scenario editor
|
||||
.TP
|
||||
\fB\-mod\fR \fINAME\fR
|
||||
start the game using \fINAME\fR mod
|
||||
.TP
|
||||
\fB\-quickstart\fR
|
||||
load faster (disables audio and some system info logging)
|
||||
|
||||
.PP
|
||||
Autostart:
|
||||
.TP
|
||||
\fB\-autostart\fR=\fINAME\fR
|
||||
map \fINAME\fR for scenario, or rms name for random map
|
||||
.TP
|
||||
\fB\-autostart-ai\fR=\fIPLAYER\fR:\fIAI\fR
|
||||
adds named \fIAI\fR to the given \fIPLAYER\fR (e.g. 2:testbot)
|
||||
.TP
|
||||
\fB-autostart-aidiff\fR=\fIPLAYER\fR:\fIlevel\fR
|
||||
changes the difficulty setting for \fIAI PLAYER\fR (0: easy, 3: very hard)
|
||||
|
||||
.PP
|
||||
Multiplayer:
|
||||
.TP
|
||||
\fB\-autostart-playername\fR=\fINAME\fR
|
||||
multiplayer local player \fINAME\fR (default 'anonymous')
|
||||
.TP
|
||||
\fB\-autostart-host\fR
|
||||
multiplayer host mode
|
||||
.TP
|
||||
\fB\-autostart-players\fR=\fINUMBER\fR
|
||||
multiplayer host: \fINUMBER\fR of client players (default 2)
|
||||
.TP
|
||||
\fB\-autostart-client\fR
|
||||
multiplayer client mode
|
||||
.TP
|
||||
\fB\-autostart-ip\fR=\fIIP\fR
|
||||
multiplayer client: connect to this host \fIIP\fR
|
||||
|
||||
.PP
|
||||
Random maps only:
|
||||
.TP
|
||||
\fB\-autostart-random\fR
|
||||
random map
|
||||
.TP
|
||||
\fB\-autostart-random\fR=\fISEED\fR
|
||||
random map with \fISEED\fR value (default 0, use -1 for random)
|
||||
.TP
|
||||
\fB\-autostart-size\fR=\fITILES\fR
|
||||
random map \fISIZE\fR in tiles (default 192)
|
||||
.TP
|
||||
\fB\-autostart-players\fR=\fINUMBER\fI
|
||||
\fINUMBER\fR of players on random map
|
||||
.TP
|
||||
\fB-autostart-civ\fR=\fIPLAYER\fR:\fICIV\fR
|
||||
changes the civilisation of player \fIPLAYER\fR to \fICIV\fR (default athen)
|
||||
|
||||
.PP
|
||||
Configuration:
|
||||
.TP
|
||||
\fB\-conf\fR:\fIKEY\fR=\fIVALUE\fR
|
||||
set a config value (overrides the contents of system.cfg)
|
||||
.TP
|
||||
\fB\-g\fR=\fIF\fR
|
||||
set the gamma correction to '\fIF\fR' (default 1.0)
|
||||
.TP
|
||||
\fB\-nosound\fR
|
||||
disable audio
|
||||
.TP
|
||||
\fB-noUserMod\fR
|
||||
disable loading of the user mod
|
||||
.TP
|
||||
\fB\-shadows\fR
|
||||
enable shadows
|
||||
.TP
|
||||
\fB\-vsync\fR
|
||||
enable VSync, i.e. lock FPS to monitor refresh rate
|
||||
.TP
|
||||
\fB\-xres\fR=\fIN\fR
|
||||
set screen \fIX\fR resolution to '\fIN\fR'
|
||||
.TP
|
||||
\fB\-yres\fR=\fIN\fR
|
||||
set screen \fIY\fR resolution to '\fIN\fR'
|
||||
|
||||
.PP
|
||||
Advanced / diagnostic:
|
||||
.TP
|
||||
\fB\-dumpSchema\fR
|
||||
creates a file \fIentity.rng\fR in the working directory, containing
|
||||
complete entity XML schema, used by various analysis tools
|
||||
.TP
|
||||
\fB\-entgraph\fR
|
||||
(disabled)
|
||||
.TP
|
||||
\fB\-listfiles\fR
|
||||
(disabled)
|
||||
.TP
|
||||
\fB\-profile\fR=\fINAME\fR
|
||||
(disabled)
|
||||
.TP
|
||||
\fB\-replay\fR=\fIPATH\fR
|
||||
non-visual replay of a previous game, used for analysis purposes
|
||||
\fIPATH\fR is system path to commands.txt containing simulation log
|
||||
.TP
|
||||
\fB\-writableRoot\fR
|
||||
store runtime game data in root data directory
|
||||
(only use if you have write permissions on that directory)
|
||||
.TP
|
||||
\fB\-ooslog\fR
|
||||
dumps simulation state in binary and ASCII representations each turn,
|
||||
files created in sim_log within the game's log folder. \fBNOTE\fR: game will
|
||||
run much slower with this option!
|
||||
.TP
|
||||
\fB-serializationtest\fR
|
||||
checks simulation state each turn for serialization errors; on test
|
||||
failure, error is displayed and logs created in oos_log within the
|
||||
game's log folder. \fBNOTE\fR: game will run much slower with this option!
|
||||
|
||||
.PP
|
||||
Archive builder:
|
||||
.TP
|
||||
\fB\-archivebuild\fR=\fIPATH\fR
|
||||
system \fIPATH\fR of the base directory containing mod data to be archived/precached
|
||||
.TP
|
||||
\fB\-archivebuild-output\fR=\fIPATH\fR
|
||||
system \fIPATH\fR to output of the resulting .zip archive (use with archivebuild)
|
||||
.TP
|
||||
\fB\-archivebuild-compress\fR
|
||||
enable deflate compression in the .zip
|
||||
(no zip compression by default since it hurts compression of release packages)
|
||||
|
||||
.SH "REPORTING BUGS"
|
||||
Bugs should be reported on Trac. For information on reporting problems
|
||||
and finding logs, see http://trac.wildfiregames.com/wiki/ReportingErrors
|
||||
|
||||
.SH COPYRIGHT
|
||||
0 A.D. is released as open source: you can freely use, copy, modify and
|
||||
distribute the game's source code and data files, as long as you include
|
||||
attribution to Wildfire Games and let anyone freely modify and distribute any
|
||||
of your own modifications to the game's files.
|
||||
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env xdg-open
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Encoding=UTF-8
|
||||
Name=0AD
|
||||
GenericName=0AD strategy game
|
||||
GenericName[tr]=0AD strateji oyunu
|
||||
Comment=A real-time strategy game of ancient warfare
|
||||
Comment[it]=Videogioco strategico in tempo reale di guerre antiche
|
||||
Comment[tr]= Antik dönemler gerçek zamanlı strateji oyunu
|
||||
Exec=0ad
|
||||
Icon=0ad.png
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;StrategyGame;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 21 KiB |
@@ -0,0 +1,12 @@
|
||||
--- 0ad-0.0.17-alpha.orig/build/workspaces/update-workspaces.sh 2014-09-25 04:54:58.000000000 +0300
|
||||
+++ 0ad-0.0.17-alpha/build/workspaces/update-workspaces.sh 2014-11-18 18:22:23.846062170 +0200
|
||||
@@ -1,9 +1,5 @@
|
||||
#!/bin/sh
|
||||
|
||||
-if [ "$(id -u)" = "0" ]; then
|
||||
- echo "Running as root will mess up file permissions. Aborting ..." 1>&2
|
||||
- exit 1
|
||||
-fi
|
||||
|
||||
die()
|
||||
{
|
||||
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>0ad</Name>
|
||||
<Homepage>http://play0ad.com/</Homepage>
|
||||
<Packager>
|
||||
<Name>Kamil Atlı</Name>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<License>GPLv2</License>
|
||||
<License>LGPLv2</License>
|
||||
<License>CCPL</License>
|
||||
<License>MIT</License>
|
||||
<Icon>0ad</Icon>
|
||||
<IsA>app:gui</IsA>
|
||||
<PartOf>game.strategy</PartOf>
|
||||
<Summary>Cross-platform, 3D and historically-based real-time strategy game</Summary>
|
||||
<Description>Cross-platform, 3D and historically-based real-time strategy game.As the military leader of an ancient civilisation,
|
||||
you must gather the resources you need to raise a military force capable of dominating your enemies.</Description>
|
||||
<Archive sha1sum="3c6bb8924d65d17200e6b9475101e7d04f5db13a" type="tarxz">http://releases.wildfiregames.com/0ad-0.0.23b-alpha-unix-build.tar.xz</Archive>
|
||||
<Archive sha1sum="3e2be1d72e9ed5d413f2cd81de9d48b73b141085" type="tarxz">http://releases.wildfiregames.com/0ad-0.0.23b-alpha-unix-data.tar.xz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>zip</Dependency>
|
||||
<Dependency>nasm</Dependency>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>binutils</Dependency>
|
||||
<Dependency>curl-devel</Dependency>
|
||||
<Dependency>zlib-devel</Dependency>
|
||||
<Dependency>nspr-devel</Dependency>
|
||||
<Dependency>tiff-devel</Dependency>
|
||||
<Dependency>mesa-devel</Dependency>
|
||||
<Dependency>enet-devel</Dependency>
|
||||
<Dependency>wxGTK-devel</Dependency>
|
||||
<Dependency>libSM-devel</Dependency>
|
||||
<Dependency>icu4c-devel</Dependency>
|
||||
<Dependency>gloox-devel</Dependency>
|
||||
<Dependency>boost-devel</Dependency>
|
||||
<Dependency>openal-devel</Dependency>
|
||||
<Dependency>wxBase-devel</Dependency>
|
||||
<Dependency>python-devel</Dependency>
|
||||
<Dependency>libogg-devel</Dependency>
|
||||
<Dependency>libpng-devel</Dependency>
|
||||
<Dependency>libsdl2-devel</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>wxGTK2.8-devel</Dependency>
|
||||
<Dependency>mesa-glu-devel</Dependency>
|
||||
<Dependency>miniupnpc-devel</Dependency>
|
||||
<Dependency>libvorbis-devel</Dependency>
|
||||
<Dependency>libXcursor-devel</Dependency>
|
||||
<Dependency>subversion-devel</Dependency>
|
||||
<Dependency>libsodium-devel</Dependency>
|
||||
<Dependency>python-setuptools</Dependency>
|
||||
<Dependency>spidermonkey-devel</Dependency>
|
||||
<Dependency>libjpeg-turbo-devel</Dependency>
|
||||
</BuildDependencies>
|
||||
<Patches>
|
||||
<Patch level="1">fix_permission.patch</Patch>
|
||||
</Patches>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>0ad</Name>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>tiff</Dependency>
|
||||
<Dependency>enet</Dependency>
|
||||
<Dependency>curl</Dependency>
|
||||
<Dependency>nspr</Dependency>
|
||||
<Dependency>mesa</Dependency>
|
||||
<Dependency>icu4c</Dependency>
|
||||
<Dependency>zlib</Dependency>
|
||||
<Dependency>wxGTK</Dependency>
|
||||
<Dependency>gloox</Dependency>
|
||||
<Dependency>boost</Dependency>
|
||||
<Dependency>libpng</Dependency>
|
||||
<Dependency>libgcc</Dependency>
|
||||
<Dependency>libX11</Dependency>
|
||||
<Dependency>openal</Dependency>
|
||||
<Dependency>wxBase</Dependency>
|
||||
<Dependency>libsdl2</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>libsodium</Dependency>
|
||||
<Dependency>miniupnpc</Dependency>
|
||||
<Dependency>libvorbis</Dependency>
|
||||
<Dependency>libXcursor</Dependency>
|
||||
<Dependency>libjpeg-turbo</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="executable">/usr/bin</Path>
|
||||
<Path fileType="data">/usr/lib</Path>
|
||||
<Path fileType="data">/usr/share/0ad</Path>
|
||||
<Path fileType="data">/usr/share/pixmaps</Path>
|
||||
<Path fileType="data">/usr/share/applications</Path>
|
||||
<Path fileType="doc">/usr/share/doc/0ad</Path>
|
||||
<Path fileType="doc">/usr/share/man/man6</Path>
|
||||
</Files>
|
||||
<AdditionalFiles>
|
||||
<AdditionalFile target="/usr/bin/0ad" owner="root" permission="0755">0ad</AdditionalFile>
|
||||
<AdditionalFile target="/usr/share/applications/0ad.deskop" owner="root" permission="0644">0ad.desktop</AdditionalFile>
|
||||
<AdditionalFile target="//usr/share/man/man6/0ad.6" owner="root" permission="0644">0ad.6</AdditionalFile>
|
||||
<AdditionalFile target="/usr/share/pixmaps/0ad.png" owner="root" permission="0644">0ad.png</AdditionalFile>
|
||||
</AdditionalFiles>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="1">
|
||||
<Date>2019-10-30</Date>
|
||||
<Version>0.0.23b</Version>
|
||||
<Comment>First release</Comment>
|
||||
<Email>suvari@pisilinux.org</Email>
|
||||
<Name>Kamil Atlı</Name>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>0ad</Name>
|
||||
<Summary xml:lang="tr">Tarihsel, 3D gerçek zamanlı strateji oyunu</Summary>
|
||||
<Description xml:lang="tr">Eski bir uygarlığın askeri lideri olarak,gereken kaynakları toplayıp düşmanlarınıza hükmedecek askeri güce sahip olmalı ve galip gelmelisiniz</Description>
|
||||
</Source>
|
||||
</PISI>
|
||||
@@ -0,0 +1,3 @@
|
||||
<PISI>
|
||||
<Name>game.strategy</Name>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user