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 = 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,7 @@
|
||||
*
|
||||
!.gitignore
|
||||
!.SRCINFO
|
||||
!PKGBUILD
|
||||
!omaspeak-bin.install
|
||||
!.omarchy/
|
||||
!.omarchy/package.json
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"source": "local",
|
||||
"channels": ["edge"]
|
||||
}
|
||||
@@ -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.'
|
||||
}
|
||||
Reference in new issue
Block a user