mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-accessibility/whisper-cpp: add ffmpeg support
Closes: https://bugs.gentoo.org/971001 Signed-off-by: Sergey Alirzaev <l29ah@riseup.net>
This commit is contained in:
@@ -17,10 +17,11 @@ S="${WORKDIR}/${MyP}"
|
|||||||
LICENSE="MIT"
|
LICENSE="MIT"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64"
|
KEYWORDS="~amd64"
|
||||||
IUSE="blas cuda hip opencl sdl2 vulkan"
|
IUSE="blas cuda ffmpeg hip opencl sdl2 vulkan"
|
||||||
|
|
||||||
CDEPEND="blas? ( sci-libs/openblas )
|
CDEPEND="blas? ( sci-libs/openblas )
|
||||||
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
cuda? ( dev-util/nvidia-cuda-toolkit:= )
|
||||||
|
ffmpeg? ( media-video/ffmpeg:= )
|
||||||
hip? ( sci-libs/hipBLAS:= )
|
hip? ( sci-libs/hipBLAS:= )
|
||||||
opencl? ( sci-libs/clblast:= )
|
opencl? ( sci-libs/clblast:= )
|
||||||
sdl2? ( media-libs/libsdl2:= )"
|
sdl2? ( media-libs/libsdl2:= )"
|
||||||
@@ -43,6 +44,7 @@ src_configure() {
|
|||||||
-DGGML_CUBLAS=$(usex cuda)
|
-DGGML_CUBLAS=$(usex cuda)
|
||||||
-DGGML_HIP=$(usex hip)
|
-DGGML_HIP=$(usex hip)
|
||||||
-DGGML_VULKAN=$(usex vulkan)
|
-DGGML_VULKAN=$(usex vulkan)
|
||||||
|
-DWHISPER_FFMPEG=$(usex ffmpeg)
|
||||||
-DWHISPER_SDL2=$(usex sdl2)
|
-DWHISPER_SDL2=$(usex sdl2)
|
||||||
)
|
)
|
||||||
cmake_src_configure
|
cmake_src_configure
|
||||||
|
|||||||
Reference in New Issue
Block a user