1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/photoprism_ynh.git synced 2024-09-03 19:56:41 +02:00

Fix manifest, add schema

This commit is contained in:
Salamandar 2024-01-30 10:24:51 +01:00
parent b429ef7a83
commit 5fbed01f93
2 changed files with 38 additions and 15 deletions

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "photoprism"
@ -19,7 +21,7 @@ code = "https://github.com/photoprism/photoprism"
fund = "https://www.photoprism.app/membership"
[integration]
yunohost = ">= 11.1.21"
yunohost = ">= 11.2"
architectures = ["amd64", "arm64", "armhf"]
multi_instance = false
ldap = false
@ -45,7 +47,7 @@ ram.runtime = "50M"
[install.language]
ask.en = "Choose the application language"
ask.fr = "Choisissez la langue de l'application"
type = "string"
type = "select"
choices = ["fr", "en"]
default = "fr"
@ -56,20 +58,20 @@ ram.runtime = "50M"
[resources]
[resources.sources]
[resources.sources.main]
format = "docker"
extract = true
prefetch = false
[resources.sources.main]
format = "docker"
extract = true
prefetch = false
amd64.url = "photoprism/photoprism:220901-bullseye"
amd64.sha256 = "3381d40181ecdf62932e9530c6b81e6e0f8828a3d373d8dedf662aab96dafba4"
arm64.url = "photoprism/photoprism:220901-bullseye"
arm64.sha256 = "3dcffda0a2b58c91479c883205025edee4ea799fc35be419f9bec708ccb54b7f"
amd64.url = "photoprism/photoprism:220901-bullseye"
amd64.sha256 = "3381d40181ecdf62932e9530c6b81e6e0f8828a3d373d8dedf662aab96dafba4"
arm64.url = "photoprism/photoprism:220901-bullseye"
arm64.sha256 = "3dcffda0a2b58c91479c883205025edee4ea799fc35be419f9bec708ccb54b7f"
armhf.url = "photoprism/photoprism:220901-bullseye"
armhf.sha256 = "a74f4d0a220af9a5291307bfba36f662d97c4df143f04d951e3c30111916317e"
armhf.url = "photoprism/photoprism:220901-bullseye"
armhf.sha256 = "a74f4d0a220af9a5291307bfba36f662d97c4df143f04d951e3c30111916317e"
[resources.system_user]
[resources.install_dir]
@ -89,7 +91,26 @@ ram.runtime = "50M"
main.default = 8095
[resources.apt]
packages = "libc6-dev, libssl-dev, libxft-dev, libhdf5-serial-dev, libpng-dev, libheif-examples, librsvg2-bin, libx264-dev, libx265-dev, libnss3, libfreetype6, libfreetype6-dev, libfontconfig1, libfontconfig1-dev, libzmq3-dev, ffmpeg, libimage-exiftool-perl, mariadb-server"
packages = [
"libc6-dev",
"libssl-dev",
"libxft-dev",
"libhdf5-serial-dev",
"libpng-dev",
"libheif-examples",
"librsvg2-bin",
"libx264-dev",
"libx265-dev",
"libnss3",
"libfreetype6",
"libfreetype6-dev",
"libfontconfig1",
"libfontconfig1-dev",
"libzmq3-dev",
"ffmpeg",
"libimage-exiftool-perl",
"mariadb-server",
]
[resources.database]
type = "mysql"

View file

@ -1,3 +1,5 @@
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/tests.v1.schema.json
test_format = 1.0
[default]