* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
@ 2025-07-22 14:14 David Roman
0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2025-07-22 14:14 UTC (permalink / raw
To: gentoo-commits
commit: 4164f3d5f13dcb85c1e6ae026c32cf7ce71abdb1
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Tue Jul 22 02:22:55 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 02:22:55 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4164f3d5
app-accessibility/whisper-cpp: fix backends
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
.../whisper-cpp/whisper-cpp-1.7.6.ebuild | 23 ++++++++++++----------
1 file changed, 13 insertions(+), 10 deletions(-)
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
index 10391ce207..3ee2ef8265 100644
--- a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
@@ -17,17 +17,19 @@ S="${WORKDIR}/${MyP}"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="blas cuda hip opencl sdl2"
+IUSE="blas cuda hip opencl sdl2 vulkan"
-DEPEND="blas? ( virtual/blas )
+CDEPEND="blas? ( sci-libs/openblas )
cuda? ( dev-util/nvidia-cuda-toolkit:= )
hip? ( sci-libs/hipBLAS:= )
opencl? ( sci-libs/clblast:= )
sdl2? ( media-libs/libsdl2:= )"
-RDEPEND="${DEPEND}"
-
-# Enabling multiple may lead to build failures, whisper-cpp won't use more than one either way
-REQUIRED_USE="?? ( blas cuda hip opencl )"
+DEPEND="${CDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
+ vulkan? ( media-libs/vulkan-loader )
+"
src_configure() {
# Note: CUDA and HIP are currently untested. Build failures may occur.
@@ -35,10 +37,11 @@ src_configure() {
# -DWHISPER_BUILD_TESTS=$(usex test)
local mycmakeargs=(
-DWHISPER_BUILD_EXAMPLES=ON
- -DWHISPER_BLAS=$(usex blas)
- -DWHISPER_CLBLAST=$(usex opencl)
- -DWHISPER_CUBLAS=$(usex cuda)
- -DWHISPER_HIPBLAS=$(usex hip)
+ -DGGML_BLAS=$(usex blas)
+ -DGGML_CLBLAST=$(usex opencl)
+ -DGGML_CUBLAS=$(usex cuda)
+ -DGGML_HIPBLAS=$(usex hip)
+ -DGGML_VULKAN=$(usex vulkan)
-DWHISPER_SDL2=$(usex sdl2)
)
cmake_src_configure
^ permalink raw reply related [flat|nested] 5+ messages in thread* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
@ 2025-10-12 12:49 David Roman
0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2025-10-12 12:49 UTC (permalink / raw
To: gentoo-commits
commit: 49e4ded308b52da5663bf16030823ada14eeeb66
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat Oct 11 14:52:24 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Oct 11 14:52:24 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=49e4ded3
app-accessibility/whisper-cpp: add 1.8.0
+ fixup for iGPUs
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
app-accessibility/whisper-cpp/Manifest | 2 +
.../whisper-cpp/whisper-cpp-1.8.0.ebuild | 52 ++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/app-accessibility/whisper-cpp/Manifest b/app-accessibility/whisper-cpp/Manifest
index 6ed96e375f..8a5669983c 100644
--- a/app-accessibility/whisper-cpp/Manifest
+++ b/app-accessibility/whisper-cpp/Manifest
@@ -1 +1,3 @@
+DIST 350bce5df7dec9c0b3def74d96947811e8e4c429.patch 2589 BLAKE2B 633687f1d29d2a557d2d92b44411dd907f674e5fdd28de6e9fbd076ed13d83756389918dfaa93ef69012cb01a08afc4daf1fb38eb3e9ee116698cda9c35cc808 SHA512 c08e8ae4a6bff0d9588fb610d0d0dbea62bc7b99f4ff78aa79ab9795159804706acfa99ef5840ae4cad0483c763c62e41b102272fdf5916755e72de7c13fe04a
DIST whisper.cpp-1.7.6.tar.gz 7307730 BLAKE2B 3c03346f2f2aef0aed5c4c2dc856efc730f6a7440106fde0db47ac7d042830c5c5d5cd18c5a8ab4871f54ae60e50aa89c0900bb6509f9c61dc1745dd497b74f2 SHA512 7e0ec9d6afe234afaaa83d7d69051504252c27ecdacbedf3d70992429801bcd1078794a0bb76cf4dafb74131dd0f506bd24c3f3100815c35b8ac2b12336492ef
+DIST whisper.cpp-1.8.0.tar.gz 7552279 BLAKE2B 0220d3b10b7411dd8769d7ccd4868533e5fd5f0e9a9bdb5d80b65afa06cc6e4e765cd45fdfdcdd06d53a9d73ae1d8d84c5ff8cf3d123a940ace1b694cb4457cf SHA512 98f47473d537143a2fcdda7d10adf55a3dd78318768de2625fde4bc84ce61150d60cfd2ae03145d90ac1954b4735ae4fcef71268239e9735c45714721dd31103
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.8.0.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.8.0.ebuild
new file mode 100644
index 0000000000..d4f4ddab6b
--- /dev/null
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.8.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MyPN="whisper.cpp"
+MyP="${MyPN}-${PV}"
+
+DESCRIPTION="Port of OpenAI's Whisper model in C/C++ "
+HOMEPAGE="https://github.com/ggml-org/whisper.cpp"
+SRC_URI="https://github.com/ggml-org/whisper.cpp/archive/refs/tags/v${PV}.tar.gz -> ${MyP}.tar.gz
+ https://github.com/ggml-org/whisper.cpp/commit/350bce5df7dec9c0b3def74d96947811e8e4c429.patch"
+
+S="${WORKDIR}/${MyP}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="blas cuda hip opencl sdl2 vulkan"
+
+CDEPEND="blas? ( sci-libs/openblas )
+ cuda? ( dev-util/nvidia-cuda-toolkit:= )
+ hip? ( sci-libs/hipBLAS:= )
+ opencl? ( sci-libs/clblast:= )
+ sdl2? ( media-libs/libsdl2:= )"
+DEPEND="${CDEPEND}
+ vulkan? ( dev-util/vulkan-headers )
+"
+RDEPEND="${CDEPEND}
+ vulkan? ( media-libs/vulkan-loader )
+"
+BDEPEND="media-libs/shaderc"
+
+PATCHES=( "${DISTDIR}/350bce5df7dec9c0b3def74d96947811e8e4c429.patch" )
+
+src_configure() {
+ # Note: CUDA and HIP are currently untested. Build failures may occur.
+ # Turning off examples causes errors during configure
+ # -DWHISPER_BUILD_TESTS=$(usex test)
+ local mycmakeargs=(
+ -DWHISPER_BUILD_EXAMPLES=ON
+ -DGGML_BLAS=$(usex blas)
+ -DGGML_CLBLAST=$(usex opencl)
+ -DGGML_CUBLAS=$(usex cuda)
+ -DGGML_HIPBLAS=$(usex hip)
+ -DGGML_VULKAN=$(usex vulkan)
+ -DWHISPER_SDL2=$(usex sdl2)
+ )
+ cmake_src_configure
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
@ 2025-09-22 9:09 David Roman
0 siblings, 0 replies; 5+ messages in thread
From: David Roman @ 2025-09-22 9:09 UTC (permalink / raw
To: gentoo-commits
commit: 25f7cf2594b63465fe7f189c9f1aa73a01e2e2dc
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Mon Sep 22 01:16:52 2025 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Sep 22 01:16:52 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=25f7cf25
app-accessibility/whisper-cpp: depend on shaderc for glslc
Closes: https://bugs.gentoo.org/963168
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
index 3ee2ef8265..95efd479f2 100644
--- a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
@@ -30,6 +30,7 @@ DEPEND="${CDEPEND}
RDEPEND="${CDEPEND}
vulkan? ( media-libs/vulkan-loader )
"
+BDEPEND="media-libs/shaderc"
src_configure() {
# Note: CUDA and HIP are currently untested. Build failures may occur.
^ permalink raw reply related [flat|nested] 5+ messages in thread* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
@ 2025-07-14 0:03 Haelwenn Monnier
0 siblings, 0 replies; 5+ messages in thread
From: Haelwenn Monnier @ 2025-07-14 0:03 UTC (permalink / raw
To: gentoo-commits
commit: 003a9aa27f0648e16b1d249285532f0c2d34f2d7
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sun Jul 13 13:18:09 2025 +0000
Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
CommitDate: Sun Jul 13 13:18:09 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=003a9aa2
app-accessibility/whisper-cpp: nitpicking
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
index 2b3876511d..10391ce207 100644
--- a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023-2024 Gentoo Authors
+# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,11 +29,6 @@ RDEPEND="${DEPEND}"
# Enabling multiple may lead to build failures, whisper-cpp won't use more than one either way
REQUIRED_USE="?? ( blas cuda hip opencl )"
-src_prepare() {
- eapply_user
- cmake_src_prepare
-}
-
src_configure() {
# Note: CUDA and HIP are currently untested. Build failures may occur.
# Turning off examples causes errors during configure
@@ -48,7 +43,3 @@ src_configure() {
)
cmake_src_configure
}
-
-src_install() {
- cmake_src_install
-}
^ permalink raw reply related [flat|nested] 5+ messages in thread* [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/
@ 2025-07-13 11:42 Lucio Sauer
0 siblings, 0 replies; 5+ messages in thread
From: Lucio Sauer @ 2025-07-13 11:42 UTC (permalink / raw
To: gentoo-commits
commit: b722747e8f10a905d0d5ba63f04f1a143d598643
Author: Sergey Alirzaev <l29ah <AT> riseup <DOT> net>
AuthorDate: Sat Jul 12 22:50:21 2025 +0000
Commit: Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Sat Jul 12 22:50:21 2025 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b722747e
app-accessibility/whisper-cpp: new package, add 1.7.6
Signed-off-by: Sergey Alirzaev <l29ah <AT> riseup.net>
app-accessibility/whisper-cpp/Manifest | 1 +
app-accessibility/whisper-cpp/metadata.xml | 15 ++++++
.../whisper-cpp/whisper-cpp-1.7.6.ebuild | 54 ++++++++++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/app-accessibility/whisper-cpp/Manifest b/app-accessibility/whisper-cpp/Manifest
new file mode 100644
index 0000000000..6ed96e375f
--- /dev/null
+++ b/app-accessibility/whisper-cpp/Manifest
@@ -0,0 +1 @@
+DIST whisper.cpp-1.7.6.tar.gz 7307730 BLAKE2B 3c03346f2f2aef0aed5c4c2dc856efc730f6a7440106fde0db47ac7d042830c5c5d5cd18c5a8ab4871f54ae60e50aa89c0900bb6509f9c61dc1745dd497b74f2 SHA512 7e0ec9d6afe234afaaa83d7d69051504252c27ecdacbedf3d70992429801bcd1078794a0bb76cf4dafb74131dd0f506bd24c3f3100815c35b8ac2b12336492ef
diff --git a/app-accessibility/whisper-cpp/metadata.xml b/app-accessibility/whisper-cpp/metadata.xml
new file mode 100644
index 0000000000..9ac72d30b5
--- /dev/null
+++ b/app-accessibility/whisper-cpp/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <use>
+ <flag name="hip">Build a HIP (ROCm) backend</flag>
+ <flag name="sdl2">Build and install example applications that use media-libs/libsdl2</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">ggml-org/whisper.cpp</remote-id>
+ </upstream>
+ <maintainer type="person">
+ <email>zl29ah@gmail.com</email>
+ <name>Sergey Alirzaev</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
new file mode 100644
index 0000000000..2b3876511d
--- /dev/null
+++ b/app-accessibility/whisper-cpp/whisper-cpp-1.7.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+MyPN="whisper.cpp"
+MyP="${MyPN}-${PV}"
+
+DESCRIPTION="Port of OpenAI's Whisper model in C/C++ "
+HOMEPAGE="https://github.com/ggml-org/whisper.cpp"
+SRC_URI="https://github.com/ggml-org/whisper.cpp/archive/refs/tags/v${PV}.tar.gz -> ${MyP}.tar.gz"
+
+S="${WORKDIR}/${MyP}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="blas cuda hip opencl sdl2"
+
+DEPEND="blas? ( virtual/blas )
+ cuda? ( dev-util/nvidia-cuda-toolkit:= )
+ hip? ( sci-libs/hipBLAS:= )
+ opencl? ( sci-libs/clblast:= )
+ sdl2? ( media-libs/libsdl2:= )"
+RDEPEND="${DEPEND}"
+
+# Enabling multiple may lead to build failures, whisper-cpp won't use more than one either way
+REQUIRED_USE="?? ( blas cuda hip opencl )"
+
+src_prepare() {
+ eapply_user
+ cmake_src_prepare
+}
+
+src_configure() {
+ # Note: CUDA and HIP are currently untested. Build failures may occur.
+ # Turning off examples causes errors during configure
+ # -DWHISPER_BUILD_TESTS=$(usex test)
+ local mycmakeargs=(
+ -DWHISPER_BUILD_EXAMPLES=ON
+ -DWHISPER_BLAS=$(usex blas)
+ -DWHISPER_CLBLAST=$(usex opencl)
+ -DWHISPER_CUBLAS=$(usex cuda)
+ -DWHISPER_HIPBLAS=$(usex hip)
+ -DWHISPER_SDL2=$(usex sdl2)
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+}
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2025-10-12 12:50 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-22 14:14 [gentoo-commits] repo/proj/guru:master commit in: app-accessibility/whisper-cpp/ David Roman
-- strict thread matches above, loose matches on Subject: below --
2025-10-12 12:49 David Roman
2025-09-22 9:09 David Roman
2025-07-14 0:03 Haelwenn Monnier
2025-07-13 11:42 Lucio Sauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox