Ports: Update prboom-plus to 2.6.66

This commit is contained in:
Linus Groh authored and Nico Weber committed 2026-10-14 12:57:16 -04:00
1 parent 6f9b10bd7b
commit 4cb033e14b
2 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -278,7 +278,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`poppler`](poppler/) | Poppler is a PDF rendering library | 24.02.0 | https://poppler.freedesktop.org/ |
| [`potrace`](potrace/) | Bitmap tracing utility | 1.16 | https://potrace.sourceforge.net/ |
| [`powdertoy`](powdertoy/) | The Powder Toy | 96.2.350 | https://powdertoy.co.uk/ |
| [`prboom-plus`](prboom-plus/) | PrBoom+ | 2.6.2 | https://prboom-plus.sourceforge.io/ |
| [`prboom-plus`](prboom-plus/) | PrBoom+ | 2.6.66 | https://prboom-plus.sourceforge.io/ |
| [`printf`](printf/) | printf (OpenBSD) | 6.6 | https://github.com/ibara/libpuffy |
| [`protobuf`](protobuf/) | Protocol Buffers | 24.3 | https://protobuf.dev/ |
| [`pt2-clone`](pt2-clone/) | ProTracker 2 clone | 1.63 | https://github.com/8bitbubsy/pt2-clone |
+8 -4
View File
@@ -1,11 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='prboom-plus'
version='2.6.2'
version='2.6.66'
useconfigure='true'
squashed_version="$(echo ${version} | tr -d '.')"
files=(
"https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz#5cfeec96fbfe4fc3bd5dbc2b8d581ff5f6617dd74b2799680ba5b1e2e38c4aff"
"https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-w32.zip#20313e00d8841a618e23e7c671d65870194bee634468fecd2f3697ac05f21476"
"https://github.com/coelckers/prboom-plus/archive/refs/tags/v${version}.tar.gz#4b647b4b14c3fac00711e6bf19f996bbfe37754a3b9bb5be6791f0c3fd993438"
"https://github.com/coelckers/prboom-plus/releases/download/v${version}/prboom-plus-${squashed_version}-ucrt64.zip#9c8c2b021a57739e8428b599d80c25a6b95150084cb04a7e433877123b15b141"
)
workdir="prboom-plus-${version}/prboom2"
depends=(
@@ -19,6 +19,10 @@ depends=(
)
configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
# Upstream declares 3.0 which is no longer supported by our CMake.
'-DCMAKE_POLICY_VERSION_MINIMUM=3.25'
'-DCMAKE_C_STANDARD=17'
'-DCMAKE_C_FLAGS=-Wno-error=incompatible-pointer-types'
'-DWITH_ALSA=OFF'
'-DWITH_DUMB=OFF'
'-DWITH_FLUIDSYNTH=OFF'
@@ -45,5 +49,5 @@ install() {
wad_directory="${SERENITY_INSTALL_ROOT}/usr/local/share/games/doom"
mkdir -p "${wad_directory}"
run cp "../../prboom-plus-${squashed_version}-w32/prboom-plus.wad" "${wad_directory}/"
run cp "../../prboom-plus-${squashed_version}-ucrt64/prboom-plus.wad" "${wad_directory}/"
}