diff --git a/packages/snapcast-server/build.sh b/packages/snapcast-server/build.sh index c07c98643d776e3..60a9b61f18cd64d 100644 --- a/packages/snapcast-server/build.sh +++ b/packages/snapcast-server/build.sh @@ -2,9 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://github.com/badaix/snapcast TERMUX_PKG_DESCRIPTION="A multiroom client-server audio player (server)" TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="0.29.0" +TERMUX_PKG_VERSION="0.30.0" TERMUX_PKG_SRCURL=https://github.com/badaix/snapcast/archive/v${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=ecfb2c96a4920adc4121b1180b37bb86566c359914c14831c0abea4e65d23f92 +TERMUX_PKG_SHA256=c1e7f745275526a92b4797ca63bb5a8b8b558f8cb35c200e13097244db6c8a1c TERMUX_PKG_DEPENDS="libc++, libexpat, libflac, libopus, libsoxr, libvorbis" TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers" TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" diff --git a/packages/snapcast-server/server-etc-snapserver.conf.patch b/packages/snapcast-server/server-etc-snapserver.conf.patch index 28063d815fcf8a9..07ec73748b7896b 100644 --- a/packages/snapcast-server/server-etc-snapserver.conf.patch +++ b/packages/snapcast-server/server-etc-snapserver.conf.patch @@ -3,11 +3,11 @@ @@ -30,7 +30,7 @@ #threads = -1 - # the pid file when running as daemon + # the pid file when running as daemon (-d or --daemon) -#pidfile = /var/run/snapserver/pid +#pidfile = @TERMUX_PREFIX@/var/run/snapserver/pid - # the user to run as when daemonized + # the user to run as when daemonized (-d or --daemon) #user = snapserver @@ -39,7 +39,7 @@ @@ -16,9 +16,9 @@ -# - "/var/lib/snapserver/" when running as daemon +# - "@TERMUX_PREFIX@/var/lib/snapserver/" when running as daemon # - "$HOME/.config/snapserver/" when not running as daemon - #datadir = + #datadir = -@@ -65,7 +65,7 @@ +@@ -93,7 +93,7 @@ # serve a website from the doc_root location # disabled if commented or empty @@ -27,7 +27,7 @@ # Hostname or IP under which clients can reach this host # used to serve cached cover art -@@ -132,7 +132,7 @@ +@@ -164,7 +164,7 @@ # tcp client: tcp://:?name=&mode=client # alsa: alsa:///?name=&device=[&send_silence=false][&idle_threshold=100][&silence_threshold_percent=0.0] # meta: meta://///.../?name=