Signal-Desktop: rebuild for new nodejs version

This commit is contained in:
Mihail Ivanchev 2024-05-23 14:26:40 +02:00 committed by Leah Neukirchen
parent 8591e21aff
commit 866738a88f
1 changed files with 2 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'Signal-Desktop'
pkgname=Signal-Desktop
version=7.17.0
revision=1
revision=2
# Signal officially only supports x86_64
# x86_64-musl could potentially work based on the Alpine port:
# https://git.alpinelinux.org/aports/tree/testing/signal-desktop
@ -21,9 +21,7 @@ post_extract() {
# git-lfs hook needs to be installed for one of the dependencies
git lfs install
# FIXME: We currently don't have the latest Node so let's force Signal
# to use what we have. This is very far from ideal.
vsed 's/"node": ".*"/"node": ">=18.19.1"/' -i package.json
vsed 's/"node": ".*"/"node": ">=20.0.0"/' -i package.json
npm install -g yarn
# Dependencies have to be installed before applying patch