diff --git a/.SRCINFO b/.SRCINFO index 4b9a489b967c..cfe6dd29c0ed 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = hyprwhspr pkgdesc = Native Whisper speech-to-text for Arch/Omarchy with Waybar integration - pkgver = 1.2.8 + pkgver = 1.2.9 pkgrel = 1 url = https://github.com/goodroot/hyprwhspr install = hyprwhspr.install @@ -13,16 +13,23 @@ pkgbase = hyprwhspr depends = python-psutil depends = python-rich depends = python-json5 + depends = python-sounddevice + depends = python-evdev depends = ydotool depends = pipewire depends = pipewire-alsa depends = pipewire-pulse depends = pipewire-jack + depends = cmake + depends = make + depends = git + depends = base-devel + depends = curl optdepends = nvidia-utils: For GPU acceleration optdepends = cuda: For GPU acceleration optdepends = waybar: For tray/status optdepends = whisper.cpp: Use system build instead of building locally in setup step - source = hyprwhspr-1.2.8.tar.gz::https://github.com/goodroot/hyprwhspr/archive/refs/tags/v1.2.8.tar.gz - sha256sums = d77ebb21866a8e6088b6831c36ac1661b017d5eadbb1f57cdd6ca586a9d0720d + source = hyprwhspr-1.2.9.tar.gz::https://github.com/goodroot/hyprwhspr/archive/refs/tags/v1.2.9.tar.gz + sha256sums = fe6dca68145588b41c527dacb42075b98e58374c5d98b61ccb32d7f7f8d4ce87 pkgname = hyprwhspr diff --git a/PKGBUILD b/PKGBUILD index 4001a21d7ed3..120fc186c474 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: goodroot pkgname=hyprwhspr -pkgver=1.2.8 +pkgver=1.2.9 pkgrel=1 pkgdesc="Native Whisper speech-to-text for Arch/Omarchy with Waybar integration" arch=('x86_64') @@ -15,8 +15,15 @@ depends=( 'python-psutil' 'python-rich' 'python-json5' + 'python-sounddevice' + 'python-evdev' 'ydotool' 'pipewire' 'pipewire-alsa' 'pipewire-pulse' 'pipewire-jack' + 'cmake' + 'make' + 'git' + 'base-devel' + 'curl' ) optdepends=( 'nvidia-utils: For GPU acceleration' @@ -26,7 +33,7 @@ optdepends=( ) install=$pkgname.install source=("$pkgname-$pkgver.tar.gz::https://github.com/goodroot/$pkgname/archive/refs/tags/v$pkgver.tar.gz") -sha256sums=('d77ebb21866a8e6088b6831c36ac1661b017d5eadbb1f57cdd6ca586a9d0720d') +sha256sums=('fe6dca68145588b41c527dacb42075b98e58374c5d98b61ccb32d7f7f8d4ce87') build() { cd "$srcdir/$pkgname-$pkgver" @@ -38,7 +45,7 @@ package() { # Payload into /usr/lib keeps repo layout intact for your installer install -d "$pkgdir/usr/lib/$pkgname" - cp -r lib bin scripts config README.md LICENSE requirements.txt "$pkgdir/usr/lib/$pkgname" + cp -r lib bin scripts config share README.md LICENSE requirements.txt "$pkgdir/usr/lib/$pkgname" # Runtime launcher: prefers user venv + user whisper.cpp bin install -d "$pkgdir/usr/bin" diff --git a/hyprwhspr-1.2.9.tar.gz b/hyprwhspr-1.2.9.tar.gz new file mode 100644 index 000000000000..03286e5ad7a9 Binary files /dev/null and b/hyprwhspr-1.2.9.tar.gz differ diff --git a/hyprwhspr.install b/hyprwhspr.install index 6a27b4f2a8b1..b3dbe01fe8fa 100644 --- a/hyprwhspr.install +++ b/hyprwhspr.install @@ -1,23 +1,23 @@ post_install() { + # Run setup with Waybar integration enabled by default + HYPRWHSPR_WAYBAR_AUTO=1 hyprwhspr-setup + cat <<'EOF' -hyprwhspr installed. +hyprwhspr installed and configured! -Finish setup: - hyprwhspr-setup - • To auto-edit Waybar (opt-in), run: - HYPRWHSPR_WAYBAR_AUTO=1 hyprwhspr-setup +Services running: ydotoold.service, hyprwhspr.service +Waybar integration configured +Whisper models downloaded +User configuration created -Enable the user services: - systemctl --user enable --now ydotoold.service - systemctl --user enable --now hyprwhspr.service +IMPORTANT: Log out and log back in for permissions to take effect +(Required for /dev/uinput access) -Config: - The setup will create/update: - ~/.config/hyprwhspr/config.json +Check status: + systemctl --user status hyprwhspr.service -Troubleshooting: - journalctl --user -u ydotoold.service +Logs: journalctl --user -u hyprwhspr.service EOF