2024-02-17 16:03:31 +01:00
|
|
|
|
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
|
|
|
|
|
|
2024-01-08 13:13:58 +01:00
|
|
|
|
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"
|
|
|
|
|
|
2024-08-08 03:38:50 +02:00
|
|
|
|
version = "5.8.0~ynh9"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
maintainers = []
|
|
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
|
license = "MIT"
|
|
|
|
|
website = "http://www.minetest.net"
|
|
|
|
|
code = "https://github.com/minetest/minetest"
|
2024-01-08 13:58:56 +01:00
|
|
|
|
fund = "https://www.minetest.net/get-involved/#donate"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
[integration]
|
|
|
|
|
yunohost = ">= 11.2"
|
2024-01-08 13:29:31 +01:00
|
|
|
|
architectures = "all"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
multi_instance = true
|
2024-01-08 13:29:31 +01:00
|
|
|
|
|
2024-01-08 13:43:15 +01:00
|
|
|
|
ldap = "not_relevant"
|
2024-01-08 13:29:31 +01:00
|
|
|
|
|
2024-01-08 13:43:15 +01:00
|
|
|
|
sso = "not_relevant"
|
2024-01-08 13:29:31 +01:00
|
|
|
|
|
|
|
|
|
disk = "50M"
|
2024-01-08 13:54:19 +01:00
|
|
|
|
ram.build = "2000M"
|
2024-01-08 13:29:31 +01:00
|
|
|
|
ram.runtime = "50M"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
[install]
|
|
|
|
|
[install.domain]
|
|
|
|
|
type = "domain"
|
|
|
|
|
|
|
|
|
|
[install.game]
|
|
|
|
|
ask.en = "Choose a game for your server"
|
|
|
|
|
ask.fr = "Choissisez un jeu pour votre serveur"
|
2024-01-08 15:19:15 +01:00
|
|
|
|
type = "select"
|
2024-05-16 09:53:43 +02:00
|
|
|
|
choices = ["minetest_game", "capturetheflag", "mineclonia", "mineclone2"]
|
2024-01-08 13:13:58 +01:00
|
|
|
|
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"
|
2024-01-08 13:58:56 +01:00
|
|
|
|
ask.fr = "Permettre aux joueurs de s'entre-tuer"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
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"
|
2024-01-08 13:58:56 +01:00
|
|
|
|
ask.fr = "Permettre aux joueurs de subir des dégâts et de mourir"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
type = "boolean"
|
|
|
|
|
default = true
|
|
|
|
|
|
|
|
|
|
[resources]
|
|
|
|
|
[resources.sources]
|
|
|
|
|
[resources.sources.minetest_game]
|
2024-03-15 02:40:07 +01:00
|
|
|
|
url = "https://github.com/minetest/minetest_game/archive/refs/tags/5.8.0.tar.gz"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
sha256 = "33a3bb43b08497a0bdb2f49f140a2829e582d5c16c0ad52be1595c803f706912"
|
2024-02-14 22:44:20 +01:00
|
|
|
|
autoupdate.upstream = "https://github.com/minetest/minetest_game"
|
2024-02-17 16:03:31 +01:00
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
[resources.sources.main]
|
|
|
|
|
url = "https://github.com/minetest/minetest/archive/5.8.0.tar.gz"
|
|
|
|
|
sha256 = "610c85a24d77acdc3043a69d777bed9e6c00169406ca09df22ad490fe0d68c0c"
|
2024-01-17 12:19:52 +01:00
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
[resources.sources.irrlichtmt]
|
2024-03-15 02:40:07 +01:00
|
|
|
|
url = "https://github.com/minetest/irrlicht/archive/refs/tags/1.9.0mt15.tar.gz"
|
|
|
|
|
sha256 = "12d24380a19be51cab29f54ae48fe08b327789da9c4d082ff815df60393d643f"
|
2024-02-14 22:44:20 +01:00
|
|
|
|
autoupdate.upstream = "https://github.com/minetest/irrlicht"
|
2024-01-17 12:19:52 +01:00
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
2024-02-17 16:03:31 +01:00
|
|
|
|
autoupdate.version_regex = "^(.*)mt(.*)$"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
2024-01-08 15:10:23 +01:00
|
|
|
|
[resources.sources.capturetheflag]
|
2024-07-11 03:38:50 +02:00
|
|
|
|
url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.9.tar.gz"
|
|
|
|
|
sha256 = "8b182d3599b7c5eaa82f1420d0ae23685d2e6c9b2a4b0fd614bc0ded638bce7f"
|
2024-02-14 22:44:20 +01:00
|
|
|
|
autoupdate.upstream = "https://github.com/MT-CTF/capturetheflag"
|
2024-01-17 12:19:52 +01:00
|
|
|
|
autoupdate.strategy = "latest_github_release"
|
2024-01-08 15:15:34 +01:00
|
|
|
|
|
2024-01-08 21:10:41 +01:00
|
|
|
|
[resources.sources.mineclonia]
|
2024-08-08 03:38:50 +02:00
|
|
|
|
url = "https://codeberg.org/mineclonia/mineclonia/archive/0.104.1.tar.gz"
|
|
|
|
|
sha256 = "395156bd9e82be7f9d8f33b4d3ad3fe68ed8c1f98cb734dcd2470fbe9531ffda"
|
2024-02-14 22:44:20 +01:00
|
|
|
|
autoupdate.upstream = "https://codeberg.org/mineclonia/mineclonia"
|
2024-02-14 22:41:30 +01:00
|
|
|
|
autoupdate.strategy = "latest_forgejo_release"
|
2024-01-08 21:10:41 +01:00
|
|
|
|
|
2024-05-16 09:53:43 +02:00
|
|
|
|
[resources.sources.mineclone2]
|
2024-07-03 23:13:03 +02:00
|
|
|
|
url = "https://git.minetest.land/VoxeLibre/VoxeLibre/archive/0.87.2.tar.gz"
|
|
|
|
|
sha256 = "b5dd88266660ceaf4f37e8ea3925dc276e15a7edc8bcf0b3442869a76dd2de3b"
|
2024-05-16 09:53:43 +02:00
|
|
|
|
autoupdate.upstream = "https://git.minetest.land/VoxeLibre/VoxeLibre"
|
2024-07-03 23:13:03 +02:00
|
|
|
|
autoupdate.strategy = "latest_gitea_tag"
|
2024-05-16 09:53:43 +02:00
|
|
|
|
|
2024-01-08 13:13:58 +01:00
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
|
|
[resources.data_dir]
|
2024-01-08 13:29:31 +01:00
|
|
|
|
subdirs = [".minetest/worlds"]
|
|
|
|
|
|
|
|
|
|
[resources.ports]
|
|
|
|
|
main.default = 30000
|
|
|
|
|
main.exposed = "UDP"
|
2024-01-08 13:13:58 +01:00
|
|
|
|
|
|
|
|
|
[resources.permissions]
|
2024-03-22 15:09:49 +01:00
|
|
|
|
main.allowed = "visitors"
|
2024-01-08 13:29:31 +01:00
|
|
|
|
|
|
|
|
|
[resources.apt]
|
2024-03-22 17:36:56 +01:00
|
|
|
|
packages = ["build-essential",
|
|
|
|
|
"cmake",
|
|
|
|
|
"libsqlite3-dev",
|
2024-04-08 12:52:11 +02:00
|
|
|
|
"libcurl4-dev",
|
2024-03-22 17:36:56 +01:00
|
|
|
|
"zlib1g-dev",
|
|
|
|
|
"libgmp-dev",
|
|
|
|
|
"libjsoncpp-dev",
|
2024-03-22 20:00:55 +01:00
|
|
|
|
"libzstd-dev"]
|
2024-03-22 20:09:40 +01:00
|
|
|
|
packages_from_raw_bash = """
|
2024-03-22 20:00:55 +01:00
|
|
|
|
if [[ $YNH_DEBIAN_VERSION = "bullseye" ]]; then
|
|
|
|
|
echo "libluajit-5.1-dev";
|
|
|
|
|
elif [[ $YNH_DEBIAN_VERSION = "bookworm" ]]; then
|
|
|
|
|
echo "libluajit2-5.1-dev";
|
|
|
|
|
fi
|
|
|
|
|
"""
|