user/mastodon: disable on v3.18 due to no nodejs18 support

This commit is contained in:
Antoine Martin 2023-07-12 17:21:14 -04:00
parent ce4fc21ebf
commit ddd31d910f
Signed by: forge
GPG key ID: D62A472A4AA7D541
2 changed files with 7 additions and 3 deletions

View file

@ -5,14 +5,18 @@ pkgname=mastodon
_pkgname=$pkgname
pkgver=4.1.4
_gittag=v$pkgver
pkgrel=0
pkgrel=1
pkgdesc="Self-hosted social media and network server based on ActivityPub and OStatus"
arch="!armv7 all"
# disable due to no nodejs18 support
# see https://github.com/mastodon/mastodon/issues/20968
# support on v3.16
#arch="!armv7 all"
url="https://github.com/mastodon/mastodon"
license="AGPL-3.0-only"
depends="
$pkgname-assets=$pkgver-r$pkgrel
ffmpeg
file
gcompat
imagemagick
nodejs

View file

@ -20,7 +20,7 @@ start() {
--user="mastodon" \
--make-pidfile --pidfile="${pidfile}" \
--stdout "${logfile}" --stderr "${logfile}" \
--exec /usr/bin/env -- NODE_ENV=production PORT=4000 /usr/bin/npm run start
--exec /usr/bin/env -- NODE_ENV=production PORT=4000 /usr/bin/node ./streaming/index.js
eend $?
}