Skip to content

Commit

Permalink
net-im/signal-desktop: Update to 6.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelUrankar committed Jul 14, 2023
1 parent 01e8d78 commit 18a99d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions 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 \
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion 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')
Expand Down

0 comments on commit 18a99d9

Please sign in to comment.