Initial commit

This commit is contained in:
Игорь Чудов 2022-10-21 15:52:03 +04:00
commit a0e0b98bd0
3 changed files with 50 additions and 0 deletions

1
.gear/rules Normal file
View File

@ -0,0 +1 @@
tar: .

17
aqpro-mixer Normal file
View File

@ -0,0 +1,17 @@
#!/bin/sh
main() {
CARD="'sysdefault:CARD=Audio'"
amixer -D $CARD cset iface=MIXER,name='Speaker Volume' 0,0
amixer -D $CARD cset iface=MIXER,name='Speaker Playback Switch' off,off
amixer -D $CARD cset iface=MIXER,name='Speaker ZC Switch' off,off
amixer -D $CARD cset iface=MIXER,name='Headphone Volume' 63,63
amixer -D $CARD cset iface=MIXER,name='Headphone Playback Switch' on,on
amixer -D $CARD cset iface=MIXER,name='Headphone ZC Switch' on,on
amixer -D $CARD cset iface=MIXER,name='Left Input Mixer L2 Switch' on
amixer -D $CARD cset iface=MIXER,name='Right Input Mixer R2 Switch' on
}
main

32
aqpro-mixer.spec Normal file
View File

@ -0,0 +1,32 @@
%define _unpackaged_files_terminate_build 1
Name: aqpro-mixer
Version: 0.1
Release: alt1
Summary: Aquarius Pro P30 K41 R53 mixer settings
License: %gpl3
Group: Other
BuildArch: x86_64
Requires: amixer
Source0: %name-%version.tar
%description
Aquarius Pro P30 K41 R53 mixer settings
%prep
setup -q
%install
install -m 0755 -o root -g root aqpro-mixer %_initdir/aqpro-mixer
chmod +x %_initdir/aqpro-mixer
%files
%_initdir/rc.d/aqpro-mixer
%changelog
* Fri Oct 21 2022 Igor Chudov <nir@altlinux.org> 0.1-alt1
- Initial release.