Signal-Desktop: update to 7.10.0

This commit is contained in:
Mihail Ivanchev 2024-05-23 08:56:51 +02:00 committed by Leah Neukirchen
parent cfdf9f7e3a
commit 713bf63ea1

View file

@ -1,8 +1,8 @@
# Template file for 'Signal-Desktop'
pkgname=Signal-Desktop
version=6.48.1
version=7.10.0
revision=1
# Signal officially only supports x86_64
# 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
# ARM: https://github.com/signalapp/Signal-Desktop/issues/3410
@ -14,14 +14,16 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-only"
homepage="https://github.com/signalapp/Signal-Desktop"
distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz"
checksum=fb3e59e853b16a99dee5db556b45dd19694b9c7f5e2505dcb546957c7c9bd26a
checksum=4b695219fcd347ae41590633a7e4c461bf98bceeb5254b3cf744663ac2703ee0
nostrip_files="signal-desktop"
post_extract() {
# git-lfs hook needs to be installed for one of the dependencies
git lfs install
vsed 's/"node": "/&>=/' -i package.json
# 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
npm install -g yarn
# Dependencies have to be installed before applying patch