From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] [WIP] New package: snapcast-0.16.0
Date: Sun, 20 Oct 2019 08:16:12 +0200 [thread overview]
Message-ID: <20191020061612.Xl0KmD3X6x3ELecXS2mg8rB2O-5lDQS2tsX3_h7jkzM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-15614@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 418 bytes --]
There is an updated pull request by amak79 against master on the void-packages repository
https://github.com/amak79/void-packages snapcast
https://github.com/void-linux/void-packages/pull/15614
[WIP] New package: snapcast-0.16.0
This pull request is currently set to WIP because snapserver fails to build without boost 1.70.
A patch file from https://github.com/void-linux/void-packages/pull/15614.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-snapcast-15614.patch --]
[-- Type: text/x-diff, Size: 3933 bytes --]
From bb9d171f1b3247af0ee23538b1b5a6976d29b75a Mon Sep 17 00:00:00 2001
From: amak <amak.git@outlook.com>
Date: Sat, 19 Oct 2019 22:09:30 +1100
Subject: [PATCH] New package: snapcast-0.16.0
---
common/options.description | 1 +
srcpkgs/snapcast/files/snapclient/run | 4 +++
srcpkgs/snapcast/files/snapserver/run | 4 +++
srcpkgs/snapcast/template | 47 +++++++++++++++++++++++++++
srcpkgs/snapclient | 1 +
srcpkgs/snapserver | 1 +
6 files changed, 58 insertions(+)
create mode 100644 srcpkgs/snapcast/files/snapclient/run
create mode 100644 srcpkgs/snapcast/files/snapserver/run
create mode 100644 srcpkgs/snapcast/template
create mode 120000 srcpkgs/snapclient
create mode 120000 srcpkgs/snapserver
diff --git a/common/options.description b/common/options.description
index 5d34d2f4068..48f36a4e315 100644
--- a/common/options.description
+++ b/common/options.description
@@ -2,6 +2,7 @@ desc_option_aalib="Enable support for aalib video output"
desc_option_acl="Enable support for ACLs and Extended Attributes"
desc_option_alsa="Enable support for ALSA"
desc_option_aom="Enable support for the AV1 codec"
+desc_option_avahi="Enable support for Avahi"
desc_option_backtrace="Enable support for backtraces via libunwind"
desc_option_bluetooth="Enable support for bluetooth"
desc_option_cdparanoia="Enable support for CD audio (cdparanoia)"
diff --git a/srcpkgs/snapcast/files/snapclient/run b/srcpkgs/snapcast/files/snapclient/run
new file mode 100644
index 00000000000..dc94a759487
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapclient/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+
+exec chpst -u snapclient:audio snapclient ${OPTS}
diff --git a/srcpkgs/snapcast/files/snapserver/run b/srcpkgs/snapcast/files/snapserver/run
new file mode 100644
index 00000000000..763bf7f1a22
--- /dev/null
+++ b/srcpkgs/snapcast/files/snapserver/run
@@ -0,0 +1,4 @@
+#!/bin/sh
+[ -r conf ] && . ./conf
+
+exec chpst -u snapserver snapserver ${OPTS}
diff --git a/srcpkgs/snapcast/template b/srcpkgs/snapcast/template
new file mode 100644
index 00000000000..eb4f8270f47
--- /dev/null
+++ b/srcpkgs/snapcast/template
@@ -0,0 +1,47 @@
+# Template file for 'snapcast'
+pkgname=snapcast
+version=0.16.0
+revision=1
+build_style=cmake
+configure_args="-DBUILD_WITH_TREMOR=OFF -DBUILD_SERVER=OFF
+ -DBUILD_WITH_AVAHI=$(vopt_if avahi ON OFF)"
+hostmakedepends="pkg-config"
+makedepends="alsa-lib-devel boost-devel libflac-devel libvorbis-devel
+ $(vopt_if avahi avahi-libs-devel)"
+short_desc="Synchronous multi-room audio player"
+maintainer="amak <amak.git@outlook.com>"
+license="GPL-3.0-or-later"
+homepage="https://github.com/badaix/snapcast"
+distfiles="https://github.com/badaix/snapcast/archive/v${version}.tar.gz"
+checksum=a910dd3edd401ef085827a8880454ee48c5b9cd0d1412363fd22a128b4e06f6d
+
+build_options="avahi"
+
+post_install() {
+ vdoc README.md
+ vdoc doc/player_setup.md
+}
+
+snapclient_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - client files"
+ system_accounts="snapclient"
+ pkg_install() {
+ vmove /usr/bin/snapclient
+ vman client/snapclient.1
+ vsv snapclient
+ }
+}
+
+snapserver_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - server files"
+ system_accounts="snapserver"
+ snapserver_homedir="/var/lib/snapserver"
+ make_dirs="/var/lib/snapserver 0750 snapserver snapserver"
+ pkg_install() {
+# vmove /usr/bin/snapserver
+ vman server/snapserver.1
+ vsv snapserver
+ }
+}
diff --git a/srcpkgs/snapclient b/srcpkgs/snapclient
new file mode 120000
index 00000000000..f94c7e9814f
--- /dev/null
+++ b/srcpkgs/snapclient
@@ -0,0 +1 @@
+snapcast
\ No newline at end of file
diff --git a/srcpkgs/snapserver b/srcpkgs/snapserver
new file mode 120000
index 00000000000..f94c7e9814f
--- /dev/null
+++ b/srcpkgs/snapserver
@@ -0,0 +1 @@
+snapcast
\ No newline at end of file
next prev parent reply other threads:[~2019-10-20 6:16 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-19 11:23 [PR PATCH] " voidlinux-github
2019-10-19 11:38 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-19 11:38 ` voidlinux-github
2019-10-20 6:16 ` voidlinux-github [this message]
2019-10-20 6:16 ` voidlinux-github
2019-10-20 11:09 ` voidlinux-github
2019-10-20 11:09 ` voidlinux-github
2019-10-24 2:47 ` voidlinux-github
2019-10-24 2:47 ` voidlinux-github
2019-10-24 12:59 ` voidlinux-github
2019-10-24 12:59 ` voidlinux-github
2019-10-26 2:37 ` voidlinux-github
2019-10-26 2:37 ` voidlinux-github
2019-10-28 10:04 ` voidlinux-github
2019-10-28 10:04 ` voidlinux-github
2019-10-31 8:34 ` voidlinux-github
2019-10-31 8:34 ` voidlinux-github
2019-11-05 0:57 ` voidlinux-github
2019-12-27 1:33 ` [PR PATCH] [Updated] [WIP] New package: snapcast-0.17.1 voidlinux-github
2020-01-22 23:27 ` voidlinux-github
2020-01-22 23:36 ` voidlinux-github
2020-01-26 5:17 ` [PR PATCH] [Updated] [WIP] New package: snapcast-0.18.0 voidlinux-github
2020-01-28 23:28 ` [PR PATCH] [Updated] " voidlinux-github
2020-01-29 11:00 ` [PR PATCH] [Updated] New package: snapcast-0.18.1 voidlinux-github
2020-01-29 22:33 ` [PR PATCH] [Merged]: " voidlinux-github
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=20191020061612.Xl0KmD3X6x3ELecXS2mg8rB2O-5lDQS2tsX3_h7jkzM@z \
--to=voidlinux-github@inbox.vuxu.org \
--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).