mpd: use $PREFIX/var/run instead of $TMPDIR
See https://github.com/termux/termux-packages/issues/4206
This commit is contained in:
parent
3bc687b67c
commit
1314ee19f9
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://www.musicpd.org
|
||||
TERMUX_PKG_DESCRIPTION="Music player daemon"
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_VERSION=0.21.13
|
||||
TERMUX_PKG_REVISION=4
|
||||
TERMUX_PKG_REVISION=5
|
||||
TERMUX_PKG_SRCURL=https://github.com/MusicPlayerDaemon/MPD/archive/v$TERMUX_PKG_VERSION.tar.gz
|
||||
TERMUX_PKG_SHA256=0c71ff34aa4def30cd931977cbfe3deb6ec815a726b8c5343f1b8e5707136ebf
|
||||
TERMUX_PKG_DEPENDS="libc++, libcurl, libid3tag, libopus, libpulseaudio, libmpdclient, openal-soft, libvorbis, libsqlite, ffmpeg, libmp3lame, libbz2, libogg, libnfs, zlib"
|
||||
|
@ -69,7 +69,7 @@ diff -u -r ../MPD-0.21.3/doc/mpdconf.example ./doc/mpdconf.example
|
||||
#
|
||||
# And for Unix Socket
|
||||
-#bind_to_address "~/.mpd/socket"
|
||||
+bind_to_address "@TERMUX_PREFIX@/tmp/mpd.socket"
|
||||
+bind_to_address "@TERMUX_PREFIX@/var/run/mpd.socket"
|
||||
#
|
||||
# This setting is the TCP port that is desired for the daemon to get assigned
|
||||
-# to.
|
||||
@ -191,7 +191,7 @@ diff -u -r ../MPD-0.21.3/doc/mpdconf.example ./doc/mpdconf.example
|
||||
+audio_output {
|
||||
+ type "fifo"
|
||||
+ name "ncmpcpp visualizer"
|
||||
+ path "~/../usr/tmp/mpd.fifo"
|
||||
+ path "@TERMUX_PREFIX@/var/run/mpd.fifo"
|
||||
+ format "44100:16:2"
|
||||
+ enabled "no"
|
||||
+}
|
||||
|
@ -1,7 +1,6 @@
|
||||
diff -u -r ../MPD-0.21.3/src/fs/io/FileOutputStream.hxx ./src/fs/io/FileOutputStream.hxx
|
||||
--- ../MPD-0.21.3/src/fs/io/FileOutputStream.hxx 2018-11-16 12:27:58.000000000 +0000
|
||||
+++ ./src/fs/io/FileOutputStream.hxx 2018-12-31 01:08:58.577798371 +0000
|
||||
@@ -46,7 +46,7 @@
|
||||
--- ../FileOutputStream.hxx.orig 2019-08-24 20:56:41.969642005 +0200
|
||||
+++ ./src/fs/io/FileOutputStream.hxx 2019-08-12 21:47:53.854420002 +0200
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <windows.h>
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user