-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmanifest.toml
135 lines (108 loc) · 4.46 KB
/
manifest.toml
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "minetest"
name = "Minetest"
description.en = "Voxel game engine and game. Need a client to connect to the server"
description.fr = "Moteur de jeu de type « bac à sable ». Nécessite un client pour se connecter au serveur"
version = "5.10.0~ynh9"
maintainers = []
[upstream]
license = "MIT"
website = "http://www.minetest.net"
code = "https://github.com/minetest/minetest"
fund = "https://www.minetest.net/get-involved/#donate"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = "not_relevant"
sso = "not_relevant"
disk = "50M"
ram.build = "2000M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.game]
ask.en = "Choose a game for your server"
ask.fr = "Choissisez un jeu pour votre serveur"
type = "select"
choices = ["minetest_game", "capturetheflag", "mineclonia", "mineclone2"]
default = "minetest_game"
[install.servername]
ask.en = "Choose a name for your server"
ask.fr = "Choissisez un nom pour votre serveur"
type = "string"
default = "Minetest server"
[install.pvp]
ask.en = "Whether to enable players killing each other"
ask.fr = "Permettre aux joueurs de s'entre-tuer"
type = "boolean"
default = false
[install.creative]
ask.en = "Whether to enable creative mode (unlimited inventory)"
ask.fr = "Permettre l'utilisation du mode créatif (inventaire illimité)"
type = "boolean"
default = false
[install.damage]
ask.en = "Enable players getting damage and dying"
ask.fr = "Permettre aux joueurs de subir des dégâts et de mourir"
type = "boolean"
default = true
[resources]
[resources.sources]
[resources.sources.minetest_game]
url = "https://github.com/minetest/minetest_game/archive/refs/tags/5.8.0.tar.gz"
sha256 = "33a3bb43b08497a0bdb2f49f140a2829e582d5c16c0ad52be1595c803f706912"
autoupdate.upstream = "https://github.com/minetest/minetest_game"
autoupdate.strategy = "latest_github_tag"
[resources.sources.main]
url = "https://github.com/minetest/minetest/archive/refs/tags/5.10.0.tar.gz"
sha256 = "2a3161c04e7389608006f01280eda30507f8bacfa1d6b64c2af1b820a62d2677"
autoupdate.strategy = "latest_github_release"
[resources.sources.irrlichtmt]
url = "https://github.com/minetest/irrlicht/archive/refs/tags/1.9.0mt15.tar.gz"
sha256 = "12d24380a19be51cab29f54ae48fe08b327789da9c4d082ff815df60393d643f"
autoupdate.upstream = "https://github.com/minetest/irrlicht"
autoupdate.strategy = "latest_github_release"
autoupdate.version_regex = "^(.*)mt(.*)$"
[resources.sources.capturetheflag]
url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.10.tar.gz"
sha256 = "3d706bc29072d005cf807dc3b2014366a0044e65f9fe766afb77965302b00c25"
autoupdate.upstream = "https://github.com/MT-CTF/capturetheflag"
autoupdate.strategy = "latest_github_release"
[resources.sources.mineclonia]
url = "https://codeberg.org/mineclonia/mineclonia/archive/0.110.0.tar.gz"
sha256 = "b5bc34fe224d82c4cd1e6ca05bceaee70dc46e90fc782561599e36f0a2c72cd8"
autoupdate.upstream = "https://codeberg.org/mineclonia/mineclonia"
autoupdate.strategy = "latest_forgejo_release"
[resources.sources.mineclone2]
url = "https://git.minetest.land/VoxeLibre/VoxeLibre/archive/0.88.1.tar.gz"
sha256 = "0502767fcd912e1f746993b59deca9bc8d7dde5f2a3138c29c9e9a79b497d0a9"
autoupdate.upstream = "https://git.minetest.land/VoxeLibre/VoxeLibre"
autoupdate.strategy = "latest_gitea_tag"
[resources.system_user]
[resources.install_dir]
[resources.data_dir]
subdirs = [".minetest/worlds"]
[resources.ports]
main.default = 30000
main.exposed = "UDP"
[resources.permissions]
main.allowed = "visitors"
[resources.apt]
packages = ["build-essential",
"cmake",
"libsqlite3-dev",
"libcurl4-dev",
"zlib1g-dev",
"libgmp-dev",
"libjsoncpp-dev",
"libzstd-dev"]
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION = "bullseye" ]]; then
echo "libluajit-5.1-dev";
elif [[ $YNH_DEBIAN_VERSION = "bookworm" ]]; then
echo "libluajit2-5.1-dev";
fi
"""