From 451879942cc4686b655a49b5bbd9b0e4c49e1b48 Mon Sep 17 00:00:00 2001 From: anelki Date: Thu, 29 Feb 2024 19:51:06 -0600 Subject: [PATCH] Signal-Desktop: update to 7.3.0 --- srcpkgs/Signal-Desktop/template | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index b2efa7cb902b2d..b2be8f3dbbedd0 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -1,30 +1,31 @@ # Template file for 'Signal-Desktop' pkgname=Signal-Desktop -version=6.48.1 +version=7.3.0 revision=1 # 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 archs="x86_64" -hostmakedepends="git git-lfs nodejs-lts python3 python3-distutils-extra tar" +hostmakedepends="git git-lfs n python3 python3-distutils-extra tar" depends="cairo gtk+3 libvips pango" short_desc="Signal Private Messenger for Linux" maintainer="anelki " 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=4684e4402cdec95565caba1d9ba742520214374473851ca772729f998faa5aa3 nostrip_files="signal-desktop" post_extract() { + n 20.9.0 # git-lfs hook needs to be installed for one of the dependencies git lfs install - - vsed 's/"node": "/&>=/' -i package.json - + # none of this is good but it is what it is. npm install -g yarn # Dependencies have to be installed before applying patch + # I am aware this is far from a best practice but also hardly different than how we'd been doing it + yarn global add node-gyp yarn install --ignore-engines --frozen-lockfile }