forked from RetroPie/RetroPie-Setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgiana.sh
32 lines (25 loc) · 1022 Bytes
/
giana.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/usr/bin/env bash
# This file is part of The RetroPie Project
#
# The RetroPie Project is the legal property of its developers, whose names are
# too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
#
# See the LICENSE.md file at the top-level directory of this distribution and
# at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
#
rp_module_id="giana"
rp_module_desc="Giana's Return"
rp_module_section="opt"
rp_module_flags="!x86 !mali !kms"
function depends_giana() {
getDepends libsdl1.2-dev libsdl-mixer1.2-dev libraspberrypi-dev
}
function install_bin_giana() {
downloadAndExtract "http://www.retroguru.com/gianas-return/gianas-return-v.latest-raspberrypi.zip" "$md_inst"
patchVendorGraphics "$md_inst/giana_rpi"
}
function configure_giana() {
moveConfigDir "$home/.giana" "$md_conf_root/giana"
addPort "$md_id" "giana" "Giana's Return" "pushd $md_inst; $md_inst/giana_rpi; popd"
chmod +x "$md_inst/giana_rpi"
}