mirror of
https://github.com/RGBCube/serenity
synced 2025-07-30 19:27:34 +00:00
Ports/powdertoy: Use the release build type
This should speed up the game
This commit is contained in:
parent
ddfcefe311
commit
6b16430d01
1 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
||||||
port=powdertoy
|
port=powdertoy
|
||||||
version=96.2.350
|
version=96.2.350
|
||||||
useconfigure=true
|
useconfigure=true
|
||||||
configopts=("--cross-file" "../cross_file-$SERENITY_ARCH.txt")
|
configopts=("-Dbuildtype=release" "build-release" "--cross-file" "../cross_file-${SERENITY_ARCH}.txt")
|
||||||
depends=("luajit" "curl" "libfftw3f" "zlib" "SDL2")
|
depends=("luajit" "curl" "libfftw3f" "zlib" "SDL2")
|
||||||
files="https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${version}.tar.gz The-Powder-Toy-${version}.tar.gz d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58"
|
files="https://github.com/The-Powder-Toy/The-Powder-Toy/archive/refs/tags/v${version}.tar.gz The-Powder-Toy-${version}.tar.gz d95cbadee22632687661e8fc488bd64405d81c0dca737e16420f26e93ea5bf58"
|
||||||
auth_type=sha256
|
auth_type=sha256
|
||||||
|
@ -14,13 +14,13 @@ launcher_command="/usr/local/bin/powder"
|
||||||
launcher_run_in_terminal=false
|
launcher_run_in_terminal=false
|
||||||
|
|
||||||
configure() {
|
configure() {
|
||||||
run meson build-debug "${configopts[@]}"
|
run meson "${configopts[@]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
run ninja -C build-debug
|
run ninja -C build-release
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
run cp build-debug/powder "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
run cp build-release/powder "${SERENITY_INSTALL_ROOT}/usr/local/bin"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue