localai-backend/whisper - 4.12.1 (local-ai)

Search

Install

Install this version:

emerge -a =localai-backend/whisper-4.12.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =localai-backend/whisper-4.12.1

Or alternatively:

emerge --autounmask-write -a =localai-backend/whisper-4.12.1

Package Information

Description:
LocalAI speech-to-text backend (whisper.cpp gRPC server)

Ebuild Details

Version EAPI Keywords Slot
4.12.1 8 ~amd64
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

# LocalAI speech-to-text backend, built from whisper.cpp at the exact
# commit this LocalAI release pins. whisper.cpp vendors ggml in-tree, so a
# single engine tarball suffices. Upstream's Makefile passes GGML_HIPBLAS
# for ROCm, which this ggml no longer understands (silently CPU-only);
# the eclass default GGML_HIP is the correct toggle.

EAPI=8

LOCAL_AI_ENGINE_LIB="libgowhisper.so"
LOCAL_AI_ENGINE_LIB_ENV="WHISPER_LIBRARY"

inherit local-ai-ggml-go

# The whisper.cpp commit LocalAI v4.9.0 builds against. Source of truth:
# backend/go/whisper/Makefile (WHISPER_CPP_VERSION) at the upstream
# release tag.
WHISPER_COMMIT="231638a0717b7822784297e5980965ffcec05810"

DESCRIPTION="LocalAI speech-to-text backend (whisper.cpp gRPC server)"
SRC_URI="
	${LOCAL_AI_GO_SRC_URI}
	https://github.com/ggml-org/whisper.cpp/archive/${WHISPER_COMMIT}.tar.gz -> whisper.cpp-${WHISPER_COMMIT}.tar.gz
"
S="${WORKDIR}/LocalAI-${PV}/backend/go/whisper"

KEYWORDS="~amd64"

src_unpack() {
	local-ai-backend_go_unpack
	local-ai-backend_engine_unpack "whisper.cpp-${WHISPER_COMMIT}.tar.gz" whisper.cpp
}

Inherited Eclasses

Manifest for 4.12.1

Type File Size Source URLs
DIST whisper.cpp-231638a0717b7822784297e5980965ffcec05810.tar.gz 9715902 bytes https://github.com/ggml-org/whisper.cpp/archive/231638a0717b7822784297e5980965ffcec05810.tar.gz