ncpamixer: 1.3.3.5 -> 1.3.7

This commit is contained in:
Tim Biermann 2023-09-13 17:49:59 +02:00
parent 4fb70f0c13
commit 6743a631d6
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 318 additions and 68 deletions

View File

@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF32LqYp1aQs7RmzvimauouRiAb1DlYEPliqiHrVucI88QCrDPUW59HECH8YqIy0iE/j6aC46+t0KfBeyEZyAjnQ4=
SHA256 (Pkgfile) = a51446c08801c4e9a008bfd21f9b500345e35d88e0529da2015999b2e6e6e660
RWSagIOpLGJF3y8DdVvTM29B1TmvGjGAHGgcKbSrvegalPwedTPltD7tQtrwnhwQSn2+1CSKVepYw4DLMjOojaFQ4G+hUNriagc=
SHA256 (Pkgfile) = c196c323eff06125078bd457ea27cab33c1635520b87cc456473b1c5660b3907
SHA256 (.footprint) = 9e08e0076af6c98e27353c88de914fbb4a9aea6dab1a365a9670e0e270aa3d25
SHA256 (ncpamixer-1.3.3.5.tar.gz) = 2f9cd3801acea6f1f5e93222b80940b5966790c51236b6ee3456e46d4b0269af
SHA256 (ncpamixer.1) = b616e0707c75c6fd6162bd011baa37f7754946e5857f3ca814e5dab719bf358a
SHA256 (ncpamixer-1.3.7.tar.gz) = 8a647b333875e117449fdfa3167ed50cfebe2c2254ae2618eaa5e64a5e5db3a6
SHA256 (ncpamixer.1) = 6871a5ed5cd2ecbb95ce1db6b17dfe683c597b004783d2065ce8e8154a1884c1

View File

@ -1,16 +1,19 @@
# Description: ncurses Pulseaudio mixer
# URL: https://github.com/fulhax/ncpamixer
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: cmake ncurses pulseaudio
# Depends on: pulseaudio
# Optional: git pandoc-bin
name=ncpamixer
version=1.3.3.5
version=1.3.7
release=1
source=(https://github.com/fulhax/ncpamixer/archive/$version/$name-$version.tar.gz
$name.1)
build() {
cmake -S $name-$version/src -B build -G Ninja \
prt-get isinst git pandoc-bin || PKGMK_NCPAMIXER+=' -D BUILD_MANPAGES=OFF'
cmake -S $name-$version/src -B build -G Ninja $PKGMK_NCPAMIXER \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
@ -18,5 +21,6 @@ build() {
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build
install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
prt-get isinst pandoc-bin || install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1
}

View File

@ -1,76 +1,322 @@
.TH ncurses PulseAudio Mixer
.PP
'\" t
.\" Automatically generated by Pandoc 3.1.8
.\"
.TH "NCPAMIXER" "1" "" "Version 1.3.5" "ncurses PulseAudio Mixer"
.SH NAME
\f[B]ncpamixer\f[R] \[em] An ncurses mixer for PulseAudio inspired by
pavucontrol.
.SH SYNOPSIS
\f[CR]ncpamixer\f[R] [-v] [-h] [-c CONFIG_FILE] [-t TAB]
.SH DESCRIPTION
An ncurses mixer for PulseAudio inspired by pavucontrol.
.SS Config
.PP
Your configuration gets created on first run. If \fB\fC$XDG\_CONFIG\_HOME\fR is defined then it will be created at \fB\fC$XDG\_CONFIG\_HOME/ncpamixer.conf\fR otherwise \fB\fC$HOME/.ncpamixer.conf\fR
.SS Custom colors? Why not!
.PP
ncpamixer supports 256 colors. You can change them in ncpamixer.conf
.SS Custom bindings? Sure!
.PP
You find them in ncpamixer.conf
.SS Options
.TP
\f[CR]-v, --version\f[R]
Print version info.
.TP
\f[CR]-h, --help\f[R]
Print this help screen.
.TP
\f[CR]-c, --config=CONFIG_FILE\f[R]
Set custom location for config.
.TP
\f[CR]-t, --tab=TAB\f[R]
Open on given tab.
Choices: (p)layback (default), (r)ecording, (o)utput, (i)nput,
(c)onfiguration.
.SH CONFIG
Your configuration gets created on first run.
If \f[CR]$XDG_CONFIG_HOME\f[R] is defined then it will be created at
\f[CR]$XDG_CONFIG_HOME/ncpamixer.conf\f[R] otherwise
\f[CR]$HOME/.ncpamixer.conf\f[R]
.SS Default bindings
.PP
.TS
allbox;
l l l
l l l .
\fB\fCEvent\fR \fB\fCDefault\fR \fB\fC \fR
switch tab T{
tab(@);
lw(23.3n) lw(23.3n) lw(23.3n).
T{
Event
T}@T{
Default
T}@T{
Description
T}
_
T{
switch
T}@T{
tab
T}@T{
Cycle trought sinks, outputs, profile and ports
T}
select enter Select option in dropdowns
quit escape Quit
quit q Quit
dropdown c T{
T{
select
T}@T{
enter
T}@T{
Select option in dropdowns
T}
T{
quit
T}@T{
escape
T}@T{
Quit
T}
T{
quit
T}@T{
q
T}@T{
Quit
T}
T{
dropdown
T}@T{
c
T}@T{
Open dropdown for selecting sinks, outputs, profile and ports
T}
mute m Mute selected item
set\_default d Set default sink/source
volume\_up l T{
T{
mute
T}@T{
m
T}@T{
Mute selected item
T}
T{
set_default
T}@T{
d
T}@T{
Set default sink/source
T}
T{
volume_up
T}@T{
l
T}@T{
Increase volume on selected item
T}
volume\_down h T{
T{
volume_down
T}@T{
h
T}@T{
Decrease volume on selected item
T}
volume\_up arrow right T{
T{
volume_up
T}@T{
arrow right
T}@T{
Increase volume on selected item
T}
volume\_down arrow left T{
T{
volume_down
T}@T{
arrow left
T}@T{
Decrease volume on selected item
T}
move\_up k Move up
move\_down j Move down
move\_up arrow up Move up
move\_down arrow down Move down
page\_up page up Previous page in dropdown
page\_down page down Next page in dropdown
tab\_next L Next tab
tab\_prev H Previous tab
tab\_playback F1 Jump to playback tab
tab\_recording F2 Jump to recording tab
tab\_output F3 Jump to output tab
tab\_input F4 Jump to input tab
tab\_config F5 Jump to configuration tab
move\_last G Move to last item
move\_first g Move to first item
set\_volume\_0 0 Set volume to 0%
set\_volume\_10 1 Set volume to 10%
set\_volume\_20 2 Set volume to 20%
set\_volume\_30 3 Set volume to 30%
set\_volume\_40 4 Set volume to 40%
set\_volume\_50 5 Set volume to 50%
set\_volume\_60 6 Set volume to 60%
set\_volume\_70 7 Set volume to 70%
set\_volume\_80 8 Set volume to 80%
set\_volume\_90 9 Set volume to 90%
set\_volume\_100 Unbound Set volume to 100%
T{
move_up
T}@T{
k
T}@T{
Move up
T}
T{
move_down
T}@T{
j
T}@T{
Move down
T}
T{
move_up
T}@T{
arrow up
T}@T{
Move up
T}
T{
move_down
T}@T{
arrow down
T}@T{
Move down
T}
T{
page_up
T}@T{
page up
T}@T{
Previous page in dropdown
T}
T{
page_down
T}@T{
page down
T}@T{
Next page in dropdown
T}
T{
tab_next
T}@T{
L
T}@T{
Next tab
T}
T{
tab_prev
T}@T{
H
T}@T{
Previous tab
T}
T{
tab_playback
T}@T{
F1
T}@T{
Jump to playback tab
T}
T{
tab_recording
T}@T{
F2
T}@T{
Jump to recording tab
T}
T{
tab_output
T}@T{
F3
T}@T{
Jump to output tab
T}
T{
tab_input
T}@T{
F4
T}@T{
Jump to input tab
T}
T{
tab_config
T}@T{
F5
T}@T{
Jump to configuration tab
T}
T{
move_last
T}@T{
G
T}@T{
Move to last item
T}
T{
move_first
T}@T{
g
T}@T{
Move to first item
T}
T{
set_volume_0
T}@T{
0
T}@T{
Set volume to 0%
T}
T{
set_volume_10
T}@T{
1
T}@T{
Set volume to 10%
T}
T{
set_volume_20
T}@T{
2
T}@T{
Set volume to 20%
T}
T{
set_volume_30
T}@T{
3
T}@T{
Set volume to 30%
T}
T{
set_volume_40
T}@T{
4
T}@T{
Set volume to 40%
T}
T{
set_volume_50
T}@T{
5
T}@T{
Set volume to 50%
T}
T{
set_volume_60
T}@T{
6
T}@T{
Set volume to 60%
T}
T{
set_volume_70
T}@T{
7
T}@T{
Set volume to 70%
T}
T{
set_volume_80
T}@T{
8
T}@T{
Set volume to 80%
T}
T{
set_volume_90
T}@T{
9
T}@T{
Set volume to 90%
T}
T{
help
T}@T{
?
T}@T{
Pop up help screen with keycodes
T}
T{
set_volume_100
T}@T{
Unbound
T}@T{
Set volume to 100%
T}
T{
toggle_static
T}@T{
Unbound
T}@T{
Toggle barmode static/none static
T}
.TE
.SS License
.PP
MIT
.SH BUGS
See GitHub Issues: <https://github.com/fulhax/ncpamixer/issues>
.SH AUTHOR
<https://github.com/c0r73x> and contributors