Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] Rocket.Chat-Desktop: update to 3.9.11
@ 2023-12-29 14:09 ju-ef
  2023-12-30 15:01 ` ju-ef
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: ju-ef @ 2023-12-29 14:09 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 502 bytes --]

There is a new pull request by ju-ef against master on the void-packages repository

https://github.com/ju-ef/void-packages rocket.chat-desktop
https://github.com/void-linux/void-packages/pull/47975

Rocket.Chat-Desktop: update to 3.9.11
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)


A patch file from https://github.com/void-linux/void-packages/pull/47975.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-rocket.chat-desktop-47975.patch --]
[-- Type: text/x-diff, Size: 1914 bytes --]

From b59c9e2e875e92f9d006c5e03cf5b5a65c42d294 Mon Sep 17 00:00:00 2001
From: juef <juef@juef.net>
Date: Fri, 29 Dec 2023 16:02:36 +0200
Subject: [PATCH] Rocket.Chat-Desktop: update to 3.9.11

---
 srcpkgs/Rocket.Chat-Desktop/template | 23 +++++------------------
 1 file changed, 5 insertions(+), 18 deletions(-)

diff --git a/srcpkgs/Rocket.Chat-Desktop/template b/srcpkgs/Rocket.Chat-Desktop/template
index d7ecb67b7473f..6e75899df44d2 100644
--- a/srcpkgs/Rocket.Chat-Desktop/template
+++ b/srcpkgs/Rocket.Chat-Desktop/template
@@ -1,8 +1,8 @@
 # Template file for 'Rocket.Chat-Desktop'
 pkgname=Rocket.Chat-Desktop
-version=3.8.7
-revision=2
-_electron_ver=19
+version=3.9.11
+revision=1
+_electron_ver=24
 hostmakedepends="yarn nodejs python3 pkg-config app-builder"
 makedepends="electron${_electron_ver} libvips-devel"
 depends="electron${_electron_ver}"
@@ -11,26 +11,13 @@ maintainer="John <me@johnnynator.dev>"
 license="MIT"
 homepage="https://rocket.chat/"
 distfiles="https://github.com/RocketChat/Rocket.Chat.Electron/archive/${version}.tar.gz"
-checksum=ac46390b4ae9e193efa92d5a38947c99fa94140604302b6850b9167e49eea453
+checksum=936525dd74dcc9050bfb91ecf4ce80d6a5be38de8bfbb9b05f2faac7b3a9a580
 
 export USE_SYSTEM_APP_BUILDER=true
 
-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
-	# 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@"$(</usr/lib/electron${_electron_ver}/version)" \
-			--non-interactive
-}
-
 do_build() {
 	export NODE_ENV=production
+	yarn install
 	yarn build
 	yarn run electron-builder --linux --x64 --dir \
 		-c.electronDist=/usr/lib/electron${_electron_ver} \

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-14  1:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-29 14:09 [PR PATCH] Rocket.Chat-Desktop: update to 3.9.11 ju-ef
2023-12-30 15:01 ` ju-ef
2024-03-30  1:43 ` github-actions
2024-04-14  1:59 ` [PR PATCH] [Closed]: " github-actions

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).