Skip to content

Commit

Permalink
www/chromium: ship vk_swiftshader_icd.json for libvk_swiftshader
Browse files Browse the repository at this point in the history
PR:		276637
Submitted by:	Lars Herschke <lhersch@dssgmbh.de>

(cherry picked from commit 06353dc)
  • Loading branch information
Robert Nagy authored and Robert Nagy committed Feb 3, 2024
1 parent c89ddd5 commit d7ba54c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions www/chromium/Makefile
@@ -1,5 +1,6 @@
PORTNAME= chromium
PORTVERSION= 121.0.6167.85
PORTREVISION= 1
CATEGORIES= www wayland
MASTER_SITES= https://commondatastorage.googleapis.com/chromium-browser-official/ \
https://nerd.hu/distfiles/:external
Expand Down Expand Up @@ -360,6 +361,7 @@ do-install:
# SwiftShader
.if ${ARCH} != aarch64
${INSTALL_LIB} ${WRKSRC}/out/${BUILDTYPE}/libvk_swiftshader.so ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/out/${BUILDTYPE}/vk_swiftshader_icd.json ${STAGEDIR}${DATADIR}
.endif

post-install-DEBUG-on:
Expand Down
1 change: 1 addition & 0 deletions www/chromium/pkg-plist
Expand Up @@ -132,6 +132,7 @@ bin/chrome
%%DATADIR%%/resources/inspector_overlay/main.js
%%DATADIR%%/snapshot_blob.bin
%%NOT_AARCH64%%%%DATADIR%%/libvk_swiftshader.so
%%NOT_AARCH64%%%%DATADIR%%/vk_swiftshader_icd.json
%%DATADIR%%/v8_context_snapshot.bin
%%DEBUG%%%%DATADIR%%/character_data_generator
%%DEBUG%%%%DATADIR%%/libVkLayer_khronos_validation.so
Expand Down

0 comments on commit d7ba54c

Please sign in to comment.