1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/veloren_ynh.git synced 2024-09-03 17:46:10 +02:00

Upgrade to 0.13.0~ynh1

This commit is contained in:
yalh76 2022-07-26 00:02:18 +02:00
parent 4b32602b5d
commit 15db07f2ca
7 changed files with 24 additions and 18 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft
**Shipped version:** 0.12.0~ynh1 **Shipped version:** 0.13.0~ynh1
**Demo:** server.veloren.net:14004 **Demo:** server.veloren.net:14004
@ -31,9 +31,9 @@ Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Bre
Veloren is in pre-alpha, il y aura des bugs. Veloren is in pre-alpha, il y aura des bugs.
This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client: This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client:
* [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=windows) * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=windows)
* [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=linux) * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=linux)
* [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=macos) * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=macos)
## Documentation and resources ## Documentation and resources

View file

@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft
**Version incluse :** 0.12.0~ynh1 **Version incluse :** 0.13.0~ynh1
**Démo :** server.veloren.net:14004 **Démo :** server.veloren.net:14004
@ -31,9 +31,9 @@ RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Br
Veloren est en pre-alpha, il y aura des bugs. Veloren est en pre-alpha, il y aura des bugs.
Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client: Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client:
* [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=windows) * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=windows)
* [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=linux) * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=linux)
* [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=macos) * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=macos)
## Documentations et ressources ## Documentations et ressources

View file

@ -1,7 +1,7 @@
SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.12.0/veloren-v0.12.0.tar.gz SOURCE_URL=https://gitlab.com/veloren/veloren/-/archive/v0.13.0/veloren-v0.13.0.tar.gz
SOURCE_SUM=10fc0d1cb123ff9caf4ff90412df5241306780dbd2a43be1e37a0c8bac437697 SOURCE_SUM=10fc0d1cb123ff9caf4ff90412df5241306780dbd2a43be1e37a0c8bac437697
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=veloren-v0.12.0.tar.gz SOURCE_FILENAME=
SOURCE_EXTRACT=true SOURCE_EXTRACT=true

View file

@ -1,6 +1,6 @@
Veloren is in pre-alpha, il y aura des bugs. Veloren is in pre-alpha, il y aura des bugs.
This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client: This package provides the last "release" version of Veloren, which is older than that of the official server. You will need to download the corresponding version of the client:
* [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=windows) * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=windows)
* [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=linux) * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=linux)
* [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=macos) * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=macos)

View file

@ -1,6 +1,6 @@
Veloren est en pre-alpha, il y aura des bugs. Veloren est en pre-alpha, il y aura des bugs.
Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client: Ce paquet fournit la dernière version "release" de Veloren, qui est plus ancienne que celle du serveur officiel. Il vous faudra télécharger la version correspondante du client:
* [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=windows) * [Windows x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=windows)
* [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=linux) * [Linux x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=linux)
* [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.12.0/download?job=macos) * [MacOS x64](https://gitlab.com/veloren/veloren/-/jobs/artifacts/v0.13.0/download?job=macos)

View file

@ -6,7 +6,7 @@
"en": "Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft", "en": "Multiplayer voxel RPG inspired by games such as Cube World, Legend of Zelda: Breath of the Wild, Dwarf Fortress and Minecraft",
"fr": "RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft" "fr": "RPG voxel multijoueur inspiré de jeux tels que Cube World, Legend of Zelda : Breath of the Wild, Dwarf Fortress et Minecraft"
}, },
"version": "0.12.0~ynh1", "version": "0.13.0~ynh1",
"url": "https://veloren.net", "url": "https://veloren.net",
"upstream": { "upstream": {
"license": "GPL-3.0-only", "license": "GPL-3.0-only",

View file

@ -7,6 +7,8 @@
# dependencies used by the app # dependencies used by the app
pkg_dependencies="ca-certificates librust-backtrace+libbacktrace-dev build-essential git git-lfs" pkg_dependencies="ca-certificates librust-backtrace+libbacktrace-dev build-essential git git-lfs"
nix_git_hash="34ae5b9d/2022-07-23-08:55"
#================================================= #=================================================
# PERSONAL HELPERS # PERSONAL HELPERS
#================================================= #=================================================
@ -74,6 +76,10 @@ function set_permissions {
} }
function install_rust { function install_rust {
ynh_secure_remove --file="$final_path/.cargo"
ynh_secure_remove --file="$final_path/.rustup"
ynh_secure_remove --file="$data_path/.cargo"
ynh_secure_remove --file="$data_path/.rustup"
ynh_exec_warn_less ynh_exec_as "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain stable' ynh_exec_warn_less ynh_exec_as "$app" RUSTUP_HOME="$final_path"/.rustup CARGO_HOME="$final_path"/.cargo bash -c 'curl -sSf -L https://static.rust-lang.org/rustup.sh | sh -s -- -y --default-toolchain stable'
} }
@ -83,7 +89,7 @@ function compile_server {
chown -R $app:$app "$final_path" chown -R $app:$app "$final_path"
export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin" export PATH="$PATH:$final_path/.cargo/bin:$final_path/.local/bin:/usr/local/sbin"
pushd "$final_path/build" pushd "$final_path/build"
ynh_exec_warn_less ynh_exec_as "$app" env PATH="$PATH" NIX_GIT_HASH="cf2bdb20/2021-06-12-08:55" NIX_GIT_TAG="v0.10.0" VELOREN_ASSETS="$final_path/build/assets" RUSTFLAGS="-D warnings" VELOREN_USERDATA_STRATEGY=system cargo build --bin veloren-server-cli --release ynh_exec_warn_less ynh_exec_as "$app" env PATH="$PATH" NIX_GIT_HASH="$nix_git_hash" NIX_GIT_TAG="v$(ynh_app_upstream_version)" VELOREN_ASSETS="$final_path/build/assets" RUSTFLAGS="-D warnings" VELOREN_USERDATA_STRATEGY=system cargo build --bin veloren-server-cli --release
popd popd
ynh_secure_remove --file="$final_path/live" ynh_secure_remove --file="$final_path/live"