# Contributor: Bart Ribbers # Maintainer: Bart Ribbers pkgname=py3-ovos-ww-plugin-vosk pkgver=0.1.1 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" 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=" 47b8e6ab431b8d9137f79a7941a4f74bd0ca59bbe362ca25f16bd6db63c8f7c652f43d9ef798b48582238b6170bb21c66009992f2bfc9ada23adde6812815621 py3-ovos-ww-plugin-vosk-0.1.1.tar.gz "