From: Duncaen <Duncaen@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: gonic-0.15.2
Date: Mon, 11 Sep 2023 13:31:34 +0200 [thread overview]
Message-ID: <20230911113134.65WhAli0W5JvU1U1NL5EeRm2JCNaHGTyctlvhc5Svt0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46013@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
New comment by Duncaen on void-packages repository
https://github.com/void-linux/void-packages/pull/46013#issuecomment-1713696567
Comment:
```
# Template file for 'gonic'
pkgname=gonic
version=0.15.2
revision=1
build_style=go
go_import_path="go.senan.xyz/gonic"
go_package="${go_import_path}/cmd/gonic"
hostmakedepends="pkg-config"
makedepends="
alsa-lib-devel
sqlite-devel
taglib-devel"
depends="ffmpeg"
short_desc="Music streaming server / subsonic server API implementation"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://github.com/sentriz/gonic"
distfiles="https://github.com/sentriz/gonic/archive/v${version}.tar.gz"
checksum=f70580a3bf96b0e9144bfaae07d7f158fc7dc732eba240c191effb9c30d28edc
system_accounts="_gonic"
_gonic_homedir="/var/lib/gonic"
make_dirs="
/var/cache/gonic 755 _gonic _gonic
/var/db/gonic 755 _gonic _gonic
/var/lib/gonic/music 755 _gonic _gonic
/var/lib/gonic/podcast 755 _gonic _gonic"
post_install() {
vsv gonic
}
```
`srcpkgs/gonic/files/gonic/run`:
```
#!/bin/sh
[ -r ./conf ] && . ./conf
: ${GONIC_CACHE_PATH:=/var/cache/gonic}
: ${GONIC_DB_PATH:=/var/db/gonic/gonic.db}
: ${GONIC_MUSIC_PATH:=/var/lib/gonic/music}
: ${GONIC_PODCAST_PATH:=/var/lib/gonic/podcast}
export GONIC_CACHE_PATH GONIC_DB_PATH GONIC_MUSIC_PATH GONIC_PODCAST_PATH
exec chpst -u _gonic gonic $OPTS 2>&1
```
next prev parent reply other threads:[~2023-09-11 11:31 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-11 9:53 [PR PATCH] " fanyx
2023-09-11 9:56 ` [PR PATCH] [Updated] " fanyx
2023-09-11 9:57 ` fanyx
2023-09-11 9:59 ` fanyx
2023-09-11 10:03 ` fanyx
2023-09-11 11:31 ` Duncaen [this message]
2023-09-11 11:52 ` fanyx
2023-09-11 11:52 ` [PR PATCH] [Updated] " fanyx
2023-09-11 11:53 ` fanyx
2023-09-11 11:57 ` Duncaen
2023-09-11 11:58 ` Duncaen
2023-09-11 12:01 ` fanyx
2023-09-11 12:02 ` [PR PATCH] [Updated] " fanyx
2023-09-11 21:29 ` Anachron
2023-12-11 1:47 ` github-actions
2023-12-11 8:46 ` Anachron
2023-12-11 8:49 ` fanyx
2024-03-12 1:44 ` github-actions
2024-03-21 15:46 ` fanyx
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=20230911113134.65WhAli0W5JvU1U1NL5EeRm2JCNaHGTyctlvhc5Svt0@z \
--to=duncaen@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).