mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
43 lines
1.1 KiB
Plaintext
43 lines
1.1 KiB
Plaintext
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=py3-ovos-ww-plugin-vosk
|
|
pkgver=0.1.2
|
|
pkgrel=0
|
|
pkgdesc="Vosk wake word plugin for OVOS"
|
|
url="https://github.com/OpenVoiceOS/ovos-ww-plugin-vosk"
|
|
# only x86_64 and aarch64 supported by vosk-api
|
|
arch="noarch !x86 !armhf !armv7 !s390x !ppc64le !riscv64 !loongarch64"
|
|
license="Apache-2.0"
|
|
depends="
|
|
ovos-skill-installer
|
|
py3-numpy
|
|
py3-ovos-plugin-manager
|
|
py3-ovos-utils
|
|
py3-speechrecognition
|
|
py3-vosk-api
|
|
"
|
|
makedepends="
|
|
py3-gpep517
|
|
py3-setuptools
|
|
py3-wheel
|
|
"
|
|
subpackages="$pkgname-pyc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/OpenVoiceOS/ovos-ww-plugin-vosk/archive/refs/tags/V$pkgver.tar.gz"
|
|
options="!check" # No tests
|
|
builddir="$srcdir/ovos-ww-plugin-vosk-$pkgver"
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir .dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
.dist/*.whl
|
|
}
|
|
|
|
sha512sums="
|
|
fdf6bb0a6470b4bcd0be8e7f37e3b67d09dae997506fe4f12c50b97432270b7141f4e6405b1e75128177b53f41a9849232c9f7384c53488292dcf3ebb55757bb py3-ovos-ww-plugin-vosk-0.1.2.tar.gz
|
|
"
|