From 5f2eb8c697c9d4a19be69804536fc1ad9de9fd1e Mon Sep 17 00:00:00 2001 From: Nick Hahn Date: Wed, 7 Aug 2019 15:59:31 +0200 Subject: [PATCH] Signal-Desktop: update to 1.27.1. --- .../Signal-Desktop/patches/build-from-tarball.patch | 7 +++---- srcpkgs/Signal-Desktop/template | 12 ++++++++---- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch b/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch index 11f75722a5a..9bb227005f0 100644 --- a/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch +++ b/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch @@ -1,7 +1,6 @@ -Kludge to work around https://github.com/signalapp/Signal-Desktop/issues/2376. ---- Gruntfile.js.orig 2018-05-15 01:57:11.000000000 +0200 -+++ Gruntfile.js 2018-05-20 19:15:45.054357251 +0200 -@@ -511,6 +511,5 @@ +--- Gruntfile.js.orig 2019-09-05 13:47:47.906325029 +0200 ++++ Gruntfile.js 2019-09-05 13:48:40.869808351 +0200 +@@ -436,6 +436,5 @@ 'concat', 'copy:deps', 'sass', diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index 73fe0184272..7013d4d8a2a 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -1,20 +1,24 @@ # Template file for 'Signal-Desktop' pkgname=Signal-Desktop -version=1.23.2 -revision=2 +version=1.27.1 +revision=1 # Due to electron # 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661 archs="x86_64" -hostmakedepends="git python nodejs-lts yarn" +hostmakedepends="git python nodejs yarn" depends="libnotify libappindicator" short_desc="Signal Private Messenger for Linux" maintainer="Julio Galvan " license="GPL-3.0-only" homepage="https://github.com/signalapp/Signal-Desktop" distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz" -checksum=344842c7a7eac1772a507c8170eef6cf000051eab688609e158669cda51f56a6 +checksum=18c5c9f1a3684b4d0d49a9bb490c7e56417e464b29a06bf4cef36e2e5c523652 nostrip_files="signal-desktop" +pre_build() { + vsed -e 's/"node": "/&>=/' -i package.json +} + do_build() { yarn install --ignore-engines yarn grunt