new package: ncpamixer

This commit is contained in:
Tee KOBAYASHI 2022-01-25 17:08:24 +09:00 committed by xtkoba
parent 960df30efd
commit b7d51154ec
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,15 @@
TERMUX_PKG_HOMEPAGE=https://github.com/fulhax/ncpamixer
TERMUX_PKG_DESCRIPTION="An ncurses mixer for PulseAudio"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_LICENSE_FILE="../LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.3.3.1
TERMUX_PKG_SRCURL=https://github.com/fulhax/ncpamixer/archive/refs/tags/${TERMUX_PKG_VERSION}.tar.gz
TERMUX_PKG_SHA256=b2c797a90c92aa931052c5ac89a79fbc30f76d5e2a5b773ef68edf057c34b060
TERMUX_PKG_DEPENDS="libc++, ncurses-ui-libs, pulseaudio"
TERMUX_PKG_BUILD_DEPENDS="libandroid-wordexp"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-DUSE_WIDE=ON"
termux_step_pre_configure() {
TERMUX_PKG_SRCDIR+="/src"
}

View File

@ -0,0 +1,11 @@
--- a/src/ui/tab.cpp
+++ b/src/ui/tab.cpp
@@ -419,7 +419,7 @@
}
}
- int toggle_len = 0;
+ int toggle_len __attribute__((__unused__)) = 0;
int item_len = 0;
unsigned int len = 0;
unsigned int sink_pos = 0;