Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

add openblas to ci and packaging for linux (#1621)

CJ Pais66e57ca86577
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 7ed206f8..a4f2fd51 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -141,6 +141,11 @@ jobs:
dpkg-query -W -f='${Status}\n' libgtk-layer-shell0 | grep -q "install ok installed"
ldconfig -p | grep -q "libgtk-layer-shell.so.0"
+ - name: Verify OpenBLAS runtime dependency (Ubuntu)
+ if: contains(inputs.platform, 'ubuntu')
+ run: |
+ ldconfig -p | grep -q "libopenblas.so.0"
+
# x86_64 only — Windows-on-ARM links transcribe-cpp statically CPU-only
# (no `vulkan` feature; see src-tauri/Cargo.toml), so ggml-vulkan is never
# built there and no Vulkan SDK, headers, or glslc are needed.
diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json
index 8c93fdf2..bd9ff664 100644
--- a/src-tauri/tauri.conf.json
+++ b/src-tauri/tauri.conf.json
@@ -45,12 +45,16 @@
},
"linux": {
"deb": {
- "depends": ["libgtk-layer-shell0"],
+ "depends": ["libgtk-layer-shell0", "libopenblas0"],
"files": {
"/usr/lib": "transcribe-libs"
}
},
"rpm": {
+ "depends": [
+ "libgtk-layer-shell.so.0()(64bit)",
+ "libopenblas.so.0()(64bit)"
+ ],
"compression": {
"type": "none"
},