cmus: Update from d93f9c3 to 2748d40

This commit is contained in:
Tom Yan 2019-04-16 23:35:45 +08:00 committed by Leonid Pliushch
parent 65cf281038
commit af288a630e
2 changed files with 3 additions and 13 deletions

View File

@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://cmus.github.io/
TERMUX_PKG_DESCRIPTION="Small, fast and powerful console music player"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.8.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=e575fe61ff6eb2dd7ea71e13790fb5df22534309cc3406144dede2a112db703d
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, pulseaudio, ffmpeg, libmad, opusfile"
TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/d93f9c39b9190b2bc5eb3a2816564bdca8e945b7.tar.gz
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, pulseaudio, ffmpeg, libmad, opusfile, libflac, libvorbis"
TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/2748d40bb670558b523d5b47b4af442e82c7ffd2.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() {

View File

@ -1,11 +0,0 @@
--- ../cache/cmus-2.7.1/misc.c 2015-07-13 10:00:56.000000000 +0000
+++ ./misc.c 2018-01-15 00:32:11.534224662 +0000
@@ -194,7 +194,7 @@
if (user_name == NULL) {
user_name = get_non_empty_env("USERNAME");
if (user_name == NULL)
- die("error: neither USER or USERNAME environment variable set\n");
+ user_name == "Droid";
}
cmus_config_dir = get_non_empty_env("CMUS_HOME");