git: 2b34623dd4ef - main - net-im/signal-desktop: Update to 6.12.0

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Fri, 31 Mar 2023 14:48:47 UTC
The branch main has been updated by mikael:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2b34623dd4efcaf529007ab40deb85da749e4028

commit 2b34623dd4efcaf529007ab40deb85da749e4028
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2023-03-31 14:48:02 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2023-03-31 14:48:02 +0000

    net-im/signal-desktop: Update to 6.12.0
    
    Changes:
      https://github.com/signalapp/Signal-Desktop/releases/tag/v6.12.0
---
 net-im/signal-desktop/Makefile    |  8 ++++----
 net-im/signal-desktop/distinfo    | 10 +++++-----
 net-im/signal-desktop/get_deps.sh |  5 ++++-
 3 files changed, 13 insertions(+), 10 deletions(-)

diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile
index db5712519bf0..77bbd4d7b762 100644
--- a/net-im/signal-desktop/Makefile
+++ b/net-im/signal-desktop/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	signal-desktop
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.11.0
+DISTVERSION=	6.12.0
 CATEGORIES=	net-im
 MASTER_SITES=	LOCAL/mikael/signal-desktop/:npm \
 		LOCAL/mikael/signal-desktop/:sqlite \
@@ -92,7 +92,7 @@ ELECTRON_GYP_VERSION=	22.2.0
 NPM_SIGNAL_DIR=		npm-@signalapp-libsignal-client-0.22.0-d57441612df46f90df68fc5d9ad45b857b9d2c44-integrity
 NPM_RINGRTC_DIR=	npm-@signalapp-ringrtc-2.25.2-6e6e32fe3e507f1ead7cd287d53eb35d1f9b5ef9-integrity
 NPM_SQLITE3_DIR=	npm-@signalapp-better-sqlite3-8.4.3-7ffa8d03d2a12543247936bfb7b9f74cdbc6fe9b-integrity
-NPM_ESBUILD_VERS=	0.17.2
+NPM_ESBUILD_VERS=	0.17.11
 SQLCIPHER=		sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986
 
 ESBUILD_ARCH=		${ARCH:S/aarch64/arm64/:S/amd64/x64/}
@@ -190,7 +190,7 @@ do-build:
 #	cd ${WRKSRC} && \
 #		${SETENV} ${MAKE_ENV} yarn generate
 #	cd ${WRKSRC} && \
-#		${SETENV} ${MAKE_ENV} yarn build:webpack
+#		${SETENV} ${MAKE_ENV} yarn build:esbuild:prod
 
 	# For offline build
 	${ECHO_CMD} offline=true > ${WRKDIR}/.npmrc
@@ -199,7 +199,7 @@ do-build:
 	cd ${WRKSRC} && \
 		${SETENV} ${MAKE_ENV} yarn --offline generate
 	cd ${WRKSRC} && \
-		${SETENV} ${MAKE_ENV} yarn --offline build:webpack
+		${SETENV} ${MAKE_ENV} yarn --offline build:esbuild:prod
 
 do-install:
 # taken from https://github.com/tagattie/FreeBSD-Electron/blob/master/Mk/Uses/electron.mk#L387
diff --git a/net-im/signal-desktop/distinfo b/net-im/signal-desktop/distinfo
index b04a54c2d1a8..aca20676e9aa 100644
--- a/net-im/signal-desktop/distinfo
+++ b/net-im/signal-desktop/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1679672861
-SHA256 (signal-desktop-6.11.0-yarn-cache.tar.gz) = 5edc8deca063fa403df0abf67994e0251b6202edb19f74211c8d9be7837607bd
-SIZE (signal-desktop-6.11.0-yarn-cache.tar.gz) = 372418128
+TIMESTAMP = 1680272836
+SHA256 (signal-desktop-6.12.0-yarn-cache.tar.gz) = 9e9073a62b0d297674bb218832e5d117c70d0c6ffdf16f771ee10f32083b2d20
+SIZE (signal-desktop-6.12.0-yarn-cache.tar.gz) = 352164864
 SHA256 (signal-desktop-6.4.1-npm-cache.tar.gz) = 8acc503a579760faf8ea660d504f3b3ffadc495bf09584228da4cc9af20e33fe
 SIZE (signal-desktop-6.4.1-npm-cache.tar.gz) = 4466353
 SHA256 (node-v16.19.1-headers.tar.gz) = b2d010190ad40b52ab2fb92131db51375ef682a37f924fe2ce3813767d68fee9
@@ -9,5 +9,5 @@ SHA256 (node-v22.2.0-headers.tar.gz) = 5eae2935fc89486e4b6ce020bd23df2069edb21e1
 SIZE (node-v22.2.0-headers.tar.gz) = 263490
 SHA256 (sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986.tar.gz) = b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986
 SIZE (sqlcipher-4.5.3-fts--3.0.7--0.2.1-b633825cf7e0fdd39a6cdf128f2bd76552a88d325f2b9cd07bb87a457cefb986.tar.gz) = 74755812
-SHA256 (signalapp-Signal-Desktop-v6.11.0_GH0.tar.gz) = 1dfc7ce32b663c37513303fe102fd154ae767b5b425885b9e56fc1e46c2af2fd
-SIZE (signalapp-Signal-Desktop-v6.11.0_GH0.tar.gz) = 38742279
+SHA256 (signalapp-Signal-Desktop-v6.12.0_GH0.tar.gz) = c07dccc9c032623e3b93eda2992da1c59e2dc6a93c84646d0d5bbfe4e08de4d6
+SIZE (signalapp-Signal-Desktop-v6.12.0_GH0.tar.gz) = 38841966
diff --git a/net-im/signal-desktop/get_deps.sh b/net-im/signal-desktop/get_deps.sh
index 56b29e266114..4f89b3adbead 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.11.0
+SIGNAL_VERS=v6.12.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')
@@ -16,6 +16,9 @@ echo "ELECTRON_VERSION= ${electron_version}"
 
 bsqlite3_version=$(grep '@signalapp/better-sqlite3' /tmp/package.json | awk -F ":" '{print $2}' | sed -E 's#("|,| )##g')
 
+esbuild_version=$(grep '"esbuild":' /tmp/package.json | awk -F ":" '{print $2}' | sed -E 's#("|,| )##g')
+echo "ESBUILD_VERSION= ${esbuild_version}"
+
 fetch -qo /tmp/download.js https://raw.githubusercontent.com/signalapp/better-sqlite3/v${bsqlite3_version}/deps/download.js
 
 BASE_URI=https://build-artifacts.signal.org/desktop