git: d0e34d087b6c - main - devel/electron26: update to 26.3.0

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 10 Oct 2023 04:41:17 UTC
The branch main has been updated by tagattie:

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

commit d0e34d087b6cfd3a8b382bed2c5fd21c6596a19b
Author:     Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2023-10-10 04:39:45 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-10-10 04:41:06 +0000

    devel/electron26: update to 26.3.0
    
    Changelog: https://github.com/electron/electron/releases/tag/v26.3.0
    
    Reported by:    GitHub (watch releases)
---
 devel/electron26/Makefile         | 11 ++++++++---
 devel/electron26/Makefile.version |  2 +-
 devel/electron26/distinfo         | 16 +++++++++-------
 3 files changed, 18 insertions(+), 11 deletions(-)

diff --git a/devel/electron26/Makefile b/devel/electron26/Makefile
index e08f7708be5e..226211e596cc 100644
--- a/devel/electron26/Makefile
+++ b/devel/electron26/Makefile
@@ -2,10 +2,12 @@ PORTNAME=	electron
 DISTVERSIONPREFIX=	v
 DISTVERSION=	${ELECTRON_VER:S/-beta./.b/}
 CATEGORIES=	devel
-MASTER_SITES=	https://commondatastorage.googleapis.com/chromium-browser-official/:chromium \
+MASTER_SITES=	https://github.com/tagattie/FreeBSD-Electron/releases/download/v26.3.0/:chromium \
+		https://commondatastorage.googleapis.com/chromium-nodejs/:chromium_node \
 		https://commondatastorage.googleapis.com/chromium-fonts/:chromium_testfonts
 PKGNAMESUFFIX=	${ELECTRON_VER_MAJOR}
 DISTFILES=	chromium-${CHROMIUM_VER}${EXTRACT_SUFX}:chromium \
+		${CHROMIUM_NODE_MODULES_HASH}:chromium_node \
 		${CHROMIUM_TEST_FONTS_HASH}:chromium_testfonts \
 		electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX}:prefetch
 DIST_SUBDIR=	${PORTNAME}
@@ -214,7 +216,9 @@ SNDIO_VARS=		GN_ARGS+=use_sndio=true
 SNDIO_VARS_OFF=		GN_ARGS+=use_sndio=false
 
 # See ${WRKSRC}/electron/DEPS for CHROMIUM_VER
-CHROMIUM_VER=			116.0.5845.190
+CHROMIUM_VER=			116.0.5845.228
+# See ${WRKSRC}/third_party/node/node_modules.tar.gz.sha1 for CHROMIUM_NODE_MODULES_HASH
+CHROMIUM_NODE_MODULES_HASH=	937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb
 # See ${WRKSRC}/third_party/test_fonts/test_fonts.tar.gz.sha1 for CHROMIUM_TEST_FONTS_HASH
 CHROMIUM_TEST_FONTS_HASH=	336e775eec536b2d785cc80eff6ac39051931286
 # See ${WRKSRC}/electron/DEPS for NODE_VER
@@ -228,7 +232,7 @@ REACTIVEOBJC_VER=		74ab5baccc6f7202c8ac69a8d1e152c29dc1ea76
 # See ${WRKSRC}/electron/DEPS for MANTLE_VER
 MANTLE_VER=			78d3966b3c331292ea29ec38661b25df0a245948
 
-YARN_TIMESTAMP=	1696290438
+YARN_TIMESTAMP=	1696756633
 
 .include "Makefile.version"
 .include <bsd.port.pre.mk>
@@ -327,6 +331,7 @@ post-extract:
 		${WRKSRC}/third_party/squirrel.mac/vendor/ReactiveObjC
 	${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/${GH_PROJECT_mantle}-${MANTLE_VER} \
 		${WRKSRC}/third_party/squirrel.mac/vendor/Mantle
+	${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/node_modules ${WRKSRC}/third_party/node
 	${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/test_fonts ${WRKSRC}/third_party/test_fonts
 # Install node modules for electron
 	${MV} ${WRKDIR}/${PORTNAME}-${ELECTRON_VER}/yarn-offline-cache ${WRKDIR}
diff --git a/devel/electron26/Makefile.version b/devel/electron26/Makefile.version
index 50b235772a6f..1ea2429b81d5 100644
--- a/devel/electron26/Makefile.version
+++ b/devel/electron26/Makefile.version
@@ -1,2 +1,2 @@
-ELECTRON_VER=	26.2.4
+ELECTRON_VER=	26.3.0
 ELECTRON_VER_MAJOR=	${ELECTRON_VER:C/\..*//}
diff --git a/devel/electron26/distinfo b/devel/electron26/distinfo
index 5a161ef38841..6e6cfdb5897a 100644
--- a/devel/electron26/distinfo
+++ b/devel/electron26/distinfo
@@ -1,12 +1,14 @@
-TIMESTAMP = 1696291042
-SHA256 (electron/chromium-116.0.5845.190.tar.xz) = c92cca7e5e7bd031e48540d0774f363533eafb2528d95341d5708f20376061fa
-SIZE (electron/chromium-116.0.5845.190.tar.xz) = 1599750240
+TIMESTAMP = 1696830284
+SHA256 (electron/chromium-116.0.5845.228.tar.xz) = ccf3d7f2e17fd2fcda6ebaef576787b2aaba7a6b2b4e3103b92260ac26fbc6a1
+SIZE (electron/chromium-116.0.5845.228.tar.xz) = 1447024772
+SHA256 (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = f7f7f38661b107fc1d91b7918f36362d9180e87f34e3027562eb5db8735746fe
+SIZE (electron/937cea04689b7b8dcf3cb9adbb12c79d1d6c38bb) = 8881070
 SHA256 (electron/336e775eec536b2d785cc80eff6ac39051931286) = a2ca2962daf482a8f943163541e1c73ba4b2694fabcd2510981f2db4eda493c8
 SIZE (electron/336e775eec536b2d785cc80eff6ac39051931286) = 32624734
-SHA256 (electron/electron-yarn-cache-26.2.4.tar.xz) = fdffb0aa1d3052b170284c3b139fd8c60b94c078d321004e98d6b5c09ae515b2
-SIZE (electron/electron-yarn-cache-26.2.4.tar.xz) = 32344588
-SHA256 (electron/electron-electron-v26.2.4_GH0.tar.gz) = 918e3748d39e0bba12fcb44a99f703a4339485ca94c78b00e36118e953922778
-SIZE (electron/electron-electron-v26.2.4_GH0.tar.gz) = 11298804
+SHA256 (electron/electron-yarn-cache-26.3.0.tar.xz) = 47d75ea19aaef131202f6f5e69a10702de58183063d7ec5e1bdccdc74aad1da7
+SIZE (electron/electron-yarn-cache-26.3.0.tar.xz) = 32344616
+SHA256 (electron/electron-electron-v26.3.0_GH0.tar.gz) = 52771a7e7296f127291f1d66000e30865dda8d31c39583b1ec9615fa4e7edb09
+SIZE (electron/electron-electron-v26.3.0_GH0.tar.gz) = 11310641
 SHA256 (electron/nodejs-node-v18.16.1_GH0.tar.gz) = 750b09907a0b7054bda042bfc26879b9ccb84f9f436182a820ea188b654ce77b
 SIZE (electron/nodejs-node-v18.16.1_GH0.tar.gz) = 112039326
 SHA256 (electron/nodejs-nan-16fa32231e2ccd89d2804b3f765319128b20c4ac_GH0.tar.gz) = 3807ae6a1e451a29f068540472f100f9718d457c60ac62f2f8469d1d57475d39