mirror of
https://github.com/YunoHost-Apps/UMS_ynh.git
synced 2024-10-01 13:35:01 +02:00
- `main` v14.5.0: https://github.com/UniversalMediaServer/UniversalMediaServer/releases/tag/14.5.0
98 lines
3.6 KiB
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.5.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.5.0/UMS-14.5.0-arm64.tgz"
|
|
arm64.sha256 = "5cf5ac93ab05e2c8092076b501ceb151dafbd330168bcec394f426427db621b9"
|
|
amd64.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.5.0/UMS-14.5.0-x86_64.tgz"
|
|
amd64.sha256 = "b5b37b878f6b9785d79668433c94d9dc054f0799557f8adaa226633dd73a21fd"
|
|
armhf.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.5.0/UMS-14.5.0-armhf.tgz"
|
|
armhf.sha256 = "bdee30c6cb80f5239c4601b34ed1a65c4c0225cd8c444ef9988e06facdbe5d35"
|
|
i386.url = "https://github.com/UniversalMediaServer/UniversalMediaServer/releases/download/14.5.0/UMS-14.5.0-x86.tgz"
|
|
i386.sha256 = "8b0310542e29844f4d95ba3bcb361ee9209cc7a2b3ac9130378bcd42a651fd8a"
|
|
|
|
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
|
|
"""
|