-
Notifications
You must be signed in to change notification settings - Fork 7
/
manifest.toml
122 lines (95 loc) · 3.94 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "calibreweb"
name = "Calibre-web"
description.en = "Browsing, reading and downloading eBooks using a Calibre database"
description.fr = "Explorer, lire et télécharger des eBooks à partir d'une base de données Calibre"
version = "0.96.21~ynh2"
maintainers = ["Krakinou"]
[upstream]
license = "GPL-3.0-only"
admindoc = "https://github.com/janeczku/calibre-web/wiki"
code = "https://github.com/janeczku/calibre-web"
[integration]
yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
ldap = true
sso = true
disk = "400M"
ram.build = "200M"
ram.runtime = "200M"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/calibre"
[install.admin]
type = "user"
[install.init_main_permission]
type = "group"
default = "all_users"
[install.language]
ask.en = "Select a default language"
ask.fr = "Choisissez une langue par défaut"
help.en = "You may change it later in the app"
help.fr = "Vous pourrez la changer ultérieurement dans l'application"
type = "select"
optional = true
choices = ["fr", "en", "es", "de"]
default = "fr"
[install.upload]
ask.en = "Do you want to allow uploading of books?"
ask.fr = "Voulez vous autoriser le téléversement de livres?"
help.en = "You may change it later in the app"
help.fr = "Vous pourrez le changer ultérieurement dans l'application"
type = "boolean"
optional = true
default = false
[install.public_library]
ask.en = "Do you want to allow access to the library to all Yunohost users? "
ask.fr = "Voulez vous autoriser l'accès à la bibliothèque à tous les utilisateurs Yunohost?"
help.en = "Yes will set the library in /home/yunohost.multimedia/share/eBook"
help.fr = "Oui parametrera la bibliothèque pour /home/yunohost.multimedia/share/eBook"
type = "boolean"
optional = true
default = true
[resources]
[resources.sources.main]
url = "https://github.com/janeczku/calibre-web/archive/refs/tags/0.6.21.zip"
sha256 = "570afeb74ec6506380e923244088c656921ffc94a616c9da46d68f5f39237fa4"
autoupdate.strategy = "latest_github_release"
[resources.sources.kepubify]
arm64.url = "https://github.com/pgaskin/kepubify/releases/download/v4.0.4/kepubify-linux-arm64"
arm64.sha256="5a15b8f6f6a96216c69330601bca29638cfee50f7bf48712795cff88ae2d03a3"
armhf.url="https://github.com/pgaskin/kepubify/releases/download/v4.0.4/kepubify-linux-arm"
armhf.sha256="07f23275c4e674093443f01a591aa0980b0b87dbb0a10986d5001e9d56b0e1e7"
i386.url="https://github.com/pgaskin/kepubify/releases/download/v4.0.4/kepubify-linux-32bit"
i386.sha256="3365a848ce06d43fca8f1999eb69c6c8e0e20a56b6b8658a8466b9726adef0f5"
amd64.url="https://github.com/pgaskin/kepubify/releases/download/v4.0.4/kepubify-linux-64bit"
amd64.sha256="37d7628d26c5c906f607f24b36f781f306075e7073a6fe7820a751bb60431fc5"
autoupdate.upstream = "https://github.com/pgaskin/kepubify"
autoupdate.strategy = "latest_github_release"
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
kobo.url= "/kobo"
kobo.show_tile= false
kobo.allowed= "visitors"
opds.url="/opds"
opds.show_tile= false
opds.allowed= "visitors"
[resources.ports]
main.default = 8083
[resources.apt]
packages = [
"sqlite3", # to tweak the database in the scripts
"imagemagick", # for cover extraction from EPUBs
"python3-venv", # for installing a venv environnement in the scripts
"python3-dev", # for compiling the ldap dependency during pip install
"libldap2-dev", # for compiling the ldap dependency during pip install
"libsasl2-dev", # for compiling the ldap dependency during pip install
"libjpeg-dev" # for comics and image reading in browser
]