Initial commit
This commit is contained in:
commit
a0e0b98bd0
1
.gear/rules
Normal file
1
.gear/rules
Normal file
@ -0,0 +1 @@
|
||||
tar: .
|
17
aqpro-mixer
Normal file
17
aqpro-mixer
Normal 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
32
aqpro-mixer.spec
Normal 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.
|
||||
|
Loading…
Reference in New Issue
Block a user