mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
NoiseTorch: update to 0.12.2.
Closes: https://github.com/void-linux/void-packages/pull/43646
This commit is contained in:
parent
26b1e9fe73
commit
171ef3b41d
1 changed files with 22 additions and 5 deletions
|
@ -1,17 +1,34 @@
|
||||||
# Template file for 'NoiseTorch'
|
# Template file for 'NoiseTorch'
|
||||||
pkgname=NoiseTorch
|
pkgname=NoiseTorch
|
||||||
version=0.11.4
|
version=0.12.2
|
||||||
revision=1
|
revision=1
|
||||||
|
build_wrksrc="NoiseTorch-${version}"
|
||||||
build_style=go
|
build_style=go
|
||||||
go_ldflags="-X main.version=${version} -X main.distribution=VoidLinux"
|
go_ldflags="-X main.version=${version} -X main.distribution=VoidLinux"
|
||||||
go_import_path="noisetorch"
|
go_import_path="noisetorch"
|
||||||
depends="libcap-progs"
|
depends="libcap-progs"
|
||||||
short_desc="Real-time microphone noise suppression on Linux"
|
short_desc="Real-time microphone noise suppression on Linux"
|
||||||
maintainer="Soc Virnyl S. Estela <renegan.ronin@gmail.com>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="GPL-3.0-or-later"
|
license="GPL-3.0-or-later"
|
||||||
homepage="https://github.com/lawl/NoiseTorch"
|
homepage="https://github.com/NoiseTorch/NoiseTorch"
|
||||||
distfiles="https://github.com/lawl/NoiseTorch/archive/${version}.tar.gz"
|
_c_ringbuf_commit=2037560fb90dea5d2538611d983964d790bdbac2
|
||||||
checksum=3da6cad119ecca6f4e131c8bca86eb122d2363d5d30dcd1da41974af5887a3c1
|
_rnnoise_commit=1cbdbcf1283499bbb2230a6b0f126eb9b236defd
|
||||||
|
distfiles="https://github.com/NoiseTorch/NoiseTorch/archive/v${version}.tar.gz
|
||||||
|
https://github.com/NoiseTorch/c-ringbuf/archive/${_c_ringbuf_commit}.tar.gz
|
||||||
|
https://github.com/NoiseTorch/rnnoise/archive/${_rnnoise_commit}.tar.gz"
|
||||||
|
checksum="4a30650314a6f83d979f3303d49618847ba58e39e3e26482dfe58b5e261c5611
|
||||||
|
877b08413c59baac56b4cc7720fa56cf0eb399192a0ec652ce7b590c9cd9ad8a
|
||||||
|
68c7ab4e408426088603e19955e746bb2a412d84bb121b6f39834c60fc8068b7"
|
||||||
|
|
||||||
|
post_extract() {
|
||||||
|
rmdir "${build_wrksrc}/c/c-ringbuf" "${build_wrksrc}/c/rnnoise"
|
||||||
|
ln -rsf "c-ringbuf-${_c_ringbuf_commit}" "${build_wrksrc}/c/c-ringbuf"
|
||||||
|
ln -rsf "rnnoise-${_rnnoise_commit}" "${build_wrksrc}/c/rnnoise"
|
||||||
|
}
|
||||||
|
|
||||||
|
post_patch() {
|
||||||
|
vsed -e '/git submodule/d' -i Makefile
|
||||||
|
}
|
||||||
|
|
||||||
pre_build() {
|
pre_build() {
|
||||||
make rnnoise
|
make rnnoise
|
||||||
|
|
Loading…
Add table
Reference in a new issue