mirror of
https://github.com/RGBCube/serenity
synced 2025-07-29 02:27:35 +00:00
Ports: Add quake3 port :^)
This commit is contained in:
parent
c08dfe063a
commit
e2f1da8cec
11 changed files with 571 additions and 0 deletions
34
Ports/quake3/package.sh
Executable file
34
Ports/quake3/package.sh
Executable file
|
@ -0,0 +1,34 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=quake3
|
||||
version=1.34
|
||||
commit_hash=6d74896557d8c193a9f19bc6845a47e9d0f77db2
|
||||
archive_hash=1db91cfd05170ed5b37c1ab56cdf7bbe6b3c86fc6baee8b68e8e539fddfd88c1
|
||||
files="https://github.com/ioquake/ioq3/archive/$commit_hash.tar.gz ioq3.tar.gz $archive_hash"
|
||||
auth_type=sha256
|
||||
workdir="ioq3-${commit_hash}"
|
||||
depends=("SDL2")
|
||||
launcher_name="QuakeIII: Arena"
|
||||
launcher_category="Games"
|
||||
launcher_command=/usr/local/games/quake3/ioquake3
|
||||
icon_file="misc/quake3.png"
|
||||
|
||||
install() {
|
||||
run make COPYDIR=${SERENITY_INSTALL_ROOT}/usr/local/games/quake3/ copyfiles
|
||||
}
|
||||
|
||||
post_install() {
|
||||
# Let's create a more Serenity friendly `autoexec.cfg` file :^)
|
||||
cat <<- 'EOF' > ${SERENITY_INSTALL_ROOT}/usr/local/games/quake3/baseq3/autoexec.cfg
|
||||
set cl_renderer "opengl1"
|
||||
set r_fullscreen "0"
|
||||
set cg_drawfps "1"
|
||||
EOF
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "==== Post installation instructions ===="
|
||||
echo "Please remember to install baseq3 from your Quake3 install"
|
||||
echo "into /usr/local/games/quake3/"
|
||||
echo "Don't forget to add the following to Base/etc/fstab/:"
|
||||
echo "/usr/local/games/quake3 /usr/local/games/quake3 bind bind,nodev,nosuid,wxallowed"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue