Skip to content

Commit b2354f7

Browse files
committed
bombermaaan: update to version 2.x and switch to SDL2
Upgraded to the latest version, which uses SDL2 and SDL2-Mixer.
1 parent 75cfcb1 commit b2354f7

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

scriptmodules/ports/bombermaaan.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111

1212
rp_module_id="bombermaaan"
1313
rp_module_desc="Bombermaaan - Classic bomberman game"
14-
rp_module_licence="GPL3 https://raw.githubusercontent.com/bjaraujo/Bombermaaan/master/LICENSE.txt"
15-
rp_module_repo="git https://github.com/bjaraujo/Bombermaaan.git v1.9.7.2126"
14+
rp_module_licence="GPL3 https://raw.githubusercontent.com/bjaraujo/Bombermaaan/master/COPYING.txt"
15+
rp_module_repo="git https://github.com/bjaraujo/Bombermaaan.git master"
1616
rp_module_section="exp"
17-
rp_module_flags="sdl1 !mali"
17+
rp_module_flags="sdl2"
1818

1919
function depends_bombermaaan() {
20-
getDepends cmake libsdl1.2-dev libsdl-mixer1.2-dev
20+
getDepends cmake libsdl2-dev libsdl2-mixer-dev
2121
}
2222

2323
function sources_bombermaaan() {
@@ -33,7 +33,7 @@ function build_bombermaaan() {
3333
}
3434

3535
function install_bombermaaan() {
36-
md_ret_files=(
36+
md_ret_files=(
3737
'trunk/bombermaaan'
3838
'trunk/levels'
3939
'trunk/res/images'
@@ -44,11 +44,11 @@ function install_bombermaaan() {
4444
function configure_bombermaaan() {
4545
addPort "$md_id" "bombermaaan" "Bombermaaan" "$md_inst/bombermaaan"
4646

47-
isPlatform "dispmanx" && setBackend "$md_id" "dispmanx"
47+
[[ "$mode" == "remove" ]] && return
4848

4949
local file="$romdir/ports/Bombermaaan.sh"
5050
cat >"$file" << _EOF_
51-
#!/bin/bash
51+
#!/usr/bin/env bash
5252
pushd "$md_inst"
5353
"$rootdir/supplementary/runcommand/runcommand.sh" 0 _PORT_ bombermaaan ""
5454
popd

0 commit comments

Comments
 (0)