Register speech packages with the current edge builder
The builder discovers package directories directly under pkgbuilds and requires local package metadata. Move Omawake and Omaspeak out of the retired edge directory and restrict their channels to edge so the release pipeline builds them without promoting the release candidates. Co-Authored-By: GPT-6 Astra XHigh <noreply@openai.com>
This commit is contained in:
1 parent
e15d4aa61e
commit
9807177337
10 files changed
+12
No files matched your search
@@ -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,7 @@
|
||||
*
|
||||
!.gitignore
|
||||
!.SRCINFO
|
||||
!PKGBUILD
|
||||
!omawake-bin.install
|
||||
!.omarchy/
|
||||
!.omarchy/package.json
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"source": "local",
|
||||
"channels": ["edge"]
|
||||
}
|
||||
@@ -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