Signal-Desktop: update to 5.30.0.

This commit is contained in:
tibequadorian 2022-02-07 21:28:45 +01:00 committed by Leah Neukirchen
parent 07ae29b8fe
commit 999d45928a
2 changed files with 13 additions and 16 deletions

View file

@ -1,13 +1,11 @@
--- a/Gruntfile.js --- a/ts/scripts/get-expire-time.ts
+++ b/Gruntfile.js +++ b/ts/scripts/get-expire-time.ts
@@ -203,9 +203,7 @@ module.exports = grunt => { @@ -8,7 +8,7 @@ import { writeFileSync } from 'fs';
}); import { DAY } from '../util/durations';
grunt.registerTask('getExpireTime', () => { const unixTimestamp = parseInt(
- grunt.task.requires('gitinfo'); - execSync('git show -s --format=%ct').toString('utf8'),
- const gitinfo = grunt.config.get('gitinfo'); + process.env.SOURCE_DATE_EPOCH || execSync('git show -s --format=%ct').toString('utf8'),
- const committed = gitinfo.local.branch.current.lastCommitTime; 10
+ const committed = parseInt(process.env.SOURCE_DATE_EPOCH, 10) * 1000; );
const time = Date.parse(committed) + 1000 * 60 * 60 * 24 * 90; const buildCreation = unixTimestamp * 1000;
grunt.file.write(
'config/local-production.json',

View file

@ -1,6 +1,6 @@
# Template file for 'Signal-Desktop' # Template file for 'Signal-Desktop'
pkgname=Signal-Desktop pkgname=Signal-Desktop
version=5.16.0 version=5.30.0
revision=1 revision=1
# Signal officially only supports x86_64 (also due to Electron) # Signal officially only supports x86_64 (also due to Electron)
# discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support # discontinued Electron 32-bit support: https://www.electronjs.org/blog/linux-32bit-support
@ -10,11 +10,11 @@ archs="x86_64"
hostmakedepends="git git-lfs nodejs python3 tar yarn" hostmakedepends="git git-lfs nodejs python3 tar yarn"
depends="cairo gtk+3 libvips pango" depends="cairo gtk+3 libvips pango"
short_desc="Signal Private Messenger for Linux" short_desc="Signal Private Messenger for Linux"
maintainer="Julio Galvan <juliogalvan@protonmail.com>" maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-only" license="AGPL-3.0-only"
homepage="https://github.com/signalapp/Signal-Desktop" homepage="https://github.com/signalapp/Signal-Desktop"
distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz" distfiles="https://github.com/signalapp/Signal-Desktop/archive/v${version}.tar.gz"
checksum=c4d8628395ce86b06af85610fb2a1bdcd53784684d796a02abdfc04b24829629 checksum=2c363162468a7c35db9b84460203f3cab09cecb4fccaedcecafaaa92642b3f63
nostrip_files="signal-desktop" nostrip_files="signal-desktop"
post_extract() { post_extract() {
@ -28,7 +28,6 @@ post_extract() {
} }
do_build() { do_build() {
yarn grunt
yarn generate yarn generate
yarn build-release yarn build-release
} }