From ad7a64e2becd1b14a4241101580519addf69523f Mon Sep 17 00:00:00 2001 From: alex Date: Sun, 26 Apr 2020 23:42:35 +0200 Subject: [PATCH] Signal-Desktop: update to 1.33.3. They switched from spellchecker to typo-js in https://github.com/signalapp/Signal-Desktop/commit/9e9401693c so changes in commit b7e6be3f are no longer required. --- .../Signal-Desktop/patches/build-from-tarball.patch | 6 +++--- srcpkgs/Signal-Desktop/template | 12 ++++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch b/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch index 9bb227005f0..e8c3db0e087 100644 --- a/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch +++ b/srcpkgs/Signal-Desktop/patches/build-from-tarball.patch @@ -1,6 +1,6 @@ ---- 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 @@ +--- Gruntfile.js.orig 2020-04-26 23:32:09.861789510 +0200 ++++ Gruntfile.js 2020-04-26 23:32:21.424734031 +0200 +@@ -452,6 +452,5 @@ 'concat', 'copy:deps', 'sass', diff --git a/srcpkgs/Signal-Desktop/template b/srcpkgs/Signal-Desktop/template index cfbd3568032..13c6b80a5ae 100644 --- a/srcpkgs/Signal-Desktop/template +++ b/srcpkgs/Signal-Desktop/template @@ -1,26 +1,22 @@ # Template file for 'Signal-Desktop' pkgname=Signal-Desktop -version=1.29.6 +version=1.33.3 revision=1 # Due to electron # 32-bit is not supported https://github.com/signalapp/Signal-Desktop/issues/1661 archs="x86_64" -hostmakedepends="git nodejs python tar yarn" +hostmakedepends="git nodejs python 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 - https://github.com/atom/node-spellchecker/archive/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz" -checksum="0dbc5230ca99ec384abfbe5630f10de894bd76e19c215d7f12cb6f2b25da8e82 - 9f3d48eeaf1041b4bcee43e3d74d677778ea36741e88cb3262bae06576348667" +distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz" +checksum="964ba12e2a4128aa9f5c42e181c073ab14225628fd8fddb8dbb442ed66f0996c" nostrip_files="signal-desktop" -skip_extraction="613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz" pre_build() { vsed -e 's/"node": "/&>=/' -i package.json - sed -r 's#("spellchecker": ").*"#\1file:'"${XBPS_SRCDISTDIR}/${pkgname}-${version}"'/613ff91dd2d9a5ee0e86be8a3682beecc4e94887.tar.gz"#' -i package.json } do_build() {