mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
graphics/stable-diffusion.cpp: Add missing build dependency
needs graphics/spirv-headers for -vulkan flavor found by naddy@
This commit is contained in:
@@ -8,6 +8,7 @@ GH_ACCOUNT = leejet
|
||||
GH_PROJECT = stable-diffusion.cpp
|
||||
GH_TAGNAME = master-685-19bdfe2
|
||||
PKGNAME = stable-diffusion.cpp-0.0.${GH_TAGNAME:S/master-//:C/-.+//g}
|
||||
REVISION = 0
|
||||
|
||||
VERSION.ggml = 0ce7ad348a3151e1da9f65d962044546bcaad421
|
||||
DISTFILES.ggml = ${VERSION.ggml}.tar.gz
|
||||
@@ -39,7 +40,8 @@ DOCDIR = ${PREFIX}/share/doc/stable-diffusion.cpp/
|
||||
|
||||
.if ${FLAVOR:Mvulkan}
|
||||
CONFIGURE_ARGS += -DSD_VULKAN=on
|
||||
BUILD_DEPENDS += graphics/shaderc
|
||||
BUILD_DEPENDS += graphics/shaderc \
|
||||
graphics/spirv-headers
|
||||
LIB_DEPENDS += graphics/vulkan-loader
|
||||
WANTLIB += vulkan
|
||||
.endif
|
||||
|
||||
Reference in New Issue
Block a user