forked from pool/alsa-utils
converted link to branch
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/alsa-utils?expand=0&rev=15
This commit is contained in:
parent
1b23585635
commit
5ab48565a8
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6df349518b930714ca4664d8aaaf3ea949de1e33bcfd3df8ee7e0446b3c357a6
|
||||
size 1074700
|
3
alsa-utils-1.0.22.tar.bz2
Normal file
3
alsa-utils-1.0.22.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:95133815d2c1c11396d75951b4db253b8c3010ea4c352cfa9fcd7d122cbd8d13
|
||||
size 1075216
|
@ -1,74 +0,0 @@
|
||||
diff --git a/alsactl/init/default b/alsactl/init/default
|
||||
index 8653ec6..a2069e3 100644
|
||||
--- a/alsactl/init/default
|
||||
+++ b/alsactl/init/default
|
||||
@@ -39,7 +39,7 @@ CTL{reset}="mixer"
|
||||
CTL{name}="Front Playback Volume",PROGRAM!="__ctl_search",GOTO="front0_end"
|
||||
# if master volume control is present, turn front volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="front0_end"
|
||||
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="front0_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="front0_end"
|
||||
CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
|
||||
LABEL="front0_end"
|
||||
CTL{name}="Front Playback Switch",PROGRAM=="__ctl_search", \
|
||||
@@ -49,15 +49,30 @@ CTL{reset}="mixer"
|
||||
CTL{name}="Headphone Playback Volume",PROGRAM!="__ctl_search",GOTO="headphone0_end"
|
||||
# if master volume control is present, turn headphone volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end"
|
||||
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone0_end"
|
||||
CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
|
||||
LABEL="headphone0_end"
|
||||
CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \
|
||||
CTL{values}="on"
|
||||
|
||||
CTL{reset}="mixer"
|
||||
-CTL{name}="Speaker Playback Volume",PROGRAM=="__ctl_search", \
|
||||
- CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
|
||||
+CTL{name}="Headphone Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search",\
|
||||
+ GOTO="headphone1_end"
|
||||
+# if master volume control is present, turn headphone volume to max
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone1_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone1_end"
|
||||
+CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
|
||||
+LABEL="headphone1_end"
|
||||
+CTL{name}="Headphone Playback Switch",CTL{index}="1",PROGRAM=="__ctl_search", \
|
||||
+ CTL{values}="on"
|
||||
+
|
||||
+CTL{reset}="mixer"
|
||||
+CTL{name}="Sepaker Playback Volume",PROGRAM!="__ctl_search",GOTO="speaker0_end"
|
||||
+# if master volume control is present, turn speaker volume to max
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="speaker0_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="speaker0_end"
|
||||
+CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}"
|
||||
+LABEL="speaker0_end"
|
||||
CTL{name}="Speaker Playback Switch",PROGRAM=="__ctl_search", \
|
||||
CTL{values}="on"
|
||||
|
||||
@@ -72,7 +87,7 @@ CTL{name}="PCM Playback Volume",PROGRAM!="__ctl_search", \
|
||||
CTL{name}="PCM Volume",PROGRAM!="__ctl_search", GOTO="pcm0_end"
|
||||
# if master volume control is present, turn PCM volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm0_end"
|
||||
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm0_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm0_end"
|
||||
# exception - some HDA codecs have shifted dB range
|
||||
CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm0_end"
|
||||
CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm0_end"
|
||||
@@ -86,7 +101,7 @@ CTL{name}="PCM Playback Volume",CTL{index}="1",PROGRAM!="__ctl_search", \
|
||||
CTL{name}="PCM Volume",PROGRAM!="__ctl_search",GOTO="pcm1_end"
|
||||
# if master volume control is present, turn PCM volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="pcm1_end"
|
||||
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="pcm1_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="pcm1_end"
|
||||
# exception - some HDA codecs have shifted dB range
|
||||
CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="pcm1_end"
|
||||
CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="pcm1_end"
|
||||
@@ -125,7 +140,7 @@ CTL{reset}="mixer"
|
||||
CTL{name}="CD Playback Volume",PROGRAM!="__ctl_search", GOTO="cd0_end"
|
||||
# if master volume control is present, turn CD volume to max
|
||||
ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="cd0_end"
|
||||
-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="cd0_end"
|
||||
+ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="cd0_end"
|
||||
# exception - some HDA codecs have shifted dB range
|
||||
CTL{dBmin}=="-34.50dB",CTL{dBmax}=="12.00dB",CTL{values}="0dB",GOTO="cd0_end"
|
||||
CTL{dBmin}=="-30.00dB",CTL{dBmax}=="0dB",CTL{values}="0dB",GOTO="cd0_end"
|
@ -1,3 +1,14 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 17:37:24 CET 2009 - tiwai@suse.de
|
||||
|
||||
- set AUTOMAKE_JOBS for parallel automake
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Dec 18 17:20:34 CET 2009 - tiwai@suse.de
|
||||
|
||||
- updated to version 1.0.22:
|
||||
* including previous fixes
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 2 14:52:56 CEST 2009 - tiwai@suse.de
|
||||
|
||||
|
@ -20,17 +20,17 @@
|
||||
|
||||
Name: alsa-utils
|
||||
BuildRequires: alsa-devel ncurses-devel xmlto
|
||||
%define package_version 1.0.21
|
||||
License: GPL v2 or later
|
||||
%define package_version 1.0.22
|
||||
License: GPLv2+
|
||||
Group: Productivity/Multimedia/Sound/Players
|
||||
Provides: alsa-conf
|
||||
Requires: dialog pciutils
|
||||
AutoReqProv: on
|
||||
Summary: Advanced Linux Sound Architecture Utilities
|
||||
Version: 1.0.21
|
||||
Release: 2
|
||||
Release: 3
|
||||
Source: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
|
||||
Patch: alsa-utils-git-fixes.diff
|
||||
# Patch: alsa-utils-git-fixes.diff
|
||||
Patch1: alsa-utils-gettext-version-removal.diff
|
||||
# Patch2: alsa-utils-po-pre-patch.diff
|
||||
Url: http://www.alsa-project.org/
|
||||
@ -54,12 +54,13 @@ sed -i -e's/EXTRA_DIST= config.rpath /EXTRA_DIST=/' Makefile.am
|
||||
# fix po changes in tarball first
|
||||
# %patch2 -p1
|
||||
# rm -f po/Makefile* po/*.gmo po/*.pot po/*.header po/stamp-*
|
||||
%patch -p1
|
||||
# %patch -p1
|
||||
%if %suse_version < 1020
|
||||
%patch1 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export AUTOMAKE_JOBS=%{?jobs:%jobs}
|
||||
%if %suse_version < 1020
|
||||
gettextize -f
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user