New package: NoiseTorch-0.11.4
This commit is contained in:
parent
8994f2fcee
commit
95215facf5
|
@ -0,0 +1,5 @@
|
|||
case "${ACTION}" in
|
||||
post)
|
||||
setcap 'CAP_SYS_RESOURCE=+ep' usr/bin/noisetorch
|
||||
;;
|
||||
esac
|
|
@ -0,0 +1,25 @@
|
|||
# Template file for 'NoiseTorch'
|
||||
pkgname=NoiseTorch
|
||||
version=0.11.4
|
||||
revision=1
|
||||
build_style=go
|
||||
go_ldflags="-X main.version=${version} -X main.distribution=VoidLinux"
|
||||
go_import_path="noisetorch"
|
||||
depends="libcap-progs"
|
||||
short_desc="Real-time microphone noise suppression on Linux"
|
||||
maintainer="Soc Virnyl S. Estela <renegan.ronin@gmail.com>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/lawl/NoiseTorch"
|
||||
distfiles="https://github.com/lawl/NoiseTorch/archive/${version}.tar.gz"
|
||||
checksum=3da6cad119ecca6f4e131c8bca86eb122d2363d5d30dcd1da41974af5887a3c1
|
||||
|
||||
pre_build() {
|
||||
make rnnoise
|
||||
GOARCH= go build scripts/embedlicenses.go
|
||||
./embedlicenses
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall assets/noisetorch.desktop 644 usr/share/applications
|
||||
vinstall assets/icon/noisetorch.png 644 usr/share/icons/hicolor/256x256/apps
|
||||
}
|
Loading…
Reference in New Issue