sci-misc/stable-diffusion-cpp: add webm use flag

Signed-off-by: Craig Andrews <candrews@gentoo.org>
This commit is contained in:
Craig Andrews
2026-04-07 16:53:12 -04:00
parent f3944b7236
commit a52f7d3f87
2 changed files with 4 additions and 1 deletions

View File

@@ -10,6 +10,7 @@
<flag name="rocm">Build a HIP (ROCm) backend</flag>
<flag name="wmma">Use rocWMMA to enhance flash attention performance</flag>
<flag name="openblas">Build an OpenBLAS backend</flag>
<flag name="webm">Support the webm audiovisual media file format</flag>
</use>
<maintainer type="person">
<email>candrews@gentoo.org</email>

View File

@@ -24,7 +24,7 @@ LICENSE="MIT"
SLOT="0"
CPU_FLAGS_X86=( avx avx2 f16c )
IUSE="openblas blis rocm cuda opencl vulkan flexiblas webp wmma"
IUSE="openblas blis rocm cuda opencl vulkan flexiblas webm webp wmma"
REQUIRED_USE="
?? (
@@ -90,6 +90,8 @@ src_configure() {
-DSD_OPENCL=$(usex opencl)
-DSD_WEBP=$(usex webp)
-DSD_USE_SYSTEM_WEBP=$(usex webp)
-DSD_WEBM=$(usex webm)
-DSD_VULKAN=$(usex vulkan)
# avoid clashing with whisper.cpp