rework script to create loki installer
the script now automatically picks up the architectures present in the build directory. Also builds installer without data files if no data files are present. Wrt loki metadata the installer now installs ioq3 as default component instead of the data files. After all baseq3 is just a mod (almost) like any other.
This commit is contained in:
parent
0d8d161eaf
commit
62363cdf93
4 changed files with 185 additions and 172 deletions
111
misc/setup/setup.xml.in
Normal file
111
misc/setup/setup.xml.in
Normal file
|
@ -0,0 +1,111 @@
|
|||
<?xml version="1.0" standalone="yes"?>
|
||||
<install product="ioquake3"
|
||||
desc="ioquake3"
|
||||
version="VERSION"
|
||||
update_url="http://www.ioquake3.org/updates.txt"
|
||||
promptbinaries="yes"
|
||||
reinstall="yes"
|
||||
nopromptoverwrite="yes"
|
||||
preuninstall="preuninstall.sh">
|
||||
<readme>
|
||||
README
|
||||
</readme>
|
||||
|
||||
<component name="Default" version="VERSION" default="yes">
|
||||
ifelse(HAVE_X86_64,yes,dnl
|
||||
<option install="true" arch="x86_64">
|
||||
ioq3 x86_64 binaries
|
||||
<binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
|
||||
<files>
|
||||
ioquake3.x86_64.tar
|
||||
</files>
|
||||
<help>you need the binaries to play the game</help>
|
||||
</option>
|
||||
)dnl
|
||||
ifelse(HAVE_I386,yes,dnl
|
||||
<option install="true" if="|(x86,x86_64)">
|
||||
ioq3 x86 (32 bit) binaries
|
||||
<binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
|
||||
<files>
|
||||
ioquake3.i386.tar
|
||||
</files>
|
||||
<help>you need the binaries to play the game</help>
|
||||
</option>
|
||||
)dnl
|
||||
ifelse(HAVE_PPC,yes,dnl
|
||||
<option install="true">
|
||||
<binary libc="any" symlink="ioquake3" icon="quake3.png" name="ioquake3">ioquake3</binary>
|
||||
ioq3 ppc binaries
|
||||
<files>
|
||||
ioquake3.ppc.tar
|
||||
</files>
|
||||
<help>you need the binaries to play the game</help>
|
||||
</option>
|
||||
)dnl
|
||||
<option install="true" show="false">
|
||||
shared data
|
||||
<files>
|
||||
quake3.png
|
||||
COPYING
|
||||
</files>
|
||||
</option>
|
||||
</component>
|
||||
ifelse(HAVE_PATCHPK3,yes,dnl
|
||||
|
||||
<component name="Quake III Arena" version="VERSION">
|
||||
<eula>
|
||||
id_patch_pk3s_Q3A_EULA.txt
|
||||
</eula>
|
||||
|
||||
<option install="true">
|
||||
Quake III Arena Point Release 1.32 data files
|
||||
<files path="baseq3">
|
||||
idpatchpk3s.tar
|
||||
</files>
|
||||
</option>
|
||||
|
||||
<option>
|
||||
<help>
|
||||
If you don't select this you need to copy pak0.pk3 to the baseq3 directory manually.
|
||||
</help>
|
||||
Quake III Arena CDROM data
|
||||
<files cdromid="CD 1" path="baseq3"
|
||||
md5sum="1197ca3df1e65f3c380f8abc10ca43bf"
|
||||
size="458M" mode="0664">
|
||||
Quake3/baseq3/pak0.pk3
|
||||
</files>
|
||||
</option>
|
||||
</component>
|
||||
|
||||
<component name="Quake III Team Arena" version="VERSION">
|
||||
<eula>
|
||||
id_patch_pk3s_Q3A_EULA.txt
|
||||
</eula>
|
||||
|
||||
<option install="true">
|
||||
Quake III Team Arena Point Release 1.32 data files
|
||||
<files path="missionpack">
|
||||
idtapatchpk3s.tar
|
||||
</files>
|
||||
</option>
|
||||
<option>
|
||||
<help>
|
||||
If you don't select this you need to copy the TA pak0.pk3 to the missionpack directory manually.
|
||||
</help>
|
||||
Quake III Team Arena CDROM data
|
||||
<files cdromid="CD 2" path="missionpack" size="336M"
|
||||
md5sum="e8ba9e3bf06210930bc0e7fdbcdd01c2" mode="0644">
|
||||
Setup/missionpack/pak0.pk3
|
||||
</files>
|
||||
</option>
|
||||
</component>
|
||||
|
||||
<cdrom id="CD 1" name="Quake 3 Arena installation CD">
|
||||
Quake3/baseq3/pak0.pk3
|
||||
</cdrom>
|
||||
<cdrom id="CD 2" name="Quake 3 Team Arena installation CD">
|
||||
Setup/missionpack/pak0.pk3
|
||||
</cdrom>
|
||||
)dnl
|
||||
|
||||
</install>
|
Loading…
Add table
Add a link
Reference in a new issue