summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergey A2022-06-03 07:52:30 +0300
committerSergey A2022-06-03 07:52:30 +0300
commit25e025f125c1f38c5fa98915d9abda0ed588d2da (patch)
tree20e44c92114784bff9b9a5983c0ea73fa4bbf188
parent5193529aebac1cf2cafdd10e428a1b76bd837d68 (diff)
downloadaur-25e025f125c1f38c5fa98915d9abda0ed588d2da.tar.gz
update to 0.12.0 \o/
Fresh build after community security audit: https://github.com/noisetorch/NoiseTorch/discussions/275 Binaries are now properly built via Github Actions.
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD25
-rw-r--r--noisetorch-bin.install12
3 files changed, 26 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5c4e688ea59..3c2171e85831 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
pkgbase = noisetorch-bin
pkgdesc = Easy to use noise suppression for PulseAudio
- pkgver = 0.11.5
+ pkgver = 0.12.0
pkgrel = 1
- url = https://github.com/lawl/NoiseTorch
+ url = https://github.com/noisetorch/NoiseTorch
install = noisetorch-bin.install
arch = x86_64
license = GPL3
@@ -11,13 +11,13 @@ pkgbase = noisetorch-bin
conflicts = noisetorch-git
conflicts = noisetorch
options = !strip
- source = noisetorch-bin-0.11.5.tar.gz::https://github.com/lawl/NoiseTorch/releases/download/0.11.5/NoiseTorch_x64.tgz
+ source = noisetorch-bin-0.12.0.tar.gz::https://github.com/noisetorch/NoiseTorch/releases/download/v0.12.0/NoiseTorch_x64_v0.12.0.tgz
source = noisetorch-bin.install
source = noisetorch-pulse.service
source = noisetorch-pipewire.service
- sha256sums = c8105a576fbbf79622105228e957cec80a27bce9e5b9b224ef9dfe87fe82f97b
- sha256sums = 84359c186c870220eeb56e9750319bb0c334c1440dd0f974df9e21a4084f80a5
- sha256sums = bad2997f5eb4a9de50ce906187e4a34543c03b6803039bc79031ebee198b05bd
- sha256sums = 2dd8842ce40faf71ab5e87a96c3bf2a90e5e1a9118d5060b5b9b33abdfeded73
+ sha512sums = 3586cb96ed180f758374be220ecf22c4fbb09e7df6db7f146daddcfa811f21b92160b0dc46b4a620884885f40d85904898894e153cb719ce9cdce2cbd0a09468
+ sha512sums = dc16b78546d6e21810516af83dfe585b84b5d7cec08b492ca74af02b1f4eb375264ec575f3aeab04cc5b978f355fc684d3a3af2510e6001009f4cd5b1fd92a9d
+ sha512sums = 3a8eb6ebe21ebcd5a6ae190393d2a7b4e472370942d4233d771e18b8ac8357e0f194c5fa47aaab893ee04139606990f7ff019da620b1545303d71daa149b7c6e
+ sha512sums = 0b1e2d036282c46a458b411807edbeb3040273a6ca3c8b1e0c2f95e1522318aafd352e88d22ac907b5995fac347372f7e774dd4de4e4396944cc1134ec51c9dd
pkgname = noisetorch-bin
diff --git a/PKGBUILD b/PKGBUILD
index 24d7432a9691..7a82ece77e0d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,11 @@
-# Maintainer: Travis Collins <erbrecht at pobox dot com>
-# Co-maintainer: Sergey A. <murlakatamenka@disroot.org>
+# maintainer: Sergey A. <murlakatamenka@disroot.org>
pkgname=noisetorch-bin
-pkgver=0.11.5
+pkgver=0.12.0
pkgrel=1
pkgdesc='Easy to use noise suppression for PulseAudio'
arch=('x86_64')
-url="https://github.com/lawl/NoiseTorch"
+url="https://github.com/noisetorch/NoiseTorch"
license=('GPL3')
depends=('polkit')
provides=('noisetorch')
@@ -14,24 +13,26 @@ conflicts=('noisetorch-git' 'noisetorch')
options=(!strip)
install="${pkgname}.install"
source=(
- "${pkgname}-${pkgver}.tar.gz::https://github.com/lawl/NoiseTorch/releases/download/${pkgver/_/-}/NoiseTorch_x64.tgz"
+ "${pkgname}-${pkgver}.tar.gz::${url}/releases/download/v${pkgver}/NoiseTorch_x64_v${pkgver}.tgz"
"${pkgname}.install"
"noisetorch-pulse.service"
"noisetorch-pipewire.service"
)
-sha256sums=('c8105a576fbbf79622105228e957cec80a27bce9e5b9b224ef9dfe87fe82f97b'
- '84359c186c870220eeb56e9750319bb0c334c1440dd0f974df9e21a4084f80a5'
- 'bad2997f5eb4a9de50ce906187e4a34543c03b6803039bc79031ebee198b05bd'
- '2dd8842ce40faf71ab5e87a96c3bf2a90e5e1a9118d5060b5b9b33abdfeded73')
+sha512sums=('3586cb96ed180f758374be220ecf22c4fbb09e7df6db7f146daddcfa811f21b92160b0dc46b4a620884885f40d85904898894e153cb719ce9cdce2cbd0a09468'
+ 'dc16b78546d6e21810516af83dfe585b84b5d7cec08b492ca74af02b1f4eb375264ec575f3aeab04cc5b978f355fc684d3a3af2510e6001009f4cd5b1fd92a9d'
+ '3a8eb6ebe21ebcd5a6ae190393d2a7b4e472370942d4233d771e18b8ac8357e0f194c5fa47aaab893ee04139606990f7ff019da620b1545303d71daa149b7c6e'
+ '0b1e2d036282c46a458b411807edbeb3040273a6ca3c8b1e0c2f95e1522318aafd352e88d22ac907b5995fac347372f7e774dd4de4e4396944cc1134ec51c9dd')
package() {
install -D -m755 .local/bin/noisetorch "${pkgdir}/usr/bin/noisetorch"
+
+ # desktop entry
install -D -m644 .local/share/applications/noisetorch.desktop \
"${pkgdir}/usr/share/applications/noisetorch.desktop"
+ install -D -m644 .local/share/icons/hicolor/256x256/apps/noisetorch.png \
+ "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
+ # user service files
install -D -m644 noisetorch-{pulse,pipewire}.service \
-t "${pkgdir}/usr/lib/systemd/user/"
-
- install -D -m644 .local/share/icons/hicolor/256x256/apps/noisetorch.png \
- "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
}
diff --git a/noisetorch-bin.install b/noisetorch-bin.install
index b8a4231c011a..117d8a4fc1ca 100644
--- a/noisetorch-bin.install
+++ b/noisetorch-bin.install
@@ -1,11 +1,11 @@
post_install() {
- printf "NoiseTorch provides a self-update feature as part of the GUI.\n"
- printf "The feature won't work with this package.\n"
- printf "Don't attempt to update if prompted via the GUI\n"
- printf "See the project page for details.\n\n"
- printf "https://github.com/lawl/NoiseTorch\n\n"
+ setcap 'CAP_SYS_RESOURCE=+ep' usr/bin/noisetorch
+
+ # Disclaimer about a potential compromise of the source code
+ echo "NOTE: The original developer can not guarantee the security of the code of versions before 0.11.6. Additionally development has shifted to a new repository."
+ echo "The current codebase has been audited by the community, as can be seen here: https://github.com/noisetorch/NoiseTorch/discussions/275"
}
post_upgrade() {
- post_install
+ post_install "$1"
}