v1.2.9: Improved AUR installation with auto-setup and Waybar integration

- Added missing dependencies: python-sounddevice, python-evdev, cmake, make, git, base-devel, curl
- Fixed missing share directory in package
- Auto-run setup with Waybar integration enabled by default
- Clear post-install messaging
- Updated to version 1.2.9 with correct checksums
This commit is contained in:
goodroot 2025-09-28 09:18:50 -07:00
parent afc640b82e
commit 4d4bf80fbc
4 changed files with 33 additions and 19 deletions

View file

@ -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

View file

@ -1,7 +1,7 @@
# Maintainer: goodroot <hyprwhspr@goodroot.ca>
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"

BIN
hyprwhspr-1.2.9.tar.gz Normal file

Binary file not shown.

View file

@ -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