mirror of
https://github.com/YunoHost-Apps/tldraw_ynh.git
synced 2024-09-03 20:35:54 +02:00
74 lines
4.2 KiB
TOML
74 lines
4.2 KiB
TOML
|
packaging_format = 2
|
||
|
|
||
|
id = "tldraw"
|
||
|
name = "TLDraw"
|
||
|
description.en = "A tiny little drawing app"
|
||
|
description.fr = "Une toute petite application de dessin"
|
||
|
|
||
|
version = "1.24.5~ynh2"
|
||
|
|
||
|
maintainers = ["Raoul de Limezy"]
|
||
|
|
||
|
[upstream]
|
||
|
license = "MIT"
|
||
|
website = "https://tldraw.com"
|
||
|
demo = "https://tldraw.com"
|
||
|
admindoc = "https://github.com/tldraw/tldraw/blob/main/guides/documentation.md"
|
||
|
userdoc = "https://github.com/tldraw/tldraw/blob/main/guides/documentation.md"
|
||
|
code = "https://github.com/tldraw/tldraw"
|
||
|
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 = ">= 11.0.9"
|
||
|
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 = true
|
||
|
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
|
||
|
help.en = "TLDraw needs a fully dedicated domain"
|
||
|
help.fr = "TLDraw nécessite une installation à la racine du domaine"
|
||
|
type = "domain"
|
||
|
full_domain = true
|
||
|
|
||
|
[install.init_main_permission]
|
||
|
type = "group"
|
||
|
default = "visitors"
|
||
|
|
||
|
[install.publickey]
|
||
|
ask.en = "Liveblocks API Public Key"
|
||
|
ask.fr = "Clé publique de l'API Liveblocks"
|
||
|
help.en = "Multiplayer mode requires a Liveblocks API Public Key (you can get one for free at https://liveblocks.io). Don't input anything if you don't want multiplayer mode."
|
||
|
help.fr = "Le mode d'édition instantanée requiert une clef publique d'API Liveblocks (vous pouvez en obtenir une gratuitement sur ttps://liveblocks.io). Ne mettez rien si vous ne souhaitez pas de mode d'étition instantanée."
|
||
|
type = "string"
|
||
|
|
||
|
[install.secretkey]
|
||
|
ask.en = "Liveblocks API Secret Key"
|
||
|
ask.fr = "Clé secrète de l'API Liveblocks"
|
||
|
help.en = "Multiplayer mode requires a Liveblocks API Secret Key (you can get one for free at https://liveblocks.io). Don't input anything if you don't want multiplayer mode."
|
||
|
help.fr = "Le mode d'édition instantanée requiert une clef secrete d'API Liveblocks (vous pouvez en obtenir une gratuitement sur ttps://liveblocks.io). Ne mettez rien si vous ne souhaitez pas de mode d'étition instantanée."
|
||
|
type = "string"
|
||
|
|
||
|
[resources]
|
||
|
[resources.sources.main]
|
||
|
url = "https://github.com/tldraw/tldraw/archive/8e55e263bf45cb6d425178c638aec385ec01e62c.zip"
|
||
|
sha256 = "d090aac97266e043418ec34d46e722dd69c7dace4bd30f39afb9478eb21271d1"
|
||
|
|
||
|
|
||
|
[resources.system_user]
|
||
|
|
||
|
[resources.install_dir]
|
||
|
|
||
|
[resources.permissions]
|
||
|
main.url = "/"
|
||
|
[[resources.apt.extras]]
|
||
|
repo = "deb https://dl.yarnpkg.com/debian/ stable main"
|
||
|
key = "https://dl.yarnpkg.com/debian/pubkey.gpg 2>&1"
|
||
|
packages = "yarn"
|