* [ISSUE] Package request: sprec
@ 2024-08-07 20:57 Anachron
2024-08-09 10:34 ` Anachron
0 siblings, 1 reply; 2+ messages in thread
From: Anachron @ 2024-08-07 20:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
New issue by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/51716
Description:
### Package name
sprec
### Package homepage
https://git.sr.ht/~geb/sprec
### Description
sprec is a simple speech recognition command that can be used for transcription or automation.
It uses the Vosk speech recognition toolkit, which is FOSS and offline.
### Does the requested package meet the package requirements?
System, Compiled
### Is the requested package released?
Yes
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Package request: sprec
2024-08-07 20:57 [ISSUE] Package request: sprec Anachron
@ 2024-08-09 10:34 ` Anachron
0 siblings, 0 replies; 2+ messages in thread
From: Anachron @ 2024-08-09 10:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1102 bytes --]
New comment by Anachron on void-packages repository
https://github.com/void-linux/void-packages/issues/51716#issuecomment-2277652724
Comment:
Template:
```sh
# Template file for 'sprec'
pkgname=sprec
version=0.1
revision=1
build_style=go
go_import_path="git.sr.ht/~geb/sprec"
hostmakedepends="scdoc"
makedepends="vosk-api libgomp-devel"
short_desc="Simple speech recognition command for transcription or automation using vosk-api"
maintainer="Anachron <gith@cron.world>"
license="GPL-3.0-or-later"
homepage="https://git.sr.ht/~geb/sprec"
distfiles="https://git.sr.ht/~geb/sprec/archive/${version}.tar.gz"
checksum=085b7e0bd54ce79d7bb9b1f26cb72c6099264763a1b2c0743f15401b523aaae9
if [ "$XBPS_TARGET_LIBC" = musl ]; then
makedepends+=" libexecinfo-devel"
fi
pre_build() {
# for the vosk-api package (openblas)
export CGO_LDFLAGS="$CGO_LDFLAGS -fopenmp"
if [ "$XBPS_TARGET_LIBC" = musl ]; then
# for the vosk-api package (openfst)
export CGO_LDFLAGS="$CGO_LDFLAGS -lexecinfo"
fi
}
post_build() {
scdoc < doc/sprec.1.scd > sprec.1
vman sprec.1
}
```
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-08-09 10:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-07 20:57 [ISSUE] Package request: sprec Anachron
2024-08-09 10:34 ` Anachron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).