2023-04-02 14:48:59 +02:00
|
|
|
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~ynh4"
|
|
|
|
|
|
|
|
maintainers = []
|
|
|
|
|
|
|
|
[upstream]
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
admindoc = "https://airsonic.github.io/docs/"
|
|
|
|
code = "https://github.com/airsonic-advanced/airsonic-advanced"
|
|
|
|
|
|
|
|
[integration]
|
2023-08-31 12:06:01 +02:00
|
|
|
yunohost = ">= 11.2"
|
2023-04-02 14:57:36 +02:00
|
|
|
architectures = "all"
|
2023-04-02 14:48:59 +02:00
|
|
|
multi_instance = true
|
2023-04-02 14:57:36 +02:00
|
|
|
ldap = true
|
|
|
|
sso = true
|
|
|
|
disk = "50M"
|
2023-08-31 12:22:57 +02:00
|
|
|
ram.build = "500M"
|
2023-04-02 14:57:36 +02:00
|
|
|
ram.runtime = "50M"
|
2023-04-02 14:48:59 +02:00
|
|
|
|
|
|
|
[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"
|
2023-04-02 14:57:36 +02:00
|
|
|
extract = false
|
2023-04-02 14:48:59 +02:00
|
|
|
|
2023-04-02 14:57:36 +02:00
|
|
|
[resources.ports]
|
2023-04-02 14:48:59 +02:00
|
|
|
|
|
|
|
[resources.system_user]
|
|
|
|
|
|
|
|
[resources.install_dir]
|
|
|
|
|
|
|
|
[resources.data_dir]
|
2023-06-12 16:20:54 +02:00
|
|
|
subdirs =["Podcasts", "Playlists"]
|
2023-04-02 14:48:59 +02:00
|
|
|
|
|
|
|
[resources.permissions]
|
|
|
|
main.url = "/"
|
2023-04-02 14:57:36 +02:00
|
|
|
|
|
|
|
[resources.apt]
|
2023-07-18 12:18:33 +02:00
|
|
|
packages = "ffmpeg"
|
|
|
|
packages_from_raw_bash = """
|
|
|
|
debian=$(lsb_release --codename --short)
|
|
|
|
if [[ $debian = "bullseye" ]]; then
|
|
|
|
echo "openjdk-11-jre";
|
|
|
|
elif [[ $debian = "bookworm" ]]; then
|
|
|
|
echo "openjdk-17-jre";
|
|
|
|
fi
|
|
|
|
"""
|