bump(main/snapcast-server): 0.28.0

This commit is contained in:
tqfx 2024-04-23 19:35:03 +08:00 committed by Twaik Yont
parent f6bb683a60
commit 35da150559
3 changed files with 11 additions and 12 deletions

View File

@ -2,16 +2,15 @@ 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.27.0
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION=0.28.0
TERMUX_PKG_SRCURL=https://github.com/badaix/snapcast/archive/v${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=c662c6eafbaa42a4797a4ed6ba4a7602332abf99f6ba6ea88ff8ae59978a86ba
TERMUX_PKG_SHA256=7911037dd4b06fe98166db1d49a7cd83ccf131210d5aaad47507bfa0cfc31407
TERMUX_PKG_DEPENDS="libc++, libexpat, libflac, libopus, libsoxr, libvorbis"
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DBoost_INCLUDE_DIR=$TERMUX_PREFIX/include
-DANDROID_NO_TERMUX=OFF
-DBUILD_TESTS=OFF
-DBoost_INCLUDE_DIR=$TERMUX_PREFIX/include
"
TERMUX_PKG_AUTO_UPDATE=true

View File

@ -23,12 +23,12 @@
"\n"
"#\n"
"################################################</pre>"
@@ -241,7 +241,7 @@
@@ -282,7 +282,7 @@
if (settings_.doc_root.empty())
{
- std::string default_page = "/usr/share/snapserver/index.html";
+ std::string default_page = "@TERMUX_PREFIX@/share/snapserver/index.html";
struct stat buffer;
if (stat(default_page.c_str(), &buffer) == 0)
- static constexpr auto default_page = "/usr/share/snapserver/index.html";
+ static constexpr auto default_page = "@TERMUX_PREFIX@/share/snapserver/index.html";
if (utils::file::exists(default_page))
path = default_page;
else

View File

@ -27,12 +27,12 @@
# Hostname or IP under which clients can reach this host
# used to serve cached cover art
@@ -133,7 +133,7 @@
@@ -132,7 +132,7 @@
# tcp client: tcp://<server IP, e.g. 127.0.0.1>:<port>?name=<name>&mode=client
# alsa: alsa://?name=<name>&device=<alsa device>[&send_silence=false][&idle_threshold=100][&silence_threshold_percent=0.0]
# alsa: alsa:///?name=<name>&device=<alsa device>[&send_silence=false][&idle_threshold=100][&silence_threshold_percent=0.0]
# meta: meta:///<name of source#1>/<name of source#2>/.../<name of source#N>?name=<name>
-source = pipe:///tmp/snapfifo?name=default
+source = pipe://@TERMUX_PREFIX@/tmp/snapfifo?name=default
#source = tcp://127.0.0.1?name=mopidy_tcp
# Default sample format: <sample rate>:<bits per sample>:<channels>
#sampleformat = 48000:16:2