ports/contrib (3.4): ncpamixer: Initial commit
commit 4a1ab821e780fbd7e43d750be772c6501b3a2190 Author: Predrag Ivanović <predivan@mts.rs> Date: Sat Sep 8 01:58:34 2018 +0200 ncpamixer: Initial commit diff --git a/ncpamixer/.footprint b/ncpamixer/.footprint new file mode 100644 index 00000000..d127b55f --- /dev/null +++ b/ncpamixer/.footprint @@ -0,0 +1,7 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/ncpamixer +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/ncpamixer.1.gz diff --git a/ncpamixer/.signature b/ncpamixer/.signature new file mode 100644 index 00000000..b595f757 --- /dev/null +++ b/ncpamixer/.signature @@ -0,0 +1,6 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF38THHls3067GeJKr0CIeZB1WZ2Hzj+c4rstlcS+9cmME8ThIdjcXnPhiwjBIlFfPNnNzvTD/uFnISD7l4KvYKww= +SHA256 (Pkgfile) = edbf39b5cae07fc5e7bc6a701f6cf078388da66526f51d4f548f4000b3998892 +SHA256 (.footprint) = 9e08e0076af6c98e27353c88de914fbb4a9aea6dab1a365a9670e0e270aa3d25 +SHA256 (ncpamixer-1.2.tar.gz) = f7b043ad86ff856b4d9774ed34a0a82e88561ad19d6a24be34b311bd8ab23bb4 +SHA256 (ncpamixer.1) = b616e0707c75c6fd6162bd011baa37f7754946e5857f3ca814e5dab719bf358a diff --git a/ncpamixer/Pkgfile b/ncpamixer/Pkgfile new file mode 100644 index 00000000..f53fcc63 --- /dev/null +++ b/ncpamixer/Pkgfile @@ -0,0 +1,23 @@ +# Description: ncurses Pulseaudio mixer +# URL: https://github.com/fulhax/ncpamixer +# Maintainer: Pedja, predivan at mts dot rs +# Depends on: cmake ncurses pulseaudio + +name=ncpamixer +version=1.2 +release=1 +source=(https://github.com/fulhax/ncpamixer/archive/$version/$name-$version.tar.gz + $name.1) + +build() { + cd $name-$version + mkdir build + cd build + cmake \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_PREFIX=/usr ../src + make + make DESTDIR=$PKG install + + install -Dm644 $SRC/$name.1 $PKG/usr/share/man/man1/$name.1 +} diff --git a/ncpamixer/ncpamixer.1 b/ncpamixer/ncpamixer.1 new file mode 100644 index 00000000..9a310b8b --- /dev/null +++ b/ncpamixer/ncpamixer.1 @@ -0,0 +1,76 @@ +.TH ncurses PulseAudio Mixer +.PP +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 Default bindings +.TS +allbox; +l l l +l l l . +\fB\fCEvent\fR \fB\fCDefault\fR \fB\fC \fR +switch tab T{ +Cycle trought sinks, outputs, profile and ports +T} +select enter Select option in dropdowns +quit escape Quit +quit q Quit +dropdown c 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{ +Increase volume on selected item +T} +volume\_down h T{ +Decrease volume on selected item +T} +volume\_up arrow right T{ +Increase volume on selected item +T} +volume\_down arrow left 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% +.TE + +.SS License +.PP +MIT
participants (1)
-
crux@crux.nu