From d1fd02c7755e79a444ca5150d53418d485667aa0 Mon Sep 17 00:00:00 2001 From: Tom Yan Date: Tue, 16 Apr 2019 23:35:45 +0800 Subject: [PATCH] cmus: Update from d93f9c3 to 2748d40 --- packages/cmus/build.sh | 5 +++-- packages/cmus/misc.c.patch | 11 ----------- 2 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 packages/cmus/misc.c.patch diff --git a/packages/cmus/build.sh b/packages/cmus/build.sh index 8dc1b3010..3d3f28774 100644 --- a/packages/cmus/build.sh +++ b/packages/cmus/build.sh @@ -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() { diff --git a/packages/cmus/misc.c.patch b/packages/cmus/misc.c.patch deleted file mode 100644 index 68dfebca3..000000000 --- a/packages/cmus/misc.c.patch +++ /dev/null @@ -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");