From aca4f02e8b546be638da27aa41f9c6e6602cd674 Mon Sep 17 00:00:00 2001 From: q66 Date: Wed, 14 Oct 2020 16:39:37 +0200 Subject: [PATCH] Rocket.Chat-Desktop: maybe unbreak on i686 --- srcpkgs/Rocket.Chat-Desktop/template | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/srcpkgs/Rocket.Chat-Desktop/template b/srcpkgs/Rocket.Chat-Desktop/template index 6b9879918fb..59d7363dac2 100644 --- a/srcpkgs/Rocket.Chat-Desktop/template +++ b/srcpkgs/Rocket.Chat-Desktop/template @@ -16,15 +16,16 @@ checksum=c8c4f4d29ffe7cee825e7967bdabe1abdadc7153f169c36ee971b491a29628b1 export USE_SYSTEM_APP_BUILDER=true -case "$XBPS_TARGET_MACHINE" in - i686*) broken="https://build.voidlinux.org/builders/i686_builder/builds/27897/steps/shell_3/logs/stdio" -esac - do_configure() { # we can't make electron skip binary download as that fails in do_build # so instead, force a bogus architecture so it downloads its binary # artifact, it will use the system one later anyway - npm_config_arch=x64 \ + # but this appears to fail on i686, so don't override there + local carch=x64 + case "$XBPS_TARGET_MACHINE" in + i686*) carch=ia32 ;; + esac + npm_config_arch=$carch \ yarn upgrade electron@"$(