mirror of
https://github.com/YunoHost-Apps/discourse_ynh.git
synced 2024-09-03 18:26:18 +02:00
ccaa58098b
- `imagemagickv7` v7.1.1-37: https://github.com/ImageMagick/ImageMagick/releases/tag/7.1.1-37
140 lines
3.9 KiB
TOML
140 lines
3.9 KiB
TOML
#: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"
|
|
|
|
version = "3.3.1~ynh2"
|
|
|
|
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"
|
|
architectures = "all"
|
|
multi_instance = true
|
|
ldap = true
|
|
sso = false
|
|
|
|
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]
|
|
url = "https://github.com/discourse/discourse/archive/refs/tags/v3.3.1.tar.gz"
|
|
sha256 = "910efab3a8e0508507f1cd32e512390272e029f9a8c689a23d52444fc6f1f666"
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
|
|
[resources.sources.ldap-auth]
|
|
url = "https://github.com/jonmbake/discourse-ldap-auth/archive/refs/tags/v0.6.1.tar.gz"
|
|
sha256 = "04b380ff1b7c5a7eade24f4cc86c5fbcb9ac6c61393454dcd268c1ec14a81cdf"
|
|
|
|
autoupdate.strategy = "latest_github_tag"
|
|
autoupdate.upstream = "https://github.com/jonmbake/discourse-ldap-auth"
|
|
|
|
[resources.sources.imagemagickv7]
|
|
url = "https://github.com/ImageMagick/ImageMagick/archive/refs/tags/7.1.1-37.tar.gz"
|
|
sha256 = "7d294d20ce2b7bbcf39ee3b07a60bf2b45d659adaf3c1263df4a8b31bd9af443"
|
|
|
|
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$"
|
|
|
|
[resources.system_user]
|
|
|
|
[resources.install_dir]
|
|
|
|
[resources.permissions]
|
|
main.url = "/"
|
|
|
|
[resources.apt]
|
|
packages = [
|
|
"advancecomp",
|
|
"brotli",
|
|
"cmake",
|
|
"g++",
|
|
"gifsicle",
|
|
# "imagemagick",
|
|
"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",
|
|
"zlib1g-dev",
|
|
|
|
# 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}
|
|
|
|
"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"
|