feat(mpdscribble): enable auto-update, upgrade to 0.24
Signed-off-by: Aditya Alok <dev.aditya.alok@gmail.com>
This commit is contained in:
parent
d373392beb
commit
8dee3fffba
@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.musicpd.org/clients/mpdscribble/
|
||||
TERMUX_PKG_DESCRIPTION="A Music Player Daemon (MPD) client which submits information about tracks being played to a scrobbler"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="Henrik Grimler @Grimler91"
|
||||
TERMUX_PKG_VERSION=0.23
|
||||
TERMUX_PKG_REVISION=6
|
||||
TERMUX_PKG_VERSION=0.24
|
||||
TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/mpdscribble/archive/v${TERMUX_PKG_VERSION}.tar.gz
|
||||
TERMUX_PKG_SHA256=8b3b79538fa9871ce61d7fb793d442c72b6aadf80af4c5eb664286f613d1feee
|
||||
TERMUX_PKG_SHA256=efd9dabc9850ff29412eaebd3377f107fe1f0fbc0e7967ee2d73d1967b375bf6
|
||||
TERMUX_PKG_DEPENDS="libcurl, libgcrypt, mpd, libmpdclient, glib"
|
||||
TERMUX_PKG_BUILD_DEPENDS="boost, boost-headers"
|
||||
TERMUX_PKG_CONFFILES="etc/mpdscribble.conf"
|
||||
@ -15,6 +14,8 @@ TERMUX_PKG_SERVICE_SCRIPT=(
|
||||
"mpdscribble" "if [ -f \"$TERMUX_ANDROID_HOME/.mpdscribble/mpdscribble.conf\" ]; then CONFIG=\"$TERMUX_ANDROID_HOME/.mpdscribble/mpdscribble.conf\"; else CONFIG=\"$TERMUX_PREFIX/etc/mpdscribble.conf\"; fi\nexec mpdscribble -D --log /proc/self/fd/1 --conf \$CONFIG"
|
||||
"mpdscribble/log" 'mkdir -p "$LOGDIR/sv/mpdscribble"\nexec svlogd "$LOGDIR/sv/mpdscribble"'
|
||||
)
|
||||
TERMUX_PKG_AUTO_UPDATE=true
|
||||
TERMUX_PKG_UPDATE_TAG_TYPE="newest-tag"
|
||||
|
||||
termux_step_pre_configure() {
|
||||
export BOOST_ROOT=$TERMUX_PREFIX
|
||||
|
@ -1,11 +1,11 @@
|
||||
--- a/src/ReadConfig.cxx 2018-11-23 13:05:51.749928637 +0100
|
||||
+++ b/src/ReadConfig.cxx 2018-11-23 13:07:24.143261299 +0100
|
||||
@@ -38,7 +38,7 @@
|
||||
--- ./ReadConfig.cxx.orig 2022-04-19 09:57:17.420911981 +0000
|
||||
+++ ./src/ReadConfig.cxx 2022-04-19 09:58:17.996804455 +0000
|
||||
@@ -47,7 +47,7 @@
|
||||
|
||||
#ifndef _WIN32
|
||||
|
||||
-#define FILE_CACHE "/var/cache/mpdscribble/mpdscribble.cache"
|
||||
+#define FILE_CACHE "@TERMUX_PREFIX@/var/cache/mpdscribble/mpdscribble.cache"
|
||||
#define FILE_HOME_CONF "~/.mpdscribble/mpdscribble.conf"
|
||||
#define FILE_HOME_CACHE "~/.mpdscribble/mpdscribble.cache"
|
||||
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user