chore: sync AUR packages (shared)

This commit is contained in:
github-actions[bot] committed 2026-04-23 01:55:28 +00:00
1 parent 81217eff4e
commit 051e55ca17
7 files changed
+90 -40

No files matched your search

+9 -9
View File
@@ -1,22 +1,22 @@
pkgbase = crush-bin pkgbase = crush-bin
pkgdesc = A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal. pkgdesc = A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.
pkgver = 0.61.1 pkgver = 0.62.0
pkgrel = 1 pkgrel = 1
url = https://charm.sh/crush url = https://charm.sh/crush
license = FSL-1.1-MIT license = FSL-1.1-MIT
conflicts = crush conflicts = crush
provides = crush provides = crush
arch = aarch64 arch = aarch64
source_aarch64 = https://github.com/charmbracelet/crush/releases/download/v0.61.1/crush_0.61.1_Linux_arm64.tar.gz source_aarch64 = https://github.com/charmbracelet/crush/releases/download/v0.62.0/crush_0.62.0_Linux_arm64.tar.gz
sha256sums_aarch64 = cae8b5fb61f33cbc3ecfcf4cffc7683e3a37b2a95983ed6e292a15b775339921 sha256sums_aarch64 = e40bc26e3cee32466a65839beba776caf047d5cd3759b87f85c9804396e452ac
arch = armv7h arch = armv7h
source_armv7h = https://github.com/charmbracelet/crush/releases/download/v0.61.1/crush_0.61.1_Linux_armv7.tar.gz source_armv7h = https://github.com/charmbracelet/crush/releases/download/v0.62.0/crush_0.62.0_Linux_armv7.tar.gz
sha256sums_armv7h = 9ed8c43917601c1ca2419a1c6c77274fc6500adc228beba9f883b1d16fbfb818 sha256sums_armv7h = 50525ecede91cda60d6de56039a2441d7c7b5bfdfe840a72f176df9852d51d7e
arch = i686 arch = i686
source_i686 = https://github.com/charmbracelet/crush/releases/download/v0.61.1/crush_0.61.1_Linux_i386.tar.gz source_i686 = https://github.com/charmbracelet/crush/releases/download/v0.62.0/crush_0.62.0_Linux_i386.tar.gz
sha256sums_i686 = add1dfdc6ac5cca4aecd0ec48a6318f629ee9180959177b5580c099f415cc54e sha256sums_i686 = 0a99a8415af4cf02650598a9d42fe07e349a7abd5fb8f4e5dcf5dc70046f2efc
arch = x86_64 arch = x86_64
source_x86_64 = https://github.com/charmbracelet/crush/releases/download/v0.61.1/crush_0.61.1_Linux_x86_64.tar.gz source_x86_64 = https://github.com/charmbracelet/crush/releases/download/v0.62.0/crush_0.62.0_Linux_x86_64.tar.gz
sha256sums_x86_64 = e0533138a8e1ea1ffe40ef5248fb3b6c5a06176ac7bd80a416697bcbc9d9c85e sha256sums_x86_64 = 2ab7ab38a057d13dc7438118cc4897af3b971a4c5ea0a6140743c2e2d43cb4fc
pkgname = crush-bin pkgname = crush-bin
+5 -5
View File
@@ -3,7 +3,7 @@
# Maintainer: caarlos0 <carlos@charm.sh> # Maintainer: caarlos0 <carlos@charm.sh>
pkgname='crush-bin' pkgname='crush-bin'
pkgver=0.61.1 pkgver=0.62.0
pkgrel=1 pkgrel=1
pkgdesc='A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.' pkgdesc='A powerful terminal-based AI assistant for developers, providing intelligent coding assistance directly in your terminal.'
url='https://charm.sh/crush' url='https://charm.sh/crush'
@@ -13,16 +13,16 @@ provides=('crush')
conflicts=('crush') conflicts=('crush')
source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_arm64.tar.gz") source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_arm64.tar.gz")
sha256sums_aarch64=('cae8b5fb61f33cbc3ecfcf4cffc7683e3a37b2a95983ed6e292a15b775339921') sha256sums_aarch64=('e40bc26e3cee32466a65839beba776caf047d5cd3759b87f85c9804396e452ac')
source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_armv7.tar.gz") source_armv7h=("${pkgname}_${pkgver}_armv7h.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_armv7.tar.gz")
sha256sums_armv7h=('9ed8c43917601c1ca2419a1c6c77274fc6500adc228beba9f883b1d16fbfb818') sha256sums_armv7h=('50525ecede91cda60d6de56039a2441d7c7b5bfdfe840a72f176df9852d51d7e')
source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_i386.tar.gz") source_i686=("${pkgname}_${pkgver}_i686.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_i386.tar.gz")
sha256sums_i686=('add1dfdc6ac5cca4aecd0ec48a6318f629ee9180959177b5580c099f415cc54e') sha256sums_i686=('0a99a8415af4cf02650598a9d42fe07e349a7abd5fb8f4e5dcf5dc70046f2efc')
source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_x86_64.tar.gz") source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/charmbracelet/crush/releases/download/v${pkgver}/crush_${pkgver}_Linux_x86_64.tar.gz")
sha256sums_x86_64=('e0533138a8e1ea1ffe40ef5248fb3b6c5a06176ac7bd80a416697bcbc9d9c85e') sha256sums_x86_64=('2ab7ab38a057d13dc7438118cc4897af3b971a4c5ea0a6140743c2e2d43cb4fc')
package() { package() {
case "$CARCH" in case "$CARCH" in
@@ -1,7 +1,7 @@
pkgbase = omarchy-chromium-bin pkgbase = omarchy-chromium-bin
pkgdesc = A web browser built for speed, simplicity, and security, with patches for Omarchy (binary package) pkgdesc = A web browser built for speed, simplicity, and security, with patches for Omarchy (binary package)
pkgver = 147.0.7727.101 pkgver = 147.0.7727.116
pkgrel = 18 pkgrel = 19
url = https://www.chromium.org/Home url = https://www.chromium.org/Home
arch = x86_64 arch = x86_64
arch = aarch64 arch = aarch64
@@ -25,9 +25,9 @@ pkgbase = omarchy-chromium-bin
provides = chromium provides = chromium
conflicts = chromium conflicts = chromium
conflicts = omarchy-chromium conflicts = omarchy-chromium
source_x86_64 = https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.101-18/omarchy-chromium-147.0.7727.101-18-x86_64.pkg.tar.zst source_x86_64 = https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.116-19/omarchy-chromium-147.0.7727.116-19-x86_64.pkg.tar.zst
sha256sums_x86_64 = a4536e188add9a53e024353133f51b89640b0778494014e9c45bb6df5a0c127c sha256sums_x86_64 = 30eba48f25e3cbdcc6b69990ad5220d5afd50b29415fd1c21010548230802871
source_aarch64 = https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.101-18/omarchy-chromium-147.0.7727.101-18-aarch64.pkg.tar.zst source_aarch64 = https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.116-19/omarchy-chromium-147.0.7727.116-19-aarch64.pkg.tar.zst
sha256sums_aarch64 = 38f5ca991e02a84c958179dfd2d64e9c647080cf2420f048c21c622e58a05cbb sha256sums_aarch64 = 15e58f86bed15ba995a463221d95eecefd4cdd0808ab49d48b5474c6b58031b1
pkgname = omarchy-chromium-bin pkgname = omarchy-chromium-bin
@@ -1,8 +1,8 @@
# Maintainer: Helmut Januschka <helmut@januschka.com> # Maintainer: Helmut Januschka <helmut@januschka.com>
pkgname=omarchy-chromium-bin pkgname=omarchy-chromium-bin
pkgver=147.0.7727.101 pkgver=147.0.7727.116
pkgrel=18 pkgrel=19
pkgdesc="A web browser built for speed, simplicity, and security, with patches for Omarchy (binary package)" pkgdesc="A web browser built for speed, simplicity, and security, with patches for Omarchy (binary package)"
arch=('x86_64' 'aarch64') arch=('x86_64' 'aarch64')
url="https://www.chromium.org/Home" url="https://www.chromium.org/Home"
@@ -14,16 +14,16 @@ provides=('chromium')
conflicts=('chromium' 'omarchy-chromium') conflicts=('chromium' 'omarchy-chromium')
# Architecture-specific sources # Architecture-specific sources
source_x86_64=("https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.101-18/omarchy-chromium-147.0.7727.101-18-x86_64.pkg.tar.zst") source_x86_64=("https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.116-19/omarchy-chromium-147.0.7727.116-19-x86_64.pkg.tar.zst")
source_aarch64=("https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.101-18/omarchy-chromium-147.0.7727.101-18-aarch64.pkg.tar.zst") source_aarch64=("https://github.com/omacom-io/omarchy-chromium/releases/download/v147.0.7727.116-19/omarchy-chromium-147.0.7727.116-19-aarch64.pkg.tar.zst")
sha256sums_x86_64=('a4536e188add9a53e024353133f51b89640b0778494014e9c45bb6df5a0c127c') sha256sums_x86_64=('30eba48f25e3cbdcc6b69990ad5220d5afd50b29415fd1c21010548230802871')
sha256sums_aarch64=('38f5ca991e02a84c958179dfd2d64e9c647080cf2420f048c21c622e58a05cbb') sha256sums_aarch64=('15e58f86bed15ba995a463221d95eecefd4cdd0808ab49d48b5474c6b58031b1')
package() { package() {
cd "$srcdir" cd "$srcdir"
# Extract the package (filename varies by architecture) # Extract the package (filename varies by architecture)
tar -xf omarchy-chromium-147.0.7727.101-18-${CARCH}.pkg.tar.zst tar -xf omarchy-chromium-147.0.7727.116-19-${CARCH}.pkg.tar.zst
# Copy everything to the target directory # Copy everything to the target directory
cp -r usr "$pkgdir/" cp -r usr "$pkgdir/"
+16 -1
View File
@@ -1,7 +1,7 @@
pkgbase = voxtype-bin pkgbase = voxtype-bin
pkgdesc = Push-to-talk voice-to-text for Linux (pre-built binaries) pkgdesc = Push-to-talk voice-to-text for Linux (pre-built binaries)
pkgver = 0.6.6 pkgver = 0.6.6
pkgrel = 1 pkgrel = 2
url = https://voxtype.io url = https://voxtype.io
install = voxtype-bin.install install = voxtype-bin.install
arch = x86_64 arch = x86_64
@@ -26,12 +26,19 @@ pkgbase = voxtype-bin
conflicts = voxtype conflicts = voxtype
backup = etc/voxtype/config.toml backup = etc/voxtype/config.toml
source = voxtype-0.6.6-avx2::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx2 source = voxtype-0.6.6-avx2::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx2
source = voxtype-0.6.6-avx2.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx2.asc
source = voxtype-0.6.6-avx512::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx512 source = voxtype-0.6.6-avx512::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx512
source = voxtype-0.6.6-avx512.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-avx512.asc
source = voxtype-0.6.6-vulkan::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-vulkan source = voxtype-0.6.6-vulkan::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-vulkan
source = voxtype-0.6.6-vulkan.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-vulkan.asc
source = voxtype-0.6.6-onnx-avx2::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx2 source = voxtype-0.6.6-onnx-avx2::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx2
source = voxtype-0.6.6-onnx-avx2.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx2.asc
source = voxtype-0.6.6-onnx-avx512::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx512 source = voxtype-0.6.6-onnx-avx512::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx512
source = voxtype-0.6.6-onnx-avx512.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-avx512.asc
source = voxtype-0.6.6-onnx-cuda::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-cuda source = voxtype-0.6.6-onnx-cuda::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-cuda
source = voxtype-0.6.6-onnx-cuda.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-cuda.asc
source = voxtype-0.6.6-onnx-rocm::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-rocm source = voxtype-0.6.6-onnx-rocm::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-rocm
source = voxtype-0.6.6-onnx-rocm.asc::https://github.com/peteonrails/voxtype/releases/download/v0.6.6/voxtype-0.6.6-linux-x86_64-onnx-rocm.asc
source = config-0.6.6.toml::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/config/default.toml source = config-0.6.6.toml::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/config/default.toml
source = voxtype-0.6.6.service::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/systemd/voxtype.service source = voxtype-0.6.6.service::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/systemd/voxtype.service
source = voxtype-0.6.6.bash::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/completions/voxtype.bash source = voxtype-0.6.6.bash::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/completions/voxtype.bash
@@ -39,12 +46,19 @@ pkgbase = voxtype-bin
source = voxtype-0.6.6.fish::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/completions/voxtype.fish source = voxtype-0.6.6.fish::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/packaging/completions/voxtype.fish
source = LICENSE-0.6.6::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/LICENSE source = LICENSE-0.6.6::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/LICENSE
source = README-0.6.6.md::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/README.md source = README-0.6.6.md::https://raw.githubusercontent.com/peteonrails/voxtype/v0.6.6/README.md
validpgpkeys = E79F5BAF8CD51A806AA27DBB7DA2709247D75BC6
sha256sums = 505933791bb9389ef851813c404eefe63b186eba3aa842b2b321a164ecb8a6db sha256sums = 505933791bb9389ef851813c404eefe63b186eba3aa842b2b321a164ecb8a6db
sha256sums = SKIP
sha256sums = ad9631c1fa810cab0749d66b73a549b6634047bbe36f004ad52d24acf969a467 sha256sums = ad9631c1fa810cab0749d66b73a549b6634047bbe36f004ad52d24acf969a467
sha256sums = SKIP
sha256sums = 2f7cf1bb199c2d25cae6566c2df0bbe62d39e712f9abea329cb2d563a3b548fe sha256sums = 2f7cf1bb199c2d25cae6566c2df0bbe62d39e712f9abea329cb2d563a3b548fe
sha256sums = SKIP
sha256sums = 300d040d682e39fdb3a5beca4814cdd1bc127d61efaea917ea43031193aba92f sha256sums = 300d040d682e39fdb3a5beca4814cdd1bc127d61efaea917ea43031193aba92f
sha256sums = SKIP
sha256sums = 3799fb9a6d5d59e132286b8c5f7166d849a746dcd255d2b24b77c87a3bd9fbb6 sha256sums = 3799fb9a6d5d59e132286b8c5f7166d849a746dcd255d2b24b77c87a3bd9fbb6
sha256sums = SKIP
sha256sums = ce130d9190274b84c61c974dbeeb3d92c308285f40d4d0befaa135be49af1a09 sha256sums = ce130d9190274b84c61c974dbeeb3d92c308285f40d4d0befaa135be49af1a09
sha256sums = SKIP
sha256sums = 456026cc5b0122b3f99a52691c82579bda16d1c36bd739a378b7b1ea24f1294f sha256sums = 456026cc5b0122b3f99a52691c82579bda16d1c36bd739a378b7b1ea24f1294f
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
@@ -53,5 +67,6 @@ pkgbase = voxtype-bin
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP sha256sums = SKIP
sha256sums = SKIP
pkgname = voxtype-bin pkgname = voxtype-bin
+18 -5
View File
@@ -1,7 +1,7 @@
# Maintainer: Peter Jackson <pete@peteonrails.com> # Maintainer: Peter Jackson <pete@peteonrails.com>
pkgname=voxtype-bin pkgname=voxtype-bin
pkgver=0.6.6 pkgver=0.6.6
pkgrel=1 pkgrel=2
pkgdesc="Push-to-talk voice-to-text for Linux (pre-built binaries)" pkgdesc="Push-to-talk voice-to-text for Linux (pre-built binaries)"
arch=('x86_64') arch=('x86_64')
url="https://voxtype.io" url="https://voxtype.io"
@@ -30,17 +30,25 @@ provides=('voxtype')
conflicts=('voxtype') conflicts=('voxtype')
backup=('etc/voxtype/config.toml') backup=('etc/voxtype/config.toml')
install=voxtype-bin.install install=voxtype-bin.install
validpgpkeys=('E79F5BAF8CD51A806AA27DBB7DA2709247D75BC6') # Peter Jackson <pete@peteonrails.com>
_github="https://github.com/peteonrails/voxtype/releases/download/v$pkgver" _github="https://github.com/peteonrails/voxtype/releases/download/v$pkgver"
source=( source=(
# Whisper binaries # Whisper binaries
"voxtype-$pkgver-avx2::$_github/voxtype-$pkgver-linux-x86_64-avx2" "voxtype-$pkgver-avx2::$_github/voxtype-$pkgver-linux-x86_64-avx2"
"voxtype-$pkgver-avx2.asc::$_github/voxtype-$pkgver-linux-x86_64-avx2.asc"
"voxtype-$pkgver-avx512::$_github/voxtype-$pkgver-linux-x86_64-avx512" "voxtype-$pkgver-avx512::$_github/voxtype-$pkgver-linux-x86_64-avx512"
"voxtype-$pkgver-avx512.asc::$_github/voxtype-$pkgver-linux-x86_64-avx512.asc"
"voxtype-$pkgver-vulkan::$_github/voxtype-$pkgver-linux-x86_64-vulkan" "voxtype-$pkgver-vulkan::$_github/voxtype-$pkgver-linux-x86_64-vulkan"
"voxtype-$pkgver-vulkan.asc::$_github/voxtype-$pkgver-linux-x86_64-vulkan.asc"
# ONNX binaries (all ONNX engines: Parakeet, Moonshine, SenseVoice, Paraformer, Dolphin, Omnilingual) # ONNX binaries (all ONNX engines: Parakeet, Moonshine, SenseVoice, Paraformer, Dolphin, Omnilingual)
"voxtype-$pkgver-onnx-avx2::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx2" "voxtype-$pkgver-onnx-avx2::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx2"
"voxtype-$pkgver-onnx-avx2.asc::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx2.asc"
"voxtype-$pkgver-onnx-avx512::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx512" "voxtype-$pkgver-onnx-avx512::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx512"
"voxtype-$pkgver-onnx-avx512.asc::$_github/voxtype-$pkgver-linux-x86_64-onnx-avx512.asc"
"voxtype-$pkgver-onnx-cuda::$_github/voxtype-$pkgver-linux-x86_64-onnx-cuda" "voxtype-$pkgver-onnx-cuda::$_github/voxtype-$pkgver-linux-x86_64-onnx-cuda"
"voxtype-$pkgver-onnx-cuda.asc::$_github/voxtype-$pkgver-linux-x86_64-onnx-cuda.asc"
"voxtype-$pkgver-onnx-rocm::$_github/voxtype-$pkgver-linux-x86_64-onnx-rocm" "voxtype-$pkgver-onnx-rocm::$_github/voxtype-$pkgver-linux-x86_64-onnx-rocm"
"voxtype-$pkgver-onnx-rocm.asc::$_github/voxtype-$pkgver-linux-x86_64-onnx-rocm.asc"
# Config and support files # Config and support files
"config-$pkgver.toml::https://raw.githubusercontent.com/peteonrails/voxtype/v$pkgver/config/default.toml" "config-$pkgver.toml::https://raw.githubusercontent.com/peteonrails/voxtype/v$pkgver/config/default.toml"
"voxtype-$pkgver.service::https://raw.githubusercontent.com/peteonrails/voxtype/v$pkgver/packaging/systemd/voxtype.service" "voxtype-$pkgver.service::https://raw.githubusercontent.com/peteonrails/voxtype/v$pkgver/packaging/systemd/voxtype.service"
@@ -53,13 +61,20 @@ source=(
sha256sums=( sha256sums=(
# Whisper binaries # Whisper binaries
'505933791bb9389ef851813c404eefe63b186eba3aa842b2b321a164ecb8a6db' # voxtype-avx2 '505933791bb9389ef851813c404eefe63b186eba3aa842b2b321a164ecb8a6db' # voxtype-avx2
'SKIP' # voxtype-avx2.asc
'ad9631c1fa810cab0749d66b73a549b6634047bbe36f004ad52d24acf969a467' # voxtype-avx512 'ad9631c1fa810cab0749d66b73a549b6634047bbe36f004ad52d24acf969a467' # voxtype-avx512
'SKIP' # voxtype-avx512.asc
'2f7cf1bb199c2d25cae6566c2df0bbe62d39e712f9abea329cb2d563a3b548fe' # voxtype-vulkan '2f7cf1bb199c2d25cae6566c2df0bbe62d39e712f9abea329cb2d563a3b548fe' # voxtype-vulkan
'SKIP' # voxtype-vulkan.asc
# ONNX binaries # ONNX binaries
'300d040d682e39fdb3a5beca4814cdd1bc127d61efaea917ea43031193aba92f' # voxtype-onnx-avx2 '300d040d682e39fdb3a5beca4814cdd1bc127d61efaea917ea43031193aba92f' # voxtype-onnx-avx2
'SKIP' # voxtype-onnx-avx2.asc
'3799fb9a6d5d59e132286b8c5f7166d849a746dcd255d2b24b77c87a3bd9fbb6' # voxtype-onnx-avx512 '3799fb9a6d5d59e132286b8c5f7166d849a746dcd255d2b24b77c87a3bd9fbb6' # voxtype-onnx-avx512
'SKIP' # voxtype-onnx-avx512.asc
'ce130d9190274b84c61c974dbeeb3d92c308285f40d4d0befaa135be49af1a09' # voxtype-onnx-cuda 'ce130d9190274b84c61c974dbeeb3d92c308285f40d4d0befaa135be49af1a09' # voxtype-onnx-cuda
'SKIP' # voxtype-onnx-cuda.asc
'456026cc5b0122b3f99a52691c82579bda16d1c36bd739a378b7b1ea24f1294f' # voxtype-onnx-rocm '456026cc5b0122b3f99a52691c82579bda16d1c36bd739a378b7b1ea24f1294f' # voxtype-onnx-rocm
'SKIP' # voxtype-onnx-rocm.asc
# Config and support files # Config and support files
'SKIP' # config.toml 'SKIP' # config.toml
'SKIP' # voxtype.service 'SKIP' # voxtype.service
@@ -84,10 +99,8 @@ package() {
install -Dm755 "$srcdir/voxtype-$pkgver-onnx-cuda" "$pkgdir/usr/lib/voxtype/voxtype-onnx-cuda" install -Dm755 "$srcdir/voxtype-$pkgver-onnx-cuda" "$pkgdir/usr/lib/voxtype/voxtype-onnx-cuda"
install -Dm755 "$srcdir/voxtype-$pkgver-onnx-rocm" "$pkgdir/usr/lib/voxtype/voxtype-onnx-rocm" install -Dm755 "$srcdir/voxtype-$pkgver-onnx-rocm" "$pkgdir/usr/lib/voxtype/voxtype-onnx-rocm"
# Create symlink based on CPU capabilities (updated in .install file) # /usr/bin/voxtype symlink is managed by the .install script
# Default to avx2 for safety # to preserve user-configured backends across upgrades
mkdir -p "$pkgdir/usr/bin"
ln -sf /usr/lib/voxtype/voxtype-avx2 "$pkgdir/usr/bin/voxtype"
# Install default configuration # Install default configuration
install -Dm644 "$srcdir/config-$pkgver.toml" "$pkgdir/etc/voxtype/config.toml" install -Dm644 "$srcdir/config-$pkgver.toml" "$pkgdir/etc/voxtype/config.toml"
@@ -1,5 +1,5 @@
_detect_cpu() { _set_default_backend() {
# Detect CPU capabilities and symlink appropriate binary # Set the default CPU backend based on CPU capabilities
if grep -q avx512f /proc/cpuinfo 2>/dev/null; then if grep -q avx512f /proc/cpuinfo 2>/dev/null; then
ln -sf /usr/lib/voxtype/voxtype-avx512 /usr/bin/voxtype ln -sf /usr/lib/voxtype/voxtype-avx512 /usr/bin/voxtype
echo "avx512" echo "avx512"
@@ -9,6 +9,23 @@ _detect_cpu() {
fi fi
} }
_preserve_or_set_backend() {
# Restore saved backend from pre_upgrade, or set default
local saved="/tmp/.voxtype-backend-upgrade"
if [ -f "$saved" ]; then
target=$(cat "$saved")
rm -f "$saved"
if [ -f "$target" ]; then
ln -sf "$target" /usr/bin/voxtype
echo "${target##*/voxtype-}"
return
fi
fi
# No saved state or target gone — set default
_set_default_backend
}
_detect_gpu() { _detect_gpu() {
# Detect GPU for acceleration recommendation # Detect GPU for acceleration recommendation
GPU_DETECTED="" GPU_DETECTED=""
@@ -56,7 +73,7 @@ post_install() {
echo "==> Voxtype Post-installation Steps:" echo "==> Voxtype Post-installation Steps:"
echo "" echo ""
CPU_VARIANT=$(_detect_cpu) CPU_VARIANT=$(_set_default_backend)
echo " CPU backend: $CPU_VARIANT (using voxtype-$CPU_VARIANT)" echo " CPU backend: $CPU_VARIANT (using voxtype-$CPU_VARIANT)"
_detect_gpu _detect_gpu
@@ -78,15 +95,20 @@ post_install() {
echo "" echo ""
} }
pre_upgrade() {
# Save the current backend so post_upgrade can restore it
if [ -L /usr/bin/voxtype ]; then
readlink /usr/bin/voxtype > /tmp/.voxtype-backend-upgrade
fi
}
post_upgrade() { post_upgrade() {
echo "" echo ""
echo "==> Voxtype upgraded to 0.6.6" echo "==> Voxtype upgraded to 0.6.6"
echo "" echo ""
CPU_VARIANT=$(_detect_cpu) BACKEND=$(_preserve_or_set_backend)
echo " CPU backend: $CPU_VARIANT (using voxtype-$CPU_VARIANT)" echo " Backend: $BACKEND (using voxtype-$BACKEND)"
_detect_gpu
echo "" echo ""
echo " v0.6.6: Media pause, audio feedback, KDE Plasma support, 7 bug fixes." echo " v0.6.6: Media pause, audio feedback, KDE Plasma support, 7 bug fixes."