git: 18a99d966510 - main - net-im/signal-desktop: Update to 6.24.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 14 Jul 2023 13:50:51 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=18a99d9665107e7249986a4c427449f266cf146f

commit 18a99d9665107e7249986a4c427449f266cf146f
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-07-14 13:49:57 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-07-14 13:49:57 +0000

    net-im/signal-desktop: Update to 6.24.0
    
    Changes:
      https://github.com/signalapp/Signal-Desktop/releases/tag/v6.24.0
---
 net-im/signal-desktop/Makefile    | 10 +++++-----
 net-im/signal-desktop/get_deps.sh |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index 19dc57d15b5c..05dc06d4f018 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.23.0
+DISTVERSION=	6.24.0
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:npm \
 		LOCAL/mikael/signal-desktop/:sqlite \
@@ -83,7 +83,7 @@ MAKE_ENV+=	ESBUILD_BINARY_PATH=${WRKDIR}/esbuild-freebsd-64/package/bin/esbuild
 
 _BUILD_DATE=	$$(date +'%s')
 
-ELECTRON_VER_MAJOR=	24
+ELECTRON_VER_MAJOR=	25
 
 # sh get_deps.sh
 NPM_SIGNAL_DIR=		npm-@signalapp-libsignal-client-0.22.0-d57441612df46f90df68fc5d9ad45b857b9d2c44-integrity
@@ -142,10 +142,10 @@ post-extract:
 
 do-build:
 	${ECHO_CMD} 'yarn-offline-mirror "../yarn-offline-cache"' > ${WRKSRC}/.yarnrc
-	${ECHO_CMD} 'nodedir "${LOCALBASE}/share/electron24/node_headers"' >> ${WRKSRC}/.yarnrc
+	${ECHO_CMD} 'nodedir "${LOCALBASE}/share/electron${ELECTRON_VER_MAJOR}/node_headers"' >> ${WRKSRC}/.yarnrc
 
-# electron-builder is stupid and tries to open ${LOCALBASE}/share/electron24/electron with WRITE priv
-# copy ${LOCALBASE}/share/electron24 in WRKDIR
+# electron-builder is stupid and tries to open ${LOCALBASE}/share/electron25/electron with WRITE priv
+# copy ${LOCALBASE}/share/electron25 in WRKDIR
 # it's needed for the do-install phase, it's here because of this issue
 # https://github.com/MikaelUrankar/signal-desktop/issues/6 (I don't know why it fails though)
 	@${RM} -r ${WRKDIR}/electron${ELECTRON_VER_MAJOR}
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index f104010a352c..7cbbf90b042e 100644
--- a/net-im/signal-desktop/get_deps.sh
+++ b/net-im/signal-desktop/get_deps.sh
@@ -1,5 +1,5 @@
 #!/bin/sh
-SIGNAL_VERS=v6.23.0
+SIGNAL_VERS=v6.24.0
 
 fetch -qo /tmp/package.json https://raw.githubusercontent.com/signalapp/Signal-Desktop/${SIGNAL_VERS}/package.json
 ringrtc_version=$(grep '@signalapp/ringrtc"' /tmp/package.json | awk -F ":" '{print $2}' | sed -E 's#("|,| )##g')