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

View file

@ -1,6 +1,6 @@
# Template file for 'Signal-Desktop'
pkgname=Signal-Desktop
version=5.16.0
version=5.30.0
revision=1
# Signal officially only supports x86_64 (also due to Electron)
# 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"
depends="cairo gtk+3 libvips pango"
short_desc="Signal Private Messenger for Linux"
maintainer="Julio Galvan <juliogalvan@protonmail.com>"
maintainer="Orphaned <orphan@voidlinux.org>"
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=c4d8628395ce86b06af85610fb2a1bdcd53784684d796a02abdfc04b24829629
checksum=2c363162468a7c35db9b84460203f3cab09cecb4fccaedcecafaaa92642b3f63
nostrip_files="signal-desktop"
post_extract() {
@ -28,7 +28,6 @@ post_extract() {
}
do_build() {
yarn grunt
yarn generate
yarn build-release
}