Add Omawake and Omaspeak edge packages
This commit is contained in:
8 files changed
+222
No files matched your search
@@ -0,0 +1,25 @@
|
|||||||
|
pkgbase = omaspeak-bin
|
||||||
|
pkgdesc = Local-first text-to-speech application and daemon (pre-built binary)
|
||||||
|
pkgver = 0.0.1.rc
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/jacob-vincent-mink/omaspeak
|
||||||
|
install = omaspeak-bin.install
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
depends = alsa-utils
|
||||||
|
depends = bzip2
|
||||||
|
depends = gcc-libs
|
||||||
|
depends = glibc
|
||||||
|
optdepends = pipewire-audio: audio playback through pw-play
|
||||||
|
optdepends = openvino: Intel CPU acceleration runtime
|
||||||
|
optdepends = openvino-intel-gpu-plugin: Intel GPU device support for OpenVINO
|
||||||
|
optdepends = openvino-intel-npu-plugin: Intel NPU device support for OpenVINO
|
||||||
|
optdepends = cuda: NVIDIA CUDA libraries for an external CUDA runtime bundle
|
||||||
|
optdepends = cudnn: NVIDIA neural-network libraries for an external CUDA runtime bundle
|
||||||
|
provides = omaspeak=0.0.1.rc
|
||||||
|
conflicts = omaspeak
|
||||||
|
options = !strip
|
||||||
|
source = omaspeak-0.0.1-rc-linux-x86_64.tar.xz::https://github.com/jacob-vincent-mink/omaspeak/releases/download/v0.0.1-rc/omaspeak-0.0.1-rc-linux-x86_64.tar.xz
|
||||||
|
sha256sums = 49c1d0bc2954aad7865746d7edbbe81343ad3a1d33ff0dd6d21e0ecd3a26b115
|
||||||
|
|
||||||
|
pkgname = omaspeak-bin
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!.SRCINFO
|
||||||
|
!PKGBUILD
|
||||||
|
!omaspeak-bin.install
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
# Maintainer: Jacob Vincent Mink
|
||||||
|
|
||||||
|
pkgname=omaspeak-bin
|
||||||
|
_pkgname=${pkgname%-bin}
|
||||||
|
pkgver=0.0.1.rc
|
||||||
|
_upstream_ver=0.0.1-rc
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Local-first text-to-speech application and daemon (pre-built binary)'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://github.com/jacob-vincent-mink/omaspeak'
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
'alsa-utils'
|
||||||
|
'bzip2'
|
||||||
|
'gcc-libs'
|
||||||
|
'glibc'
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'pipewire-audio: audio playback through pw-play'
|
||||||
|
'openvino: Intel CPU acceleration runtime'
|
||||||
|
'openvino-intel-gpu-plugin: Intel GPU device support for OpenVINO'
|
||||||
|
'openvino-intel-npu-plugin: Intel NPU device support for OpenVINO'
|
||||||
|
'cuda: NVIDIA CUDA libraries for an external CUDA runtime bundle'
|
||||||
|
'cudnn: NVIDIA neural-network libraries for an external CUDA runtime bundle'
|
||||||
|
)
|
||||||
|
provides=("${_pkgname}=${pkgver}")
|
||||||
|
conflicts=("${_pkgname}")
|
||||||
|
install="${pkgname}.install"
|
||||||
|
options=('!strip')
|
||||||
|
|
||||||
|
source=("${_pkgname}-${_upstream_ver}-linux-x86_64.tar.xz::${url}/releases/download/v${_upstream_ver}/${_pkgname}-${_upstream_ver}-linux-x86_64.tar.xz")
|
||||||
|
|
||||||
|
sha256sums=('49c1d0bc2954aad7865746d7edbbe81343ad3a1d33ff0dd6d21e0ecd3a26b115')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
local release_root="${srcdir}/${_pkgname}-${_upstream_ver}-linux-x86_64"
|
||||||
|
|
||||||
|
install -Dm755 "${release_root}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||||
|
|
||||||
|
install -dm755 "${pkgdir}/usr/lib/${_pkgname}"
|
||||||
|
cp -a "${release_root}/lib/." "${pkgdir}/usr/lib/${_pkgname}/"
|
||||||
|
|
||||||
|
install -Dm644 \
|
||||||
|
"${release_root}/packaging/systemd/${_pkgname}.service" \
|
||||||
|
"${pkgdir}/usr/lib/systemd/user/${_pkgname}.service"
|
||||||
|
|
||||||
|
local document
|
||||||
|
for document in \
|
||||||
|
README.md \
|
||||||
|
INSTALL.md \
|
||||||
|
ACCELERATOR_SETUP.md \
|
||||||
|
CHANGELOG.md \
|
||||||
|
RELEASE_NOTES.md \
|
||||||
|
DEMO.md \
|
||||||
|
RUNTIME.md \
|
||||||
|
config.example.toml; do
|
||||||
|
install -Dm644 \
|
||||||
|
"${release_root}/${document}" \
|
||||||
|
"${pkgdir}/usr/share/doc/${pkgname}/${document}"
|
||||||
|
done
|
||||||
|
cp -a \
|
||||||
|
"${release_root}/assets" \
|
||||||
|
"${release_root}/benchmarks" \
|
||||||
|
"${pkgdir}/usr/share/doc/${pkgname}/"
|
||||||
|
|
||||||
|
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -m644 \
|
||||||
|
"${release_root}"/licenses/* \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# shellcheck shell=sh
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
echo ':: Run omaspeak setup to configure a model and runtime.'
|
||||||
|
echo ':: The optional user service remains disabled; on-demand speech works without it.'
|
||||||
|
echo ':: Accelerator instructions: /usr/share/doc/omaspeak-bin/ACCELERATOR_SETUP.md'
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
echo ':: Run omaspeak setup check to verify the current configuration.'
|
||||||
|
}
|
||||||
@@ -0,0 +1,25 @@
|
|||||||
|
pkgbase = omawake-bin
|
||||||
|
pkgdesc = Configurable local wake-word daemon (pre-built binary)
|
||||||
|
pkgver = 0.0.1.rc
|
||||||
|
pkgrel = 1
|
||||||
|
url = https://github.com/jacob-vincent-mink/omawake
|
||||||
|
install = omawake-bin.install
|
||||||
|
arch = x86_64
|
||||||
|
license = MIT
|
||||||
|
depends = alsa-lib
|
||||||
|
depends = bzip2
|
||||||
|
depends = gcc-libs
|
||||||
|
depends = glibc
|
||||||
|
optdepends = pipewire-audio: PipeWire audio support
|
||||||
|
optdepends = openvino: Intel runtime for an externally supplied OpenVINO provider bundle
|
||||||
|
optdepends = openvino-intel-gpu-plugin: Intel GPU device support for OpenVINO
|
||||||
|
optdepends = openvino-intel-npu-plugin: Intel NPU device support for OpenVINO
|
||||||
|
optdepends = cuda: NVIDIA CUDA libraries for an external CUDA runtime bundle
|
||||||
|
optdepends = cudnn: NVIDIA neural-network libraries for an external CUDA runtime bundle
|
||||||
|
provides = omawake=0.0.1.rc
|
||||||
|
conflicts = omawake
|
||||||
|
options = !strip
|
||||||
|
source = omawake-0.0.1-rc-linux-x86_64.tar.xz::https://github.com/jacob-vincent-mink/omawake/releases/download/v0.0.1-rc/omawake-0.0.1-rc-linux-x86_64.tar.xz
|
||||||
|
sha256sums = 52441cefcee285e6941fa25bc45770dc628391f0dd035260509e5cb47c0eeb15
|
||||||
|
|
||||||
|
pkgname = omawake-bin
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
*
|
||||||
|
!.gitignore
|
||||||
|
!.SRCINFO
|
||||||
|
!PKGBUILD
|
||||||
|
!omawake-bin.install
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
# Maintainer: Jacob Vincent Mink
|
||||||
|
|
||||||
|
pkgname=omawake-bin
|
||||||
|
_pkgname=${pkgname%-bin}
|
||||||
|
pkgver=0.0.1.rc
|
||||||
|
_upstream_ver=0.0.1-rc
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc='Configurable local wake-word daemon (pre-built binary)'
|
||||||
|
arch=('x86_64')
|
||||||
|
url='https://github.com/jacob-vincent-mink/omawake'
|
||||||
|
license=('MIT')
|
||||||
|
depends=(
|
||||||
|
'alsa-lib'
|
||||||
|
'bzip2'
|
||||||
|
'gcc-libs'
|
||||||
|
'glibc'
|
||||||
|
)
|
||||||
|
optdepends=(
|
||||||
|
'pipewire-audio: PipeWire audio support'
|
||||||
|
'openvino: Intel runtime for an externally supplied OpenVINO provider bundle'
|
||||||
|
'openvino-intel-gpu-plugin: Intel GPU device support for OpenVINO'
|
||||||
|
'openvino-intel-npu-plugin: Intel NPU device support for OpenVINO'
|
||||||
|
'cuda: NVIDIA CUDA libraries for an external CUDA runtime bundle'
|
||||||
|
'cudnn: NVIDIA neural-network libraries for an external CUDA runtime bundle'
|
||||||
|
)
|
||||||
|
provides=("${_pkgname}=${pkgver}")
|
||||||
|
conflicts=("${_pkgname}")
|
||||||
|
install="${pkgname}.install"
|
||||||
|
options=('!strip')
|
||||||
|
|
||||||
|
source=("${_pkgname}-${_upstream_ver}-linux-x86_64.tar.xz::${url}/releases/download/v${_upstream_ver}/${_pkgname}-${_upstream_ver}-linux-x86_64.tar.xz")
|
||||||
|
|
||||||
|
sha256sums=('52441cefcee285e6941fa25bc45770dc628391f0dd035260509e5cb47c0eeb15')
|
||||||
|
|
||||||
|
package() {
|
||||||
|
local release_root="${srcdir}/${_pkgname}-${_upstream_ver}-linux-x86_64"
|
||||||
|
|
||||||
|
install -Dm755 "${release_root}/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}"
|
||||||
|
|
||||||
|
install -dm755 "${pkgdir}/usr/lib/${_pkgname}"
|
||||||
|
cp -a "${release_root}/lib/." "${pkgdir}/usr/lib/${_pkgname}/"
|
||||||
|
|
||||||
|
install -Dm644 \
|
||||||
|
"${release_root}/packaging/systemd/${_pkgname}.service" \
|
||||||
|
"${pkgdir}/usr/lib/systemd/user/${_pkgname}.service"
|
||||||
|
|
||||||
|
local document
|
||||||
|
for document in \
|
||||||
|
README.md \
|
||||||
|
INSTALL.md \
|
||||||
|
ACCELERATOR_SETUP.md \
|
||||||
|
CHANGELOG.md \
|
||||||
|
RELEASE_NOTES.md \
|
||||||
|
DEMO.md \
|
||||||
|
RUNTIME.md \
|
||||||
|
config.example.toml; do
|
||||||
|
install -Dm644 \
|
||||||
|
"${release_root}/${document}" \
|
||||||
|
"${pkgdir}/usr/share/doc/${pkgname}/${document}"
|
||||||
|
done
|
||||||
|
cp -a \
|
||||||
|
"${release_root}/assets" \
|
||||||
|
"${release_root}/benchmarks" \
|
||||||
|
"${pkgdir}/usr/share/doc/${pkgname}/"
|
||||||
|
|
||||||
|
install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||||
|
install -m644 \
|
||||||
|
"${release_root}"/licenses/* \
|
||||||
|
"${pkgdir}/usr/share/licenses/${pkgname}/"
|
||||||
|
}
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
# shellcheck shell=sh
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
echo ':: Run omawake setup to configure a model and runtime.'
|
||||||
|
echo ':: The optional user service remains disabled; enable it only when desired.'
|
||||||
|
echo ':: Accelerator instructions: /usr/share/doc/omawake-bin/ACCELERATOR_SETUP.md'
|
||||||
|
}
|
||||||
|
|
||||||
|
post_upgrade() {
|
||||||
|
echo ':: Run omawake setup check to verify the current configuration.'
|
||||||
|
}
|
||||||
Reference in new issue
Block a user