SHA256
1
0
forked from pool/alsa-utils
OBS User unknown 2007-04-19 02:26:03 +00:00 committed by Git OBS Bridge
commit 13931999dd
7 changed files with 129 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:306bd7c4436c1c56a0a499317e23b5b58aea3718df17c138ab0df56fd9bf3e0c
size 981123

24
alsa-utils-hg-fixes.diff Normal file
View File

@ -0,0 +1,24 @@
diff -r fe0e2571e09c amixer/amixer.c
--- a/amixer/amixer.c Mon Jan 15 14:47:34 2007 +0100
+++ b/amixer/amixer.c Thu Apr 05 17:21:33 2007 +0200
@@ -534,6 +534,7 @@ static int show_control(const char *spac
snd_ctl_elem_id_t *id;
snd_ctl_elem_info_t *info;
snd_ctl_elem_value_t *control;
+ snd_aes_iec958_t iec958;
snd_ctl_elem_id_alloca(&id);
snd_ctl_elem_info_alloca(&info);
snd_ctl_elem_value_alloca(&control);
@@ -604,6 +605,12 @@ static int show_control(const char *spac
break;
case SND_CTL_ELEM_TYPE_BYTES:
printf("0x%02x", snd_ctl_elem_value_get_byte(control, idx));
+ break;
+ case SND_CTL_ELEM_TYPE_IEC958:
+ snd_ctl_elem_value_get_iec958(control, &iec958);
+ printf("[AES0=0x%02x AES1=0x%02x AES2=0x%02x AES3=0x%02x]",
+ iec958.status[0], iec958.status[1],
+ iec958.status[2], iec958.status[3]);
break;
default:
printf("?");

5
alsa-utils.changes Normal file
View File

@ -0,0 +1,5 @@
-------------------------------------------------------------------
Mon Apr 16 14:15:05 CEST 2007 - tiwai@suse.de
- split from alsa package

73
alsa-utils.spec Normal file
View File

@ -0,0 +1,73 @@
#
# spec file for package alsa-utils (Version 1.0.13)
#
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: alsa-utils
BuildRequires: alsa-devel ncurses-devel
%define package_version 1.0.14rc2
License: GNU General Public License (GPL)
Group: Productivity/Multimedia/Sound/Players
Provides: alsa-conf
Requires: dialog pciutils
Autoreqprov: on
Summary: Advanced Linux Sound Architecture Utilities
Version: 1.0.13
Release: 1
Source: ftp://ftp.alsa-project.org/pub/util/alsa-utils-%{package_version}.tar.bz2
Patch: alsa-utils-hg-fixes.diff
URL: http://www.alsa-project.org/
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains utility programs supporting ALSA, Advanced Linux
Sound Architecture.
Authors:
--------
Jaroslav Kysela <perex@suse.de>
Takashi Iwai <tiwai@suse.de>
%prep
%setup -n %{name}-%{package_version}
%patch -p1
mv alsamixer/README alsamixer/README-alsamixer
%{?suse_update_config:%{suse_update_config -f .}}
%build
autoreconf -fi
%configure --with-curses=ncursesw
make %{?jobs:-j %jobs}
%install
make DESTDIR=$RPM_BUILD_ROOT install
%clean
[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc COPYING ChangeLog INSTALL README TODO
%doc alsamixer/README*
%doc seq/aconnect/README*
%doc seq/aseqnet/README*
%doc %{_mandir}/man*/*
%doc %{_mandir}/fr
%{_bindir}/*
%{_sbindir}/*
%{_datadir}/sounds/alsa
%{_datadir}/alsa
%{_datadir}/locale/*/*/*
%changelog
* Mon Apr 16 2007 - tiwai@suse.de
- split from alsa package

0
ready Normal file
View File