-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathmanifest.toml
74 lines (56 loc) · 1.7 KB
/
manifest.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "airsonic"
name = "Airsonic-Advanced"
description.en = "Stream and manage your music collection"
description.fr = "Streamez et gérez votre collection de musique"
version = "11.0.0~ynh5"
maintainers = []
[upstream]
license = "GPL-3.0-or-later"
admindoc = "https://airsonic.github.io/docs/"
code = "https://github.com/airsonic-advanced/airsonic-advanced"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true
sso = true
disk = "50M"
ram.build = "500M"
ram.runtime = "50M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/airsonic"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.admin]
type = "user"
[resources]
[resources.sources.main]
url = "https://github.com/airsonic-advanced/airsonic-advanced/releases/download/11.0.0-SNAPSHOT.20230217142243/airsonic.war"
sha256 = "84d37d34586aa2a6335a0214d743a0518e82d7d668e8cc142abb12e20211220f"
rename = "airsonic.war"
extract = false
autoupdate.strategy = "latest_github_release"
autoupdate.asset = "airsonic.war"
[resources.ports]
[resources.system_user]
[resources.install_dir]
[resources.data_dir]
subdirs =["Podcasts", "Playlists"]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = "ffmpeg"
packages_from_raw_bash = """
if [[ $YNH_DEBIAN_VERSION == "bullseye" ]]; then
echo "openjdk-11-jre";
elif [[ $YNH_DEBIAN_VERSION == "bookworm" ]]; then
echo "openjdk-17-jre";
fi
"""