1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 05:37:34 +00:00

Ports/mgba: Update formatting to be consistent with other ports

This commit is contained in:
Tim Ledbetter 2023-08-11 14:50:23 +01:00 committed by Tim Schumacher
parent 729e35ef21
commit c2afd3de23

View file

@ -1,12 +1,20 @@
#!/usr/bin/env -S bash ../.port_include.sh #!/usr/bin/env -S bash ../.port_include.sh
port=mgba port='mgba'
version=0.9.3 version='0.9.3'
files=( files=(
"https://github.com/mgba-emu/mgba/archive/refs/tags/${version}.tar.gz 692ff0ac50e18380df0ff3ee83071f9926715200d0dceedd9d16a028a59537a0" "https://github.com/mgba-emu/mgba/archive/refs/tags/${version}.tar.gz 692ff0ac50e18380df0ff3ee83071f9926715200d0dceedd9d16a028a59537a0"
) )
configopts=("-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt") configopts=(
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
)
useconfigure=true useconfigure=true
depends=("SDL2" "zlib" "sqlite" "libpng" "libzip") depends=(
'libpng'
'libzip'
'SDL2'
'sqlite'
'zlib'
)
configure() { configure() {
run cmake "${configopts[@]}" run cmake "${configopts[@]}"