From 2ea628c4f05b0c720acd0568f19e323decc26c34 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.2.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..5dea410402cd82 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.2.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=ff9a4433c414e26bbe4bbd2310a3d7e326d3134f77f86646db3ea424cd971980 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 }