diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..a01b345 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -1,6 +1,7 @@ # All available README files by language - [Read the README in English](README.md) +- [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) -- [Leggi il “README” in italiano](README_it.md) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index b48935f..3c802cf 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Minetest with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minetest) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Minetest quickly and simply on a YunoHost server.* > *If you don't have YunoHost, please consult [the guide](https://yunohost.org/install) to learn how to install it.* @@ -19,7 +19,7 @@ It shall NOT be edited by hand. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Shipped version:** 5.8.0~ynh2 +**Shipped version:** 5.8.0~ynh3 ## Screenshots diff --git a/README_eu.md b/README_eu.md new file mode 100644 index 0000000..52ef9f0 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,47 @@ + + +# Minetest YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/minetest.svg)](https://dash.yunohost.org/appci/app/minetest) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/minetest.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/minetest.maintain.svg) + +[![Instalatu Minetest YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minetest) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Minetest YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Minetest is a free open-source voxel game engine with easy modding and game creation. + + +**Paketatutako bertsioa:** 5.8.0~ynh3 + +## Pantaila-argazkiak + +![Minetest(r)en pantaila-argazkia](./doc/screenshots/screenshot.jpg) + +## Dokumentazioa eta baliabideak + +- Aplikazioaren webgune ofiziala: +- Jatorrizko aplikazioaren kode-gordailua: +- YunoHost Denda: +- Eman errore baten berri: + +## Garatzaileentzako informazioa + +Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/minetest_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/minetest_ynh/tree/testing --debug +edo +sudo yunohost app upgrade minetest -u https://github.com/YunoHost-Apps/minetest_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 8338511..54de58b 100644 --- a/README_fr.md +++ b/README_fr.md @@ -19,7 +19,7 @@ Il NE doit PAS être modifié à la main. Minetest est un moteur de jeu voxel open-source avec modding et création de jeux faciles. -**Version incluse :** 5.8.0~ynh2 +**Version incluse :** 5.8.0~ynh3 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index b00cae3..55277d6 100644 --- a/README_gl.md +++ b/README_gl.md @@ -19,7 +19,7 @@ NON debe editarse manualmente. Minetest is a free open-source voxel game engine with easy modding and game creation. -**Versión proporcionada:** 5.8.0~ynh2 +**Versión proporcionada:** 5.8.0~ynh3 ## Capturas de pantalla diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..1209f08 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,47 @@ + + +# YunoHost 的 Minetest + +[![集成程度](https://dash.yunohost.org/integration/minetest.svg)](https://dash.yunohost.org/appci/app/minetest) ![工作状态](https://ci-apps.yunohost.org/ci/badges/minetest.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/minetest.maintain.svg) + +[![使用 YunoHost 安装 Minetest](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=minetest) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Minetest。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Minetest is a free open-source voxel game engine with easy modding and game creation. + + +**分发版本:** 5.8.0~ynh3 + +## 截图 + +![Minetest 的截图](./doc/screenshots/screenshot.jpg) + +## 文档与资源 + +- 官方应用网站: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/minetest_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/minetest_ynh/tree/testing --debug +或 +sudo yunohost app upgrade minetest -u https://github.com/YunoHost-Apps/minetest_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/manifest.toml b/manifest.toml index f5a3b76..974c13e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ 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~ynh2" +version = "5.8.0~ynh3" maintainers = [] @@ -34,10 +34,6 @@ ram.runtime = "50M" [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" @@ -72,7 +68,7 @@ ram.runtime = "50M" [resources] [resources.sources] [resources.sources.minetest_game] - url = "https://github.com/minetest/minetest_game/archive/5.8.0.tar.gz" + 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" @@ -83,21 +79,21 @@ ram.runtime = "50M" autoupdate.strategy = "latest_github_release" [resources.sources.irrlichtmt] - url = "https://github.com/minetest/irrlicht/archive/1.9.0mt14.tar.gz" - sha256 = "56ff07c89849df4b5a7d37e573afd7890f4c1f1d1fe010ade711193ca707306c" + 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.7.tar.gz" - sha256 = "d81f4277761a072f0516e1363e7fa171a9f25b55d4c5f2e0114544fa8f9df99d" + url = "https://github.com/MT-CTF/capturetheflag/archive/refs/tags/v3.8.tar.gz" + sha256 = "b6426fa3681f760599f7aba18eec8f65df2c007d5cd1411372f39343c01b49bf" autoupdate.upstream = "https://github.com/MT-CTF/capturetheflag" autoupdate.strategy = "latest_github_release" [resources.sources.mineclonia] - url = "https://codeberg.org/mineclonia/mineclonia/archive/0.94.0.tar.gz" - sha256 = "ad3b0dfabb442b47d3b54f0dd6bc5c882573e98c2c924a29ea395b9a59d0bde6" + url = "https://codeberg.org/mineclonia/mineclonia/archive/0.97.1.tar.gz" + sha256 = "a5bc5bee07d6e0b3bdf16fd8ffd19a98a5036e54222bd19bb16cd56247d164d7" autoupdate.upstream = "https://codeberg.org/mineclonia/mineclonia" autoupdate.strategy = "latest_forgejo_release" @@ -113,6 +109,21 @@ ram.runtime = "50M" main.exposed = "UDP" [resources.permissions] + main.allowed = "visitors" [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" + 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 + """