1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/minetest_ynh.git synced 2024-09-03 20:36:00 +02:00

Merge pull request #60 from orhtej2/patch-1

Fix `bookworm` compatibility
This commit is contained in:
eric_G 2024-04-03 00:05:23 +02:00 committed by GitHub
commit fd2e7652c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -34,10 +34,6 @@ ram.runtime = "50M"
[install.domain] [install.domain]
type = "domain" type = "domain"
[install.init_main_permission]
type = "group"
default = false
[install.game] [install.game]
ask.en = "Choose a game for your server" ask.en = "Choose a game for your server"
ask.fr = "Choissisez un jeu pour votre serveur" ask.fr = "Choissisez un jeu pour votre serveur"
@ -113,6 +109,21 @@ ram.runtime = "50M"
main.exposed = "UDP" main.exposed = "UDP"
[resources.permissions] [resources.permissions]
main.allowed = "visitors"
[resources.apt] [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-gnutls-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
"""