mirror of
https://github.com/termux/termux-packages
synced 2024-06-19 07:27:09 +00:00
bump(main/snapcast-server): 0.28.0
This commit is contained in:
parent
f6bb683a60
commit
35da150559
|
@ -2,16 +2,15 @@ TERMUX_PKG_HOMEPAGE=https://github.com/badaix/snapcast
|
||||||
TERMUX_PKG_DESCRIPTION="A multiroom client-server audio player (server)"
|
TERMUX_PKG_DESCRIPTION="A multiroom client-server audio player (server)"
|
||||||
TERMUX_PKG_LICENSE="GPL-3.0"
|
TERMUX_PKG_LICENSE="GPL-3.0"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=0.27.0
|
TERMUX_PKG_VERSION=0.28.0
|
||||||
TERMUX_PKG_REVISION=2
|
|
||||||
TERMUX_PKG_SRCURL=https://github.com/badaix/snapcast/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
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_DEPENDS="libc++, libexpat, libflac, libopus, libsoxr, libvorbis"
|
||||||
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
||||||
|
-DBoost_INCLUDE_DIR=$TERMUX_PREFIX/include
|
||||||
-DANDROID_NO_TERMUX=OFF
|
-DANDROID_NO_TERMUX=OFF
|
||||||
-DBUILD_TESTS=OFF
|
-DBUILD_TESTS=OFF
|
||||||
-DBoost_INCLUDE_DIR=$TERMUX_PREFIX/include
|
|
||||||
"
|
"
|
||||||
TERMUX_PKG_AUTO_UPDATE=true
|
TERMUX_PKG_AUTO_UPDATE=true
|
||||||
|
|
||||||
|
|
|
@ -23,12 +23,12 @@
|
||||||
"\n"
|
"\n"
|
||||||
"#\n"
|
"#\n"
|
||||||
"################################################</pre>"
|
"################################################</pre>"
|
||||||
@@ -241,7 +241,7 @@
|
@@ -282,7 +282,7 @@
|
||||||
|
|
||||||
if (settings_.doc_root.empty())
|
if (settings_.doc_root.empty())
|
||||||
{
|
{
|
||||||
- std::string default_page = "/usr/share/snapserver/index.html";
|
- static constexpr auto default_page = "/usr/share/snapserver/index.html";
|
||||||
+ std::string default_page = "@TERMUX_PREFIX@/share/snapserver/index.html";
|
+ static constexpr auto default_page = "@TERMUX_PREFIX@/share/snapserver/index.html";
|
||||||
struct stat buffer;
|
if (utils::file::exists(default_page))
|
||||||
if (stat(default_page.c_str(), &buffer) == 0)
|
|
||||||
path = default_page;
|
path = default_page;
|
||||||
|
else
|
||||||
|
|
|
@ -27,12 +27,12 @@
|
||||||
|
|
||||||
# Hostname or IP under which clients can reach this host
|
# Hostname or IP under which clients can reach this host
|
||||||
# used to serve cached cover art
|
# 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
|
# 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>
|
# meta: meta:///<name of source#1>/<name of source#2>/.../<name of source#N>?name=<name>
|
||||||
-source = pipe:///tmp/snapfifo?name=default
|
-source = pipe:///tmp/snapfifo?name=default
|
||||||
+source = pipe://@TERMUX_PREFIX@/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>
|
# Default sample format: <sample rate>:<bits per sample>:<channels>
|
||||||
|
#sampleformat = 48000:16:2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user