Github messages for voidlinux
 help / color / mirror / Atom feed
From: fanyx <fanyx@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: gonic-0.15.2
Date: Mon, 11 Sep 2023 13:53:58 +0200	[thread overview]
Message-ID: <20230911115358.JROyLD9O_aC5Ns75XHF4JzSObVKSofynfMxj0Gqa7Qo@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: 578 bytes --]

There is an updated pull request by fanyx against master on the void-packages repository

https://github.com/fanyx/void-packages gonic
https://github.com/void-linux/void-packages/pull/46013

New package: gonic-0.15.2
#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

Resolves #44353

A patch file from https://github.com/void-linux/void-packages/pull/46013.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-gonic-46013.patch --]
[-- Type: text/x-diff, Size: 2019 bytes --]

From c5777dd9ffc6867c18503fc5e4d00da8175f2034 Mon Sep 17 00:00:00 2001
From: fanyx <fanyx@posteo.net>
Date: Mon, 11 Sep 2023 11:49:57 +0200
Subject: [PATCH] New package: gonic-0.15.2

---
 srcpkgs/gonic/files/gonic/run |  8 ++++++++
 srcpkgs/gonic/template        | 28 ++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)
 create mode 100755 srcpkgs/gonic/files/gonic/run
 create mode 100644 srcpkgs/gonic/template

diff --git a/srcpkgs/gonic/files/gonic/run b/srcpkgs/gonic/files/gonic/run
new file mode 100755
index 0000000000000..2fbee9ac2dbcc
--- /dev/null
+++ b/srcpkgs/gonic/files/gonic/run
@@ -0,0 +1,8 @@
+#!/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
diff --git a/srcpkgs/gonic/template b/srcpkgs/gonic/template
new file mode 100644
index 0000000000000..da10137e22d02
--- /dev/null
+++ b/srcpkgs/gonic/template
@@ -0,0 +1,28 @@
+# 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="fanyx <fanyx@posteo.net>"
+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
+}

  parent reply	other threads:[~2023-09-11 11:53 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
2023-09-11 11:52 ` fanyx
2023-09-11 11:52 ` [PR PATCH] [Updated] " fanyx
2023-09-11 11:53 ` fanyx [this message]
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=20230911115358.JROyLD9O_aC5Ns75XHF4JzSObVKSofynfMxj0Gqa7Qo@z \
    --to=fanyx@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).