Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(noisetorch-bin): fix source #6943

Merged
merged 1 commit into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/noisetorch-bin/.SRCINFO
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pkgbase = noisetorch-bin
maintainer = Marie Piontek <[email protected]>
repology = project: noisetorch
repology = visiblename: noisetorch-bin
source = @noisetorch-bin~0.12.2::https://github.com/noisetorch/NoiseTorch/releases/download/v0.12.2/NoiseTorch_x64_v0.12.2.tgz
source = noisetorch-bin~0.12.2::https://github.com/noisetorch/NoiseTorch/releases/download/v0.12.2/NoiseTorch_x64_v0.12.2.tgz
source = noisetorch-pipewire.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pipewire.service?h=noisetorch-bin
source = noisetorch-pulse.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pulse.service?h=noisetorch-bin
sha256sums = aaa29e76736dc3432197e665f3c868496b5aca52183b67e5a0a1b8fa7913fe60
Expand Down
12 changes: 4 additions & 8 deletions packages/noisetorch-bin/noisetorch-bin.pacscript
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pkgver="0.12.2"
pkgdesc="Easy to use noise suppression for PulseAudio"
repology=("project: noisetorch" "visiblename: noisetorch-bin")
source=(
"@${pkgname}~${pkgver}::https://github.com/noisetorch/NoiseTorch/releases/download/v${pkgver}/NoiseTorch_x64_v${pkgver}.tgz"
"${pkgname}~${pkgver}::https://github.com/noisetorch/NoiseTorch/releases/download/v${pkgver}/NoiseTorch_x64_v${pkgver}.tgz"
"noisetorch-pipewire.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pipewire.service?h=noisetorch-bin"
"noisetorch-pulse.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pulse.service?h=noisetorch-bin"
)
Expand All @@ -19,17 +19,13 @@ breaks=("${gives}" "${gives}-deb" "${gives}-app" "${gives}-git")
depends=("policykit-1")

package() {
cd "${pkgname}~${pkgver}"
# Extract tgz
tar zxf NoiseTorch_x64_v"${pkgver}".tgz

# Get services from AUR and install
install -D -m644 noisetorch-{pulse,pipewire}.service -t "${pkgdir}/usr/lib/systemd/user/"

# Install the rest of the app
install -D -m755 "${srcdir}/.local/bin/noisetorch" "${pkgdir}/usr/bin/noisetorch"
install -D -m644 "${srcdir}/.local/share/applications/noisetorch.desktop" "${pkgdir}/usr/share/applications/noisetorch.desktop"
install -D -m755 ".local/bin/noisetorch" "${pkgdir}/usr/bin/noisetorch"
install -D -m644 ".local/share/applications/noisetorch.desktop" "${pkgdir}/usr/share/applications/noisetorch.desktop"

chmod +x "${pkgdir}/usr/bin/noisetorch"
install -D -m644 "${srcdir}/.local/share/icons/hicolor/256x256/apps/noisetorch.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
install -D -m644 ".local/share/icons/hicolor/256x256/apps/noisetorch.png" "${pkgdir}/usr/share/icons/hicolor/256x256/apps/noisetorch.png"
}
2 changes: 1 addition & 1 deletion srclist
Original file line number Diff line number Diff line change
Expand Up @@ -8389,7 +8389,7 @@ pkgbase = noisetorch-bin
maintainer = Marie Piontek <[email protected]>
repology = project: noisetorch
repology = visiblename: noisetorch-bin
source = @noisetorch-bin~0.12.2::https://github.com/noisetorch/NoiseTorch/releases/download/v0.12.2/NoiseTorch_x64_v0.12.2.tgz
source = noisetorch-bin~0.12.2::https://github.com/noisetorch/NoiseTorch/releases/download/v0.12.2/NoiseTorch_x64_v0.12.2.tgz
source = noisetorch-pipewire.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pipewire.service?h=noisetorch-bin
source = noisetorch-pulse.service::https://aur.archlinux.org/cgit/aur.git/plain/noisetorch-pulse.service?h=noisetorch-bin
sha256sums = aaa29e76736dc3432197e665f3c868496b5aca52183b67e5a0a1b8fa7913fe60
Expand Down
Loading