Skip to content

Commit

Permalink
net-im/signal-desktop: Fix build on aarch64
Browse files Browse the repository at this point in the history
libvk_swiftshader is x86 only

Reported by:	jhibbits
  • Loading branch information
MikaelUrankar committed Oct 10, 2023
1 parent ea1a4dc commit 3f85c64
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion net-im/signal-desktop/Makefile
Expand Up @@ -104,6 +104,14 @@ PLIST_SUB= NODE_ARCH=${NODE_ARCH} \

YARN_TIMESTAMP= 1661146515

.include <bsd.port.pre.mk>

.if ${ARCH} == aarch64
PLIST_SUB+= NOT_AARCH64="@comment "
.elif ${ARCH} == amd64
PLIST_SUB+= NOT_AARCH64=""
.endif

fetch-yarn:
if [ ! -f ${DISTDIR}/signal-desktop-${DISTVERSION}-yarn-cache.tar.gz ]; then \
${MKDIR} /tmp/signal-desktop; \
Expand Down Expand Up @@ -230,4 +238,4 @@ create-caches-tarball:
cd ${WRKDIR} && \
${TAR} czf signal-desktop-${DISTVERSION}-npm-cache.tar.gz .npm

.include <bsd.port.mk>
.include <bsd.port.post.mk>
2 changes: 1 addition & 1 deletion net-im/signal-desktop/pkg-plist
Expand Up @@ -8,7 +8,7 @@ share/pixmaps/signal-desktop.png
%%DATADIR%%/libEGL.so
%%DATADIR%%/libGLESv2.so
%%DATADIR%%/libffmpeg.so
%%DATADIR%%/libvk_swiftshader.so
%%NOT_AARCH64%%%%DATADIR%%/libvk_swiftshader.so
%%DATADIR%%/libvulkan.so
%%DATADIR%%/locales/af-ZA.pak
%%DATADIR%%/locales/af.pak
Expand Down

0 comments on commit 3f85c64

Please sign in to comment.