2021-03-30 17:38:10 +00:00
|
|
|
#!/usr/bin/env -S bash ../.port_include.sh
|
2023-08-13 07:15:53 +00:00
|
|
|
port='hatari'
|
|
|
|
useconfigure='true'
|
2023-08-13 07:03:29 +00:00
|
|
|
version='2.4.1'
|
2023-08-13 07:15:53 +00:00
|
|
|
depends=(
|
|
|
|
'SDL2'
|
|
|
|
'zlib'
|
|
|
|
)
|
|
|
|
configopts=(
|
|
|
|
"-DCMAKE_TOOLCHAIN_FILE=${SERENITY_BUILD_DIR}/CMakeToolchain.txt"
|
|
|
|
)
|
2023-07-10 11:10:29 +00:00
|
|
|
files=(
|
2023-09-02 04:32:27 +00:00
|
|
|
"https://github.com/hatari/hatari/archive/refs/tags/v${version}.tar.gz#68c5edbe60db7a83e6e9b427eaac1136b62653846d64e415850e88d9a6a2cbc2"
|
2023-07-10 11:10:29 +00:00
|
|
|
)
|
2023-08-13 07:15:53 +00:00
|
|
|
launcher_name='Hatari'
|
2024-01-03 19:34:07 +00:00
|
|
|
launcher_category='&Games'
|
2023-08-13 07:09:30 +00:00
|
|
|
launcher_command='/usr/local/bin/hatari'
|
2023-08-13 07:12:42 +00:00
|
|
|
icon_file='share/icons/hicolor/32x32/apps/hatari.png'
|
2021-03-16 20:53:13 +00:00
|
|
|
|
|
|
|
configure() {
|
2021-09-26 22:16:18 +00:00
|
|
|
run cmake "${configopts[@]}"
|
2021-03-16 20:53:13 +00:00
|
|
|
}
|
2021-05-01 21:22:27 +00:00
|
|
|
|
|
|
|
install() {
|
|
|
|
run make install
|
|
|
|
}
|