pocket-tts-git
LOW
maintainer agony4001
0 votes
scanned 2026-10-27 11:47:37.152749
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: agony <27015 at riseup dot net>
2
3
pkgname=pocket-tts-git
4
pkgver=r206.77c3d76
5
pkgrel=1
6
pkgdesc="Kyutai's pocket-sized text-to-speech on the CPU, without Python (git version)"
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/kyutai-labs/pocket-tts'
9
license=('MIT')
10
depends=('glibc' 'libgcc' 'libstdc++')
11
makedepends=('git' 'cargo' 'cmake')
12
provides=('pocket-tts')
13
conflicts=('pocket-tts')
14
options=('!lto')
15
source=("pocket-tts::git+${url}.git")
16
sha256sums=('SKIP')
17
18
pkgver() {
19
cd pocket-tts
20
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
21
}
22
23
prepare() {
24
cd pocket-tts/rust
25
# Upstream builds x86_64 for x86-64-v3; the target CPU comes from
26
# RUSTFLAGS in makepkg.conf instead
27
rm .cargo/config.toml
28
export RUSTUP_TOOLCHAIN=stable
29
cargo fetch --locked --target host-tuple
30
}
31
32
build() {
33
cd pocket-tts/rust
34
export RUSTUP_TOOLCHAIN=stable
35
export CARGO_TARGET_DIR=target
36
cargo build --frozen --release
37
}
38
39
check() {
40
cd pocket-tts/rust
41
export RUSTUP_TOOLCHAIN=stable
42
export CARGO_TARGET_DIR=target
43
cargo test --frozen --release
44
}
45
46
package() {
47
cd pocket-tts
48
install -Dm755 rust/target/release/pocket-tts -t "${pkgdir}/usr/bin"
49
install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
50
install -Dm644 rust/README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
51
}
52
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-27 11:47:37 | Low | 1 |