1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/librephotos_ynh.git synced 2024-09-03 19:36:12 +02:00
librephotos_ynh/manifest.toml

121 lines
6.3 KiB
TOML

#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "librephotos"
name = "Librephotos"
description.en = "A photo viewer and manager similar to Google Photos"
description.fr = "Un gestionnaire de photos semblable à Google Photos"
version = "0.2021.36~ynh1"
maintainers = ["Jules Bertholet"]
[upstream]
license = "MIT"
website = "https://librephotos.com/"
demo = "https://demo2.librephotos.com/ (user: demo, password: demo1234)"
admindoc = "https://docs.librephotos.com/"
userdoc = "https://github.com/LibrePhotos/librephotos"
code = "https://github.com/LibrePhotos/librephotos"
cpe = "???" # FIXME: optional but recommended if relevant, this is meant to contain the Common Platform Enumeration, which is sort of a standard id for applications defined by the NIST. In particular, Yunohost may use this is in the future to easily track CVE (=security reports) related to apps. The CPE may be obtained by searching here: https://nvd.nist.gov/products/cpe/search. For example, for Nextcloud, the CPE is 'cpe:2.3:a:nextcloud:nextcloud' (no need to include the version number)
fund = "???" # FIXME: optional but recommended (or remove if irrelevant / not applicable). This is meant to be an URL where people can financially support this app, especially when its development is based on volunteers and/or financed by its community. YunoHost may later advertise it in the webadmin.
[integration]
yunohost = ">= 4.2.4"
architectures = "all" # FIXME: can be replaced by a list of supported archs using the dpkg --print-architecture nomenclature (amd64/i386/armhf/arm64), for example: ["amd64", "i386"]
multi_instance = false
ldap = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "sso" key : the "ldap" key corresponds to wether or not a user *can* login on the app using its YunoHost credentials.
sso = "?" # FIXME: replace with true, false, or "not_relevant". Not to confuse with the "ldap" key : the "sso" key corresponds to wether or not a user is *automatically logged-in* on the app when logged-in on the YunoHost portal.
disk = "50M" # FIXME: replace with an **estimate** minimum disk requirement. e.g. 20M, 400M, 1G, ...
ram.build = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
ram.runtime = "50M" # FIXME: replace with an **estimate** minimum ram requirement. e.g. 50M, 400M, 1G, ...
[install]
[install.domain]
# this is a generic question - ask strings are automatically handled by Yunohost's core
type = "domain"
[install.admin]
# this is a generic question - ask strings are automatically handled by Yunohost's core
type = "user"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.allow_multimedia_write]
ask.en = "Allow write access to multimedia directories?"
ask.fr = "Autoriser la modification des fichiers dans les dossiers multimédia ?"
type = "boolean"
default = false
[resources]
[resources.sources]
[resources.sources.backend]
url = "https://github.com/LibrePhotos/librephotos/tarball/11c6994d3c506d835335f596090a13545d72713a"
sha256 = "0e588d7ed34fa826e8beba3894586b16bb247b00548215190732a1cbec57167b"
[resources.sources.cmake]
url = "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-aarch64.tar.gz"
sha256 = "77620f99e9d5f39cf4a49294c6a68c89a978ecef144894618974b9958efe3c2a"
[resources.sources.cmake_amd64]
url = "https://github.com/Kitware/CMake/releases/download/v3.20.3/cmake-3.20.3-linux-x86_64.tar.gz"
sha256 = "97bf730372f9900b2dfb9206fccbcf92f5c7f3b502148b832e77451aa0f9e0e6"
[resources.sources.dlib]
url = "https://github.com/davisking/dlib/archive/refs/tags/v19.22.tar.gz"
sha256 = "5f44b67f762691b92f3e41dcf9c95dd0f4525b59cacb478094e511fdacb5c096"
[resources.sources.faiss]
url = "https://github.com/facebookresearch/faiss/archive/refs/tags/v1.7.1.tar.gz"
sha256 = "d676d3107ad41203a49e0afda2630519299dc8666f8d23322cbe1eac0c431871"
[resources.sources.frontend]
url = "https://github.com/LibrePhotos/librephotos-frontend/tarball/37963756369f11617c456a56f6850b2e8aaf8358"
sha256 = "085b62550214bd9ffecfefde802b96f3542e6867bb25ff1a830623b598e4c61d"
[resources.sources.im2txt]
url = "https://github.com/LibrePhotos/librephotos-docker/releases/download/0.1/im2txt.tar.gz"
sha256 = "980670c0365c0e32b5fecfc0907bfee4742bcd6a40e0d6ac5692c69bbd49ccc4"
[resources.sources.miniforge3]
url = "https://github.com/conda-forge/miniforge/releases/download/4.10.1-4/Miniforge3-4.10.1-4-Linux-aarch64.sh"
sha256 = "68f11be0b8272b9218f62fa3ba1b7c58783427e65db7b7ba77e7cdf91f099540"
format = "sh"
rename = "Miniforge3-4.10.1-4-Linux-aarch64.sh"
[resources.sources.places365]
url = "https://github.com/LibrePhotos/librephotos-docker/releases/download/0.1/places365.tar.gz"
sha256 = "27792ffcd1f6a4de7abebdea046dda0916f9cd12eba7bed7b5f51f120f91f0d8"
[resources.sources.resnet152-b121ed2d]
url = "https://download.pytorch.org/models/resnet152-b121ed2d.pth"
sha256 = "b121ed2db97ec7e9f55a91300ceaf85a326de955e8a4ae09e3a0c8170d27f14f"
format = "tar"
rename = "resnet152-b121ed2d.pth"
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.ports]
main.default = 3000
backend.default = 8001
similarity.default = 12345
[resources.apt]
packages = "libtinfo5, unzip, ca-certificates, swig, libpq-dev, postgresql, postgresql-contrib, postgresql-common, ffmpeg, libimage-exiftool-perl, curl, libopenblas-dev, libmagic1, libboost-all-dev, libxrender-dev, liblapack-dev, git, bzip2, cmake, build-essential, libsm6, libglib2.0-0, libgl1-mesa-glx, gfortran, gunicorn, libheif-dev, libssl-dev, rustc, liblzma-dev, python3, python3-pip, python3-venv, imagemagick, xsel, nodejs, npm, redis-server, libmagickwand-dev, libldap2-dev, libsasl2-dev, $pkg_dependencies, ufraw-batch"
[[resources.apt.extras]]
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
packages = "yarn"
[resources.database]
type = "postgresql"