mirror of
https://github.com/YunoHost-Apps/minetest_ynh.git
synced 2024-09-03 20:36:00 +02:00
111 lines
3.5 KiB
TOML
111 lines
3.5 KiB
TOML
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.8.0~ynh1"
|
||
|
||
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.init_main_permission]
|
||
type = "group"
|
||
default = false
|
||
|
||
[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"]
|
||
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/5.8.0.tar.gz"
|
||
sha256 = "33a3bb43b08497a0bdb2f49f140a2829e582d5c16c0ad52be1595c803f706912"
|
||
autoupdate.strategy = "latest_github_tag"
|
||
|
||
[resources.sources.main]
|
||
url = "https://github.com/minetest/minetest/archive/5.8.0.tar.gz"
|
||
sha256 = "610c85a24d77acdc3043a69d777bed9e6c00169406ca09df22ad490fe0d68c0c"
|
||
autoupdate.strategy = "latest_github_tag"
|
||
|
||
[resources.sources.irrlichtmt]
|
||
url = "https://github.com/minetest/irrlicht/archive/1.9.0mt13.tar.gz"
|
||
sha256 = "2fde8e27144988210b9c0ff1e202905834d9d25aaa63ce452763fd7171096adc"
|
||
autoupdate.strategy = "latest_github_tag"
|
||
|
||
[resources.sources.capturetheflag]
|
||
url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.7.tar.gz"
|
||
sha256 = "d81f4277761a072f0516e1363e7fa171a9f25b55d4c5f2e0114544fa8f9df99d"
|
||
autoupdate.strategy = "latest_github_tag"
|
||
|
||
[resources.sources.mineclonia]
|
||
url = "https://codeberg.org/mineclonia/mineclonia/archive/0.93.1.tar.gz"
|
||
sha256 = "8be826d0105c7508e2c9356ffd2ae02d2d3d88932b1105277c0afa1b96e0d6af"
|
||
autoupdate.strategy = "latest_github_tag"
|
||
|
||
[resources.system_user]
|
||
|
||
[resources.install_dir]
|
||
|
||
[resources.data_dir]
|
||
subdirs = [".minetest/worlds"]
|
||
|
||
[resources.ports]
|
||
main.default = 30000
|
||
main.exposed = "UDP"
|
||
|
||
[resources.permissions]
|
||
|
||
[resources.apt]
|
||
packages = "build-essential, libirrlicht-dev, cmake, libbz2-dev, libpng-dev, libjpeg-dev, libxxf86vm-dev, libgl1-mesa-dev, libsqlite3-dev, libogg-dev, libvorbis-dev, libopenal-dev, libcurl4-dev, libfreetype6-dev, zlib1g-dev, libgmp-dev, libjsoncpp-dev, libluajit-5.1-dev, libncurses-dev, libzstd-dev"
|