Browse Source

cmus: Update from d93f9c3 to 2748d40

emacs-27
Tom Yan 6 years ago
committed by Leonid Plyushch
parent
commit
d1fd02c775
  1. 5
      packages/cmus/build.sh
  2. 11
      packages/cmus/misc.c.patch

5
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_DESCRIPTION="Small, fast and powerful console music player"
TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=2.8.0 TERMUX_PKG_VERSION=2.8.0
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=e575fe61ff6eb2dd7ea71e13790fb5df22534309cc3406144dede2a112db703d TERMUX_PKG_SHA256=e575fe61ff6eb2dd7ea71e13790fb5df22534309cc3406144dede2a112db703d
TERMUX_PKG_DEPENDS="libandroid-support, ncurses, pulseaudio, ffmpeg, libmad, opusfile" TERMUX_PKG_DEPENDS="libandroid-support, ncurses, pulseaudio, ffmpeg, libmad, opusfile, libflac, libvorbis"
TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/d93f9c39b9190b2bc5eb3a2816564bdca8e945b7.tar.gz TERMUX_PKG_SRCURL=https://github.com/cmus/cmus/archive/2748d40bb670558b523d5b47b4af442e82c7ffd2.tar.gz
TERMUX_PKG_BUILD_IN_SRC=yes TERMUX_PKG_BUILD_IN_SRC=yes
termux_step_pre_configure() { termux_step_pre_configure() {

11
packages/cmus/misc.c.patch

@ -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");
Loading…
Cancel
Save