1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 23:17:46 +00:00

Ports: Add mGBA

This commit is contained in:
Luke Wilde 2022-04-13 17:22:56 +01:00 committed by Linus Groh
parent 5d6c5571c4
commit a9a90b1b58
5 changed files with 65 additions and 0 deletions

16
Ports/mgba/package.sh Executable file
View file

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