mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 18:37:35 +00:00
Ports: Move Quake2 port in-tree
All commits have been combined into one platform support patch.
This commit is contained in:
parent
14ece2ac90
commit
45b9fc2bad
4 changed files with 869 additions and 10 deletions
|
@ -1,18 +1,21 @@
|
|||
#!/usr/bin/env -S bash ../.port_include.sh
|
||||
port=quake2
|
||||
version=0.1
|
||||
workdir=SerenityQuakeII-master
|
||||
useconfigure=true
|
||||
files="https://github.com/SerenityPorts/SerenityQuakeII/archive/master.tar.gz quake2.tar.gz"
|
||||
port='quake2'
|
||||
version='0.1'
|
||||
useconfigure='true'
|
||||
commit_hash='d26d00845e95dc7d781459d0c1a7fd48ea4b6be3'
|
||||
archive_hash='f940d71e0a4e15c040776979c6c99cb3520208744b3c22921f484d70ba82d675'
|
||||
files="https://github.com/shamazmazum/quake2sdl/archive/${commit_hash}.tar.gz quake2.tar.gz ${archive_hash}"
|
||||
auth_type='sha256'
|
||||
workdir="quake2sdl-${commit_hash}"
|
||||
makeopts=()
|
||||
configopts=(
|
||||
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
||||
"-DOPENGL_INCLUDE_DIR=${SERENITY_INSTALL_ROOT}/usr/include/LibGL"
|
||||
)
|
||||
depends=("SDL2")
|
||||
launcher_name=QuakeII
|
||||
launcher_category=Games
|
||||
launcher_command=quake2
|
||||
depends=('SDL2')
|
||||
launcher_name='QuakeII'
|
||||
launcher_category='Games'
|
||||
launcher_command='quake2'
|
||||
|
||||
configure() {
|
||||
run cmake "${configopts[@]}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue