mirror of
https://github.com/void-linux/void-packages.git
synced 2025-08-04 03:42:56 +02:00
Signal-Desktop: update to 6.20.0.
This commit is contained in:
parent
a493e78f05
commit
4f42103b96
1 changed files with 9 additions and 5 deletions
|
@ -1,34 +1,38 @@
|
||||||
# Template file for 'Signal-Desktop'
|
# Template file for 'Signal-Desktop'
|
||||||
pkgname=Signal-Desktop
|
pkgname=Signal-Desktop
|
||||||
version=6.19.0
|
version=6.20.0
|
||||||
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 nodejs python3 tar yarn"
|
hostmakedepends="git git-lfs nodeenv 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=965702b217b39131c61e62c63fb25b073750a8f6febdffa9db236626124c6e50
|
checksum=fc92011c51da6792215eb92d48afc17f1967caeade1307daaa13884244d7a3b0
|
||||||
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
|
||||||
|
|
||||||
#vsed 's/"node": "/&>=/' -i package.json
|
# use nodeenv since we have that in the repos already
|
||||||
vsed 's/"node": "18.14.0"/"node": ">=16.19.0"/' -i package.json
|
nodeenv --node='18.14.0' signal-node
|
||||||
|
. ./signal-node/bin/activate
|
||||||
|
|
||||||
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue