1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00
discourse_ynh/manifest.toml

141 lines
3.9 KiB
TOML
Raw Permalink Normal View History

2024-01-26 22:16:29 +01:00
#:schema https://raw.githubusercontent.com/YunoHost/apps/master/schemas/manifest.v2.schema.json
packaging_format = 2
id = "discourse"
name = "Discourse"
description.en = "Discussion platform"
description.fr = "Plateforme de discussion"
2024-05-16 09:08:13 +02:00
version = "3.3.1~ynh1"
2024-01-26 22:16:29 +01:00
maintainers = ["JimboJoe"]
[upstream]
license = "GPL-2.0"
website = "http://Discourse.org"
demo = "https://try.discourse.org"
code = "https://github.com/discourse/discourse"
cpe = "cpe:2.3:a:discourse:discourse"
[integration]
yunohost = ">=12.0.1"
2024-01-26 22:16:29 +01:00
architectures = "all"
multi_instance = true
ldap = true
sso = false
2024-01-26 22:16:29 +01:00
disk = "50M"
ram.build = "50M"
ram.runtime = "1G"
[install]
[install.domain]
type = "domain"
[install.path]
type = "path"
default = "/forum"
[install.init_main_permission]
type = "group"
default = "visitors"
[install.admin]
type = "user"
[resources]
[resources.sources]
[resources.sources.main]
2024-05-16 09:08:13 +02:00
url = "https://github.com/discourse/discourse/archive/refs/tags/v3.3.1.tar.gz"
sha256 = "910efab3a8e0508507f1cd32e512390272e029f9a8c689a23d52444fc6f1f666"
2024-01-26 22:16:29 +01:00
2024-06-13 14:04:06 +02:00
autoupdate.strategy = "latest_github_tag"
[resources.sources.ldap-auth]
2024-06-13 14:05:16 +02:00
url = "https://github.com/jonmbake/discourse-ldap-auth/archive/refs/tags/v0.6.1.tar.gz"
sha256 = "04b380ff1b7c5a7eade24f4cc86c5fbcb9ac6c61393454dcd268c1ec14a81cdf"
2024-06-13 14:04:06 +02:00
autoupdate.strategy = "latest_github_tag"
autoupdate.upstream = "https://github.com/jonmbake/discourse-ldap-auth"
2024-01-26 22:16:29 +01:00
2024-08-29 13:56:11 +02:00
[resources.sources.imagemagickv7]
url = "https://github.com/ImageMagick/ImageMagick/archive/7.1.0-62.tar.gz"
sha256 = "d282117bc6d0e91ad1ad685d096623b96ed8e229f911c891d83277b350ef884a"
autoupdate.strategy = "latest_github_tag"
autoupdate.upstream = "https://github.com/ImageMagick/ImageMagick"
[resources.sources.oxipng]
amd64.url = "https://github.com/shssoichiro/oxipng/releases/download/v9.1.2/oxipng-9.1.2-x86_64-unknown-linux-gnu.tar.gz"
amd64.sha256 = "6d47453f623d7d12499e206fe089fe96d76bc6f01a00962b91e4ee3e6845e1a6"
arm64.url = "https://github.com/shssoichiro/oxipng/releases/download/v9.1.2/oxipng-9.1.2-aarch64-unknown-linux-gnu.tar.gz"
arm64.sha256 = "9716b3aba89e7ed9fa9fa07aef4867a7b65a9dd26516e6b16f8ae5a56006cafa"
autoupdate.strategy = "latest_github_release"
autoupdate.upstream = "https://github.com/shssoichiro/oxipng"
autoupdate.asset.amd64 = "^oxipng-.*-x86_64-unknown-linux-gnu\\.tar\\.gz$"
autoupdate.asset.arm64 = "^oxipng-.*-aarch64-unknown-linux-gnu\\.tar\\.gz$"
2024-01-26 22:16:29 +01:00
[resources.system_user]
[resources.install_dir]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = [
"advancecomp",
"brotli",
"cmake",
"g++",
"gifsicle",
2024-08-29 15:07:36 +02:00
# "imagemagick",
2024-01-26 22:16:29 +01:00
"jhead",
"jpegoptim",
"libapr1-dev",
"libcurl4-openssl-dev",
"libjemalloc-dev",
"libjemalloc2",
"libjpeg-turbo-progs",
"libpq-dev",
"libreadline-dev",
"libssl-dev",
"libtcmalloc-minimal4",
"libunwind-dev",
"libxml2-dev",
"libxslt1-dev",
"libyaml-dev",
"optipng",
"pngcrush",
"pngquant",
"vim",
"redis-server",
2024-01-26 22:16:29 +01:00
"zlib1g-dev",
2024-08-29 15:07:36 +02:00
# Dependencies of imagemagick
"make",
"libltdl-dev",
"libbz2-dev", "zlib1g-dev", "libfreetype6-dev", "libjpeg-dev", "liblzma-dev",
"libwebp-dev", "libtiff-dev", "librsvg2-dev",
"libpng16-16", "libpng-dev",
"libjpeg62-turbo", "libjpeg62-turbo-dev",
"libheif1", "libheif-dev",
"libde265-0", "libde265-dev",
# ${LIBWEBP}
2024-01-26 22:16:29 +01:00
"postgresql",
"postgresql-client",
"postgresql-contrib",
"postgresql-server-dev-all",
]
extras.yarn.repo = "deb https://dl.yarnpkg.com/debian/ stable main"
extras.yarn.key = "https://dl.yarnpkg.com/debian/pubkey.gpg"
extras.yarn.packages = "yarn"
[resources.database]
type = "postgresql"