git: fb67926b1725 - main - net-im/signal-desktop: fix build
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 30 Mar 2025 19:15:56 UTC
The branch main has been updated by mikael: URL: https://cgit.FreeBSD.org/ports/commit/?id=fb67926b17258b6a7b9faaaddf220e165613c387 commit fb67926b17258b6a7b9faaaddf220e165613c387 Author: Mikael Urankar <mikael@FreeBSD.org> AuthorDate: 2025-03-30 18:36:27 +0000 Commit: Mikael Urankar <mikael@FreeBSD.org> CommitDate: 2025-03-30 19:15:44 +0000 net-im/signal-desktop: fix build Add missing pkgconfig, it's needed to build node_modules/canvas Bump electron version (again) While here: Cleanup useless ${RM} PR: 285737 --- net-im/signal-desktop/Makefile | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/net-im/signal-desktop/Makefile b/net-im/signal-desktop/Makefile index 3dfec75ac084..5181b327dc47 100644 --- a/net-im/signal-desktop/Makefile +++ b/net-im/signal-desktop/Makefile @@ -52,7 +52,7 @@ LIB_DEPENDS= libasound.so:audio/alsa-lib \ libxkbcommon.so:x11/libxkbcommon \ libxshmfence.so:x11/libxshmfence -USES= desktop-file-utils gettext-runtime gl gnome jpeg ssl xorg +USES= desktop-file-utils gettext-runtime gl gnome jpeg pkgconfig ssl xorg USE_GITHUB= yes GH_ACCOUNT= signalapp GH_PROJECT= Signal-Desktop @@ -80,7 +80,7 @@ MAKE_ENV+= PYTHONDONTWRITEBYTECODE=1 _BUILD_DATE= $$(date +'%s') -ELECTRON_VER_MAJOR= 32 +ELECTRON_VER_MAJOR= 34 SQLCIPHER= sqlcipher-v2-4.6.1-signal-patch2--0.2.1-asm2-6253f886c40e49bf892d5cdc92b2eb200b12cd8d80c48ce5b05967cfd01ee8c7 @@ -99,8 +99,8 @@ PLIST_SUB+= NOT_AARCH64="" .endif do-build: -# electron-builder is stupid and tries to open ${LOCALBASE}/share/electron32/electron with WRITE priv -# copy ${LOCALBASE}/share/electron32 in WRKDIR +# electron-builder is stupid and tries to open ${LOCALBASE}/share/electron34/electron with WRITE priv +# copy ${LOCALBASE}/share/electron34 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} @@ -160,9 +160,6 @@ do-install: ${RM} -r ${STAGEDIR}${DATADIR}/resources/completions ${RLN} ${STAGEDIR}${DATADIR}/signal-desktop ${STAGEDIR}${PREFIX}/bin -## This seems to be only required for Windows: -# ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@nodert-win10-rs4 -# ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/@signalapp/windows-dummy-keystroke ${RM} -r ${STAGEDIR}${DATADIR}/resources/app.asar.unpacked/node_modules/pnpm create-caches-tarball: