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.
This commit is contained in:
alex 2020-04-26 23:42:35 +02:00 committed by Helmut Pozimski
parent 6bf7046180
commit a48820b540
2 changed files with 6 additions and 10 deletions

View File

@ -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',

View File

@ -1,6 +1,6 @@
# 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
@ -11,16 +11,12 @@ short_desc="Signal Private Messenger for Linux"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
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() {