Rocket.Chat-Desktop: use system app-builder for more platforms

This commit is contained in:
Daniel Kolesa 2020-09-12 22:52:45 +02:00 committed by q66
parent b142851ef6
commit 0dc98a2948
1 changed files with 3 additions and 1 deletions

View File

@ -3,7 +3,7 @@ pkgname=Rocket.Chat-Desktop
version=2.17.11 version=2.17.11
revision=1 revision=1
wrksrc="Rocket.Chat.Electron-${version}" wrksrc="Rocket.Chat.Electron-${version}"
hostmakedepends="yarn nodejs-lts python3 pkg-config" hostmakedepends="yarn nodejs-lts python3 pkg-config app-builder"
makedepends="electron7 libvips-devel" makedepends="electron7 libvips-devel"
depends="electron7" depends="electron7"
short_desc="Rocket.Chat Native Cross-Platform Desktop Application via Electron" short_desc="Rocket.Chat Native Cross-Platform Desktop Application via Electron"
@ -13,6 +13,8 @@ homepage="https://rocket.chat/"
distfiles="https://github.com/RocketChat/Rocket.Chat.Electron/archive/${version}.tar.gz" distfiles="https://github.com/RocketChat/Rocket.Chat.Electron/archive/${version}.tar.gz"
checksum=2f13cc5d62b2246db8715809c4278748a770e5975f1a439a5d922ef7af4e26b7 checksum=2f13cc5d62b2246db8715809c4278748a770e5975f1a439a5d922ef7af4e26b7
export USE_SYSTEM_APP_BUILDER=true
do_configure() { do_configure() {
yarn upgrade electron@"$(</usr/lib/electron7/version)" @babel/core@7.8.7 @babel/preset-env@7.8.7 --non-interactive yarn upgrade electron@"$(</usr/lib/electron7/version)" @babel/core@7.8.7 @babel/preset-env@7.8.7 --non-interactive
} }