mirror of
https://github.com/RGBCube/serenity
synced 2025-07-31 01:27:44 +00:00
Ports/opfor: Update to 2022.07.14
This commit is contained in:
parent
9383ffadb6
commit
028c26df76
4 changed files with 13 additions and 79 deletions
|
@ -1,23 +1,21 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port="opfor"
|
||||
version="2022.05.01" # Bogus version, this was the last time the commit hashes were updated.
|
||||
_hlsdk_commit=2ffa0261e30a4b90082965bb2539b767c5686a5f
|
||||
useconfigure="true"
|
||||
depends=("SDL2" "halflife")
|
||||
workdir="hlsdk-xash3d-${_hlsdk_commit}"
|
||||
files="https://github.com/FWGS/hlsdk-xash3d/archive/${_hlsdk_commit}.tar.gz hlsdk-xash3d-${_hlsdk_commit}.tar.gz 3537f0ba3baead72beecfdc011cc17cce2fd2227d9c9797767c32a869c764f66"
|
||||
auth_type="sha256"
|
||||
launcher_name="Half-Life: Opposing Force"
|
||||
launcher_category="Games"
|
||||
port='opfor'
|
||||
version='2022.07.14' # Bogus version, this was the last time the commit hashes were updated.
|
||||
_hlsdk_commit='04eba8e9edb92e500090bcc2b34274a5647283a5'
|
||||
useconfigure='true'
|
||||
depends=("xash3d-fwgs")
|
||||
workdir="hlsdk-portable-${_hlsdk_commit}"
|
||||
files="https://github.com/FWGS/hlsdk-portable/archive/${_hlsdk_commit}.tar.gz hlsdk-portable-${_hlsdk_commit}.tar.gz f1f70ffdce218dba9df0e3676f09ed4714b62c06bb73241a09ce8b3c3158ed01"
|
||||
auth_type='sha256'
|
||||
launcher_name='Half-Life: Opposing Force'
|
||||
launcher_category='Games'
|
||||
launcher_command='sh /home/anon/Games/halflife/opfor.sh'
|
||||
|
||||
# This one is a bit tricky to build, so I'm going a little bit off the script....
|
||||
configure() {
|
||||
# Configure the shared object projects (client and game)
|
||||
run ./waf configure -T release
|
||||
}
|
||||
|
||||
build() {
|
||||
# Build game shared object
|
||||
run ./waf build
|
||||
}
|
||||
|
||||
|
@ -51,6 +49,6 @@ cd $scriptdir
|
|||
EOF
|
||||
chmod +x ${SERENITY_INSTALL_ROOT}/home/anon/Games/halflife/opfor.sh
|
||||
|
||||
echo "Please remember to copy the 'gearbox/' folder from your own Half-Life installation"
|
||||
echo "Please remember to copy the 'valve/' and 'gearbox/' folders from your own Half-Life installation"
|
||||
echo "into ${SERENITY_INSTALL_ROOT}/home/anon/Games/halflife/"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue