pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/snapcast snapcast: allow the web interface to be...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d4a28aea5c2b
branches: trunk
changeset: 381398:d4a28aea5c2b
user: nia <nia%pkgsrc.org@localhost>
date: Wed Jul 06 10:04:46 2022 +0000
description:
snapcast: allow the web interface to be used by setting reasonable default
config values for pkgsrc-based installations
diffstat:
audio/snapcast/Makefile | 5 +++--
audio/snapcast/distinfo | 4 ++--
audio/snapcast/patches/patch-server_etc_snapserver.conf | 11 ++++++++++-
3 files changed, 15 insertions(+), 5 deletions(-)
diffs (61 lines):
diff -r 16b441942907 -r d4a28aea5c2b audio/snapcast/Makefile
--- a/audio/snapcast/Makefile Wed Jul 06 10:02:13 2022 +0000
+++ b/audio/snapcast/Makefile Wed Jul 06 10:04:46 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.4 2022/07/06 10:02:13 nia Exp $
+# $NetBSD: Makefile,v 1.5 2022/07/06 10:04:46 nia Exp $
DISTNAME= snapcast-0.26.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GITHUB:=badaix/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -31,6 +31,7 @@
SUBST_FILES.etc+= server/server_settings.hpp
SUBST_FILES.etc+= server/snapserver.cpp
SUBST_FILES.etc+= server/snapserver.1
+SUBST_VARS.etc+= PREFIX
SUBST_VARS.etc+= PKG_SYSCONFDIR
SUBST_VARS.etc+= VARBASE
diff -r 16b441942907 -r d4a28aea5c2b audio/snapcast/distinfo
--- a/audio/snapcast/distinfo Wed Jul 06 10:02:13 2022 +0000
+++ b/audio/snapcast/distinfo Wed Jul 06 10:04:46 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2022/07/03 16:09:15 nia Exp $
+$NetBSD: distinfo,v 1.2 2022/07/06 10:04:46 nia Exp $
BLAKE2s (snapcast-0.26.0.tar.gz) = e0ef56ee25d30c8536158949c5e5f85b32a8c410303da939ef844bb3dc300012
SHA512 (snapcast-0.26.0.tar.gz) = fc7885e42a11794e33314544083251ffbb91a0cf160c6d4b854c56f57ffe9f38f75c7594478c9edabfe9076959938cd8de891dd456e66202692de664a75cde71
@@ -11,7 +11,7 @@
SHA1 (patch-client_snapclient.cpp) = d682d4c1de438251d1510d40387e9a0b2bcf926f
SHA1 (patch-common_utils.hpp) = 8184a65459accd76b55e8e9e95d1911439fb4d8a
SHA1 (patch-server_CMakeLists.txt) = 49144e902844bd3308871a625f5da56575904855
-SHA1 (patch-server_etc_snapserver.conf) = a740795aa764ffb5870a4d798518a0464ca3517b
+SHA1 (patch-server_etc_snapserver.conf) = f274e31ab54d76ea8ce839f5d2d918c111a80604
SHA1 (patch-server_server__settings.hpp) = 50950a4855ecc336dbec146b86935fa18942dc1d
SHA1 (patch-server_snapserver.1) = 3459c6109635d1ad72c1aee92e302088a2317007
SHA1 (patch-server_snapserver.cpp) = 62d5dcbfe369f9095e9b6c695680650f7eb458b6
diff -r 16b441942907 -r d4a28aea5c2b audio/snapcast/patches/patch-server_etc_snapserver.conf
--- a/audio/snapcast/patches/patch-server_etc_snapserver.conf Wed Jul 06 10:02:13 2022 +0000
+++ b/audio/snapcast/patches/patch-server_etc_snapserver.conf Wed Jul 06 10:04:46 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-server_etc_snapserver.conf,v 1.1 2022/07/03 16:09:15 nia Exp $
+$NetBSD: patch-server_etc_snapserver.conf,v 1.2 2022/07/06 10:04:46 nia Exp $
Don't hardcode various paths, allow pkgsrc to substitute them.
@@ -22,3 +22,12 @@
# - "$HOME/.config/snapserver/" when not running as daemon
#datadir =
+@@ -65,7 +65,7 @@
+
+ # serve a website from the doc_root location
+ # disabled if commented or empty
+-doc_root = /usr/share/snapserver/snapweb
++doc_root = @PREFIX@/share/snapserver/snapweb
+
+ # Hostname or IP under which clients can reach this host
+ # used to serve cached cover art
Home |
Main Index |
Thread Index |
Old Index