From: kawaiiamber <kawaiiamber@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: package request https://github.com/lawl/NoiseTorch
Date: Mon, 21 Jun 2021 05:03:56 +0200 [thread overview]
Message-ID: <20210621030356.xWsu4FRZQU5GcQbqiqN_MAZ6LNLO_a0eJu2m_R4WPAA@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-27677@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1384 bytes --]
New comment by kawaiiamber on void-packages repository
https://github.com/void-linux/void-packages/issues/27677#issuecomment-864688595
Comment:
> Hi,
>
> Here is a working template.
>
> ```
> # Template file for 'noisetorch'
> pkgname=noisetorch
> version=0.11.3
> revision=1
> archs="x86_64"
> wrksrc=NoiseTorch-${version}
> build_style=gnu-makefile
> hostmakedepends="go"
> depends="pulseaudio polkit"
> short_desc="Real-time microphone noise suppression on Linux"
> maintainer="Orphaned <orphan@voidlinux.org>"
> license="GPL-3.0-or-later"
> homepage="https://github.com/lawl/NoiseTorch"
> distfiles="https://github.com/lawl/NoiseTorch/archive/${version}.tar.gz"
> checksum=b67155211278affc72f15d0ded9da560524e7bb0659012f9d41e69b531b9265c
> nopie=yes
>
> do_install() {
> vbin bin/noisetorch
>
> vinstall assets/noisetorch.desktop 644 usr/share/applications
> vinstall assets/icon/noisetorch.png 644 usr/share/icons/hicolor/256x256/apps
> }
> ```
>
> And a companion `INSTALL` file.
>
> ```
> case "${ACTION}" in
> post)
> setcap CAP_SYS_RESOURCE=+ep usr/bin/noisetorch
> ;;
> esac
> ```
Why limit arch to `x86_64` only? What about `-musl` archs? `archs=x86_64*` to include musl archs. `pulseaudio` shouldn't be in depends - similar to the `jamulus` package, let the user decide to install pulseaudio or pipewire, for example.
next prev parent reply other threads:[~2021-06-21 3:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-05 4:09 [ISSUE] package request autoteelar
2021-01-09 14:42 ` package request https://github.com/lawl/NoiseTorch kawaiiamber
2021-01-19 21:39 ` ericonr
2021-01-21 4:16 ` kawaiiamber
2021-06-14 14:01 ` m4rcu5
2021-06-17 23:50 ` ReneganRonin
2021-06-18 16:15 ` m4rcu5
2021-06-21 3:03 ` kawaiiamber [this message]
2021-06-21 3:10 ` ReneganRonin
2021-06-21 3:12 ` ReneganRonin
2021-06-21 7:46 ` m4rcu5
2021-06-21 10:18 ` ReneganRonin
2021-11-10 2:12 ` rivanfebrian123
2021-11-11 8:29 ` uncomfyhalomacro
2021-11-14 6:52 ` ericonr
2021-11-22 2:55 ` [ISSUE] [CLOSED] " ericonr
2021-11-24 16:56 ` autoteelar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210621030356.xWsu4FRZQU5GcQbqiqN_MAZ6LNLO_a0eJu2m_R4WPAA@z \
--to=kawaiiamber@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).