element-desktop: update to 1.7.10.

This commit is contained in:
projectmoon 2020-09-30 21:38:16 +00:00 committed by Érico Nogueira Rolim
parent 3996c96329
commit ca19b53474
2 changed files with 6 additions and 5 deletions

View file

@ -1,2 +1,2 @@
#!/bin/sh
exec electron9 /usr/lib/element-desktop/resources/app.asar "$@"
exec electron10 /usr/lib/element-desktop/resources/app.asar "$@"

View file

@ -1,6 +1,6 @@
# Template file for 'element-desktop'
pkgname=element-desktop
version=1.7.7
version=1.7.10
revision=1
wrksrc="element-web-${version}"
conf_files="/etc/${pkgname}/config.json"
@ -9,7 +9,7 @@ hostmakedepends="git yarn nodejs rust cargo python curl
app-builder"
makedepends="libsecret-devel"
depends="c-ares ffmpeg gtk+3 http-parser libevent
libxslt minizip nss re2 snappy sqlcipher electron9"
libxslt minizip nss re2 snappy sqlcipher electron10"
short_desc="Glossy Matrix collaboration client, desktop version"
maintainer="projectmoon <projectmoon@agnos.is>"
license="Apache-2.0"
@ -18,8 +18,8 @@ _ghpage="https://github.com/vector-im"
_archive="archive/v${version}.tar.gz"
distfiles="${_ghpage}/element-desktop/${_archive}>element-desktop.tar.gz
${_ghpage}/element-web/${_archive}>element-web.tar.gz"
checksum="f9ee1c537c610c29ca3c2c358f76a2cb7126e557d72d3e4fe4cdaf18823dbbb4
6e378b49bab4609e7128c49471c72c00ac7e7f7ff2fe2f3427e29f453af679fb"
checksum="dc98f25e85209b3d1bb760c73c3275b86356d6af7152e4b91541aa68240b1848
9318c487500af47a51057d83f8760f8aa7951d859773ad2dad16580069f0abd4"
nocross="depends on electron9"
export USE_SYSTEM_APP_BUILDER=true
@ -30,6 +30,7 @@ pre_build() {
# Build dependencies and alterations for element-desktop
cd ../element-desktop-${version}
# Disable auto-updating
sed -i 's@https://packages.riot.im/desktop/update/@null@g' element.io/release/config.json
sed -i 's/"target": "deb"/"target": "dir"/g' package.json