new package: ncpamixer
This commit is contained in:
parent
960df30efd
commit
b7d51154ec
15
packages/ncpamixer/build.sh
Normal file
15
packages/ncpamixer/build.sh
Normal 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"
|
||||||
|
}
|
11
packages/ncpamixer/src-ui-tab.cpp.patch
Normal file
11
packages/ncpamixer/src-ui-tab.cpp.patch
Normal 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;
|
Loading…
Reference in New Issue
Block a user