element-desktop: update to 1.11.8.
This commit is contained in:
parent
0974797809
commit
2521263865
1 changed files with 12 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'element-desktop'
|
# Template file for 'element-desktop'
|
||||||
pkgname=element-desktop
|
pkgname=element-desktop
|
||||||
version=1.11.5
|
version=1.11.8
|
||||||
revision=1
|
revision=1
|
||||||
create_wrksrc=yes
|
create_wrksrc=yes
|
||||||
conf_files="/etc/${pkgname}/config.json"
|
conf_files="/etc/${pkgname}/config.json"
|
||||||
|
@ -17,8 +17,8 @@ homepage="https://element.io"
|
||||||
changelog="https://raw.githubusercontent.com/vector-im/element-desktop/develop/CHANGELOG.md"
|
changelog="https://raw.githubusercontent.com/vector-im/element-desktop/develop/CHANGELOG.md"
|
||||||
distfiles="https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz>element-desktop.tar.gz
|
distfiles="https://github.com/vector-im/element-desktop/archive/v${version}.tar.gz>element-desktop.tar.gz
|
||||||
https://github.com/vector-im/element-web/archive/v${version}.tar.gz>element-web.tar.gz"
|
https://github.com/vector-im/element-web/archive/v${version}.tar.gz>element-web.tar.gz"
|
||||||
checksum="549540c80d26f1f8951a8e9b82e431a9db8686124c4f0b13e50e46a62b5388f2
|
checksum="541c01fdac38db2a4e7c058be5d2196ace0cd987c37f58a79631ec43c260182f
|
||||||
08cd5542f7c9e9bb479b27fcf16247e75dfc80cdee5b0e3ee7c11a7fbe27d4a7"
|
9d9bb42a3d004ab4659d2945e6752aa278c59bc3b7f75919ce076bf3fb2b5f73"
|
||||||
|
|
||||||
export USE_SYSTEM_APP_BUILDER=true
|
export USE_SYSTEM_APP_BUILDER=true
|
||||||
|
|
||||||
|
@ -36,6 +36,15 @@ pre_patch() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
cd ${pkgname/desktop/web}
|
||||||
|
# Disable auto-updating
|
||||||
|
jq '.update_base_url = ""' element.io/app/config.json | sponge element.io/app/config.json
|
||||||
|
|
||||||
|
cd ../${pkgname}
|
||||||
|
vsed -i 's/"target": "deb"/"target": "dir"/g' package.json
|
||||||
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
# since element 1.8.x it's necessary to force the npm arch
|
# since element 1.8.x it's necessary to force the npm arch
|
||||||
# to x86, otherwise it will fail in electron js stuff on
|
# to x86, otherwise it will fail in electron js stuff on
|
||||||
|
@ -46,15 +55,12 @@ pre_build() {
|
||||||
esac
|
esac
|
||||||
|
|
||||||
cd ${pkgname/desktop/web}
|
cd ${pkgname/desktop/web}
|
||||||
# Disable auto-updating
|
|
||||||
jq '.update_base_url = ""' element.io/app/config.json | sponge element.io/app/config.json
|
|
||||||
|
|
||||||
# Build dependencies for element-web
|
# Build dependencies for element-web
|
||||||
npm_config_arch=$carch yarn install
|
npm_config_arch=$carch yarn install
|
||||||
|
|
||||||
# Build dependencies and alterations for element-desktop
|
# Build dependencies and alterations for element-desktop
|
||||||
cd ../${pkgname}
|
cd ../${pkgname}
|
||||||
vsed -i 's/"target": "deb"/"target": "dir"/g' package.json
|
|
||||||
npm_config_arch=$carch yarn install
|
npm_config_arch=$carch yarn install
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue