1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/UMS_ynh.git synced 2024-10-01 13:35:01 +02:00
ums_ynh/manifest.toml

98 lines
3.6 KiB
TOML

packaging_format = 2
id = "ums"
name = "Universal Media Server"
description.en = "A DLNA, UPnP and HTTP(S) Media Server"
description.fr = "Un Serveur Multimedia DLNA, UPnP et HTTP(S)"
version = "14.3.0~ynh1"
maintainers = ["Krakinou"]
[upstream]
license = "GPL-2.0-or-later"
website = "www.universalmediaserver.com"
admindoc = "https://github.com/UniversalMediaServer/UniversalMediaServer/wiki"
code = "https://github.com/UniversalMediaServer/UniversalMediaServer"
[integration]
yunohost = ">= 11.1.18"
architectures = "all"
multi_instance = false
ldap = false
sso = false
disk = "1G"
ram.build = "350M"
ram.runtime = "350M"
[install]
[install.domain]
help.en = "UMS require its own subdomain"
help.fr = "UMS a besoin de son propre sous-domaine"
type = "domain"
[install.init_main_permission]
help.en = "Everybody will be able to access your media on the internet without connecting to Yunohost"
help.fr = "Tout le monde pourra voir vos media sans se connecter à Yunohost"
type = "group"
default = "visitors"
[install.server_name]
ask.en = "By which name should UMS be identified by your renderer"
ask.fr = "Par quel nom UMS doit-il être identifié par vos appareils"
help.en = "This has no impact on the way the server will work and is only use to identify it on the network"
help.fr = "Ceci n a aucun impact sur le fonctionnement du serveur et sert uniquement à l identifier sur le réseau"
type = "string"
example = "MyUMS"
default = "UniversalMediaServer"
[install.interface]
ask.en = "Which network interface do you want to use?"
ask.fr = "Quel réseau souhaitez vous utiliser?"
help.en = "On lan, the interface is usually eth0, on wifi it s usually wlan0"
help.fr = "En filaire, l interface est souvent eth0, en wifi wlan0"
type = "string"
default = "eth0"
[resources]
[resources.sources.main]
arm64.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.3.0/UMS-14.3.0-arm64.tgz"
arm64.sha256 = "d6829d1bda1146999f17107c5ed43b1f7b2b20fb43953e8fca52b0926034251e"
amd64.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.3.0/UMS-14.3.0-x86_64.tgz"
amd64.sha256 = "793931e5db6752823c9ccb77710cfc8ee168c1b601b799d7e239a6b9947603b5"
armhf.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.3.0/UMS-14.3.0-armhf.tgz"
armhf.sha256 = "768d38b05e5e9409ed11367f82f9a44c7faf87ae1fa05690838f46b5911157ca"
i386.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.3.0/UMS-14.3.0-x86.tgz"
i386.sha256 = "f5e05184486cc6a08b4d6befa9ae0b74e294198668bbd050cfb7c4899d65b7ac"
autoupdate.strategy = "latest_github_release"
autoupdate.asset.arm64 = ".*-arm64.tgz"
autoupdate.asset.amd64 = ".*-x86_64.tgz"
autoupdate.asset.armhf = ".*-armhf.tgz"
autoupdate.asset.i386 = ".*-x86.tgz"
[resources.ports]
main.default = 9001
rend.default = 5001
rend.exposed = "TCP"
[resources.system_user]
#UMS require a home path for the user as config files are stored in there
home = '/home/yunohost.app/__APP__'
[resources.install_dir]
[resources.data_dir]
[resources.permissions]
main.url = "/"
main.auth_header=false
[resources.apt]
packages = "mediainfo dcraw mencoder mplayer vlc"
packages_from_raw_bash = """
if [[ "$YNH_ARCH" == "armhf" ]] || [[ "$YNH_ARCH" == "arm64" ]]; then
echo openjdk-17-jre
fi
"""