Skip to content

Instantly share code, notes, and snippets.

@kageurufu
Created November 12, 2020 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kageurufu/c3e5bba47c31eaf0154ed463ad7898b5 to your computer and use it in GitHub Desktop.
Save kageurufu/c3e5bba47c31eaf0154ed463ad7898b5 to your computer and use it in GitHub Desktop.
diff --git a/PKGBUILD b/PKGBUILD
index 0c85277..6b0b825 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer alx365
# Maintainer: Travis Collins <erbrecht at pobox dot com>
pkgname='noisetorch-git'
-pkgver=0.6.1.beta.r0.g371b3e3
+pkgver=0.8.2.r0.g39c1e37
pkgrel=1
pkgdesc='Real-time microphone noise suppression on Linux.'
arch=('x86_64')
@@ -19,7 +19,7 @@ source=('git+https://github.com/lawl/NoiseTorch.git'
sha256sums=('SKIP'
'SKIP'
'eb72a0bb2a89deac6cb4ddb35ed9385e744e7d47a90f8ffe904673d91c6611cd'
- '50f2bef107ee2f4836c9628d23324e5519c48343cc59b576ac550a8d7e71a001')
+ 'ef819815f40e16bdee2c99719d57fbb425c5da33bd00d3ccd28728f38a7e71c1')
pkgver() {
cd NoiseTorch
diff --git a/main.patch b/main.patch
index 5aa9218..391b90a 100644
--- a/main.patch
+++ b/main.patch
@@ -1,13 +1,15 @@
---- main.go 2020-08-03 09:32:34.857998898 -0400
-+++ main.go.1 2020-08-03 09:34:04.110953809 -0400
-@@ -63,10 +63,6 @@
- ui.config = readConfig()
- ui.librnnoise = rnnoisefile
+diff --git a/main.go b/main.go
+index b505df0..adcc323 100644
+--- a/main.go
++++ b/main.go
+@@ -151,10 +151,6 @@ func main() {
-- if ui.config.EnableUpdates {
-- go updateCheck(&ui)
+ }
+
+- if ctx.config.EnableUpdates {
+- go updateCheck(&ctx)
- }
-
- go paConnectionWatchdog(&ui)
+ go paConnectionWatchdog(&ctx)
wnd := nucular.NewMasterWindowSize(0, "NoiseTorch", image.Point{550, 300}, func(w *nucular.Window) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment