Signal-Desktop: update to 6.20.1.

This commit is contained in:
anelki 2023-06-06 20:24:30 -05:00 committed by classabbyamp
parent a77d5b645d
commit a2a721c6b8

View file

@ -1,38 +1,34 @@
# Template file for 'Signal-Desktop' # Template file for 'Signal-Desktop'
pkgname=Signal-Desktop pkgname=Signal-Desktop
version=6.20.0 version=6.20.1
revision=1 revision=1
# Signal officially only supports x86_64 # Signal officially only supports x86_64
# x86_64-musl could potentially work based on the Alpine port: # x86_64-musl could potentially work based on the Alpine port:
# https://git.alpinelinux.org/aports/tree/testing/signal-desktop # https://git.alpinelinux.org/aports/tree/testing/signal-desktop
# ARM: https://github.com/signalapp/Signal-Desktop/issues/3410 # ARM: https://github.com/signalapp/Signal-Desktop/issues/3410
archs="x86_64" archs="x86_64"
hostmakedepends="git git-lfs nodeenv python3 tar" hostmakedepends="git git-lfs nodejs python3 tar"
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="anelki <akierig@fastmail.de>" maintainer="anelki <akierig@fastmail.de>"
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=fc92011c51da6792215eb92d48afc17f1967caeade1307daaa13884244d7a3b0 checksum=3c664dbb5c1670554859fa55fd765ac35632f573fd5b7bea63876cdf41b6b7d6
nostrip_files="signal-desktop" nostrip_files="signal-desktop"
post_extract() { post_extract() {
# git-lfs hook needs to be installed for one of the dependencies # git-lfs hook needs to be installed for one of the dependencies
git lfs install git lfs install
# use nodeenv since we have that in the repos already vsed 's/"node": "/&>=/' -i package.json
nodeenv --node='18.14.0' signal-node
. ./signal-node/bin/activate
npm install -g yarn npm install -g yarn
# Dependencies have to be installed before applying patch # Dependencies have to be installed before applying patch
yarn install --ignore-engines --frozen-lockfile yarn install --ignore-engines --frozen-lockfile
} }
do_build() { do_build() {
. ./signal-node/bin/activate
yarn generate yarn generate
yarn build-release yarn build-release
} }