mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 08:37:35 +00:00
Ports: Fix SDLPoP
This port was still using the upstream's master branch as opposed to a fixed git commit. Also, now that SDL2 is installed into /usr/local the build failed. I have also removed an obsolete patch because we're now linking against shared libraries for SDL2 and those already have appropriate library dependencies.
This commit is contained in:
parent
6f5e92a279
commit
253c1aa644
4 changed files with 35 additions and 16 deletions
|
@ -3,17 +3,17 @@ port=PrinceOfPersia
|
|||
useconfigure=true
|
||||
version=git
|
||||
depends="SDL2 SDL2_image"
|
||||
workdir=SDLPoP-master
|
||||
workdir=SDLPoP-86988c668eeaa10f218e1d4938fc5b4e42314d68
|
||||
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
|
||||
files="https://github.com/NagyD/SDLPoP/archive/refs/heads/master.zip PoP.zip c75184eb2a7e8c9ed008ffae371ec178"
|
||||
auth_type=md5
|
||||
files="https://github.com/NagyD/SDLPoP/archive/86988c668eeaa10f218e1d4938fc5b4e42314d68.zip PoP.zip d18cae8541fb8cbcc374fd998316993d561429a83f92061bc0754337ada774c5"
|
||||
auth_type=sha256
|
||||
install_location="Root/opt/PrinceOfPersia"
|
||||
|
||||
configure() {
|
||||
run cmake $configopts src/.
|
||||
run cmake $configopts ./src
|
||||
}
|
||||
|
||||
install() {
|
||||
run mkdir -p "${SERENITY_BUILD_DIR}/${install_location}"
|
||||
mkdir -p "${SERENITY_BUILD_DIR}/${install_location}"
|
||||
run cp -r prince data SDLPoP.ini "${SERENITY_BUILD_DIR}/${install_location}"
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue