File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # This file is part of The RetroPie Project
4
+ #
5
+ # The RetroPie Project is the legal property of its developers, whose names are
6
+ # too numerous to list here. Please refer to the COPYRIGHT.md file distributed with this source.
7
+ #
8
+ # See the LICENSE.md file at the top-level directory of this distribution and
9
+ # at https://raw.githubusercontent.com/RetroPie/RetroPie-Setup/master/LICENSE.md
10
+ #
11
+
12
+ rp_module_id=" ja2-stracciatella"
13
+ rp_module_desc=" Jagged Alliance 2 - Stracciatella"
14
+ rp_module_licence=" SFI-SCLA https://gitweb.gentoo.org/repo/gentoo.git/tree/licenses/SFI-SCLA?id=779b7439154d85e3ca8ca2ae514d53ee4f866742"
15
+ rp_module_repo=" git https://github.com/ja2-stracciatella/ja2-stracciatella.git v0.21.0"
16
+ rp_module_flags=" sdl2"
17
+ rp_module_section=" exp"
18
+
19
+ function depends_ja2-stracciatella() {
20
+ local depends=(cmake libsdl2-dev)
21
+ [[ " $__os_debian_ver " -gt 11 ]] && depends+=(rustc cargo)
22
+ [[ " $__os_debian_ver " -le 11 ]] && depends+=(rustc-mozilla cargo-mozilla)
23
+ getDepends " ${depends[@]} "
24
+ }
25
+
26
+ function sources_ja2-stracciatella() {
27
+ gitPullOrClone
28
+ }
29
+
30
+ function build_ja2-stracciatella() {
31
+ cmake . -DCMAKE_INSTALL_PREFIX=" $md_inst "
32
+ make
33
+ md_ret_require=" $md_build /ja2"
34
+ strip " $md_build /ja2"
35
+ }
36
+
37
+ function install_ja2-stracciatella() {
38
+ md_ret_files=(
39
+ ' ja2'
40
+ ' externalized'
41
+ ' mods'
42
+ ' unittests'
43
+ )
44
+ }
45
+
46
+ function configure_ja2-stracciatella() {
47
+ addPort " $md_id " " ja2-stracciatella" " Ja2-Stracciatella" " $md_inst /ja2 -fullscreen"
48
+ }
You can’t perform that action at this time.
0 commit comments