Compare commits
No commits in common. "c8" and "c10s" have entirely different histories.
@ -1 +0,0 @@
|
|||||||
d6cf080d84c96ab0904fe7f74edadac7d77d47c3 SOURCES/alsa-utils-1.2.8.tar.bz2
|
|
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/alsa-utils-1.2.8.tar.bz2
|
/alsa-utils-1.*.tar.bz2
|
||||||
|
@ -1,8 +0,0 @@
|
|||||||
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*", GOTO="alsa_restore_go"
|
|
||||||
GOTO="alsa_restore_end"
|
|
||||||
|
|
||||||
LABEL="alsa_restore_go"
|
|
||||||
TEST!="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore /dev/$name"
|
|
||||||
TEST=="/etc/alsa/state-daemon.conf", RUN+="/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main nrestore /dev/$name"
|
|
||||||
|
|
||||||
LABEL="alsa_restore_end"
|
|
274
alsa-git.patch
Normal file
274
alsa-git.patch
Normal file
@ -0,0 +1,274 @@
|
|||||||
|
From f90124c73edd050b24961197a4abcf17e53b41a8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
Date: Thu, 14 Nov 2024 09:38:49 +0100
|
||||||
|
Subject: [PATCH 1/4] alsactl: 90-alsa-restore.rules - fix alsa_restore_go/std
|
||||||
|
|
||||||
|
Fix the label mismatch which was introduced in the transition from the
|
||||||
|
temporary test rules.
|
||||||
|
|
||||||
|
Closes: https://github.com/alsa-project/alsa-utils/issues/280
|
||||||
|
Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")
|
||||||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
---
|
||||||
|
alsactl/90-alsa-restore.rules.in | 4 +++-
|
||||||
|
1 file changed, 3 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/alsactl/90-alsa-restore.rules.in b/alsactl/90-alsa-restore.rules.in
|
||||||
|
index 85f0b15..dae2ed8 100644
|
||||||
|
--- a/alsactl/90-alsa-restore.rules.in
|
||||||
|
+++ b/alsactl/90-alsa-restore.rules.in
|
||||||
|
@@ -3,6 +3,8 @@
|
||||||
|
ACTION=="add", SUBSYSTEM=="sound", KERNEL=="controlC*", KERNELS!="card*",@extratest@ GOTO="alsa_restore_go"
|
||||||
|
GOTO="alsa_restore_end"
|
||||||
|
|
||||||
|
+LABEL="alsa_restore_go"
|
||||||
|
+
|
||||||
|
ENV{ALSA_CARD_NUMBER}="$attr{device/number}"
|
||||||
|
|
||||||
|
# mark HDA analog card; HDMI/DP card does not have capture devices
|
||||||
|
@@ -21,7 +23,7 @@ TEST!="/run/udev/alsa-hda-analog-card", GOTO="alsa_restore_std"
|
||||||
|
IMPORT{program}="/usr/bin/cat /run/udev/alsa-hda-analog-card"
|
||||||
|
ENV{ALSA_CARD_HDA_ANALOG}!="", ENV{ALSA_CARD_NUMBER}="$env{ALSA_CARD_HDA_ANALOG}"
|
||||||
|
|
||||||
|
-LABEL="alsa_restore_go"
|
||||||
|
+LABEL="alsa_restore_std"
|
||||||
|
TEST!="@daemonswitch@", RUN+="@sbindir@/alsactl@args@ restore $env{ALSA_CARD_NUMBER}"
|
||||||
|
TEST=="@daemonswitch@", RUN+="@sbindir@/alsactl@args@ nrestore $env{ALSA_CARD_NUMBER}"
|
||||||
|
|
||||||
|
--
|
||||||
|
2.47.0
|
||||||
|
|
||||||
|
|
||||||
|
From 6f7ce73159c02b726a6f0fe0acff961c95e337a8 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Aaron Ma <aaron.ma@canonical.com>
|
||||||
|
Date: Wed, 20 Nov 2024 15:55:02 +0800
|
||||||
|
Subject: [PATCH 2/4] alsactl: 90-alsa-restore.rules - fix AMD acp-pdm-mach
|
||||||
|
link
|
||||||
|
|
||||||
|
The link name of AMD ACP digital microphones driver acp-pdm-mach
|
||||||
|
is acp-dmic-codec. Fix it to make UCM initialize it again.
|
||||||
|
|
||||||
|
Closes: https://github.com/alsa-project/alsa-utils/pull/281
|
||||||
|
Fixes: 8116639 ("alsactl: 90-alsa-restore.rules - add support for AMD ACP digital microphone")
|
||||||
|
Signed-off-by: Aaron Ma <aaron.ma@canonical.com>
|
||||||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
---
|
||||||
|
alsactl/90-alsa-restore.rules.in | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/alsactl/90-alsa-restore.rules.in b/alsactl/90-alsa-restore.rules.in
|
||||||
|
index dae2ed8..5db6080 100644
|
||||||
|
--- a/alsactl/90-alsa-restore.rules.in
|
||||||
|
+++ b/alsactl/90-alsa-restore.rules.in
|
||||||
|
@@ -14,7 +14,7 @@ DRIVERS=="snd_hda_intel", TEST=="device/pcmC$env{ALSA_CARD_NUMBER}D0p", RUN+="/b
|
||||||
|
TEST=="device/device/acp3x-dmic-capture", GOTO="alsa_hda_analog"
|
||||||
|
TEST=="device/device/acp6x-dmic-capture", GOTO="alsa_hda_analog"
|
||||||
|
TEST=="device/device/acp63-dmic-capture", GOTO="alsa_hda_analog"
|
||||||
|
-TEST=="device/device/acp-pdm-dmic", GOTO="alsa_hda_analog"
|
||||||
|
+TEST=="device/device/acp-dmic-codec", GOTO="alsa_hda_analog"
|
||||||
|
GOTO="alsa_restore_std"
|
||||||
|
|
||||||
|
LABEL="alsa_hda_analog"
|
||||||
|
--
|
||||||
|
2.47.0
|
||||||
|
|
||||||
|
|
||||||
|
From d45a2be9eaba2bb75840ca7c19bccc4d6578270b Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
Date: Sun, 24 Nov 2024 20:02:51 +0100
|
||||||
|
Subject: [PATCH 3/4] amixer: fix unknown TVL sequence print
|
||||||
|
|
||||||
|
Closes: https://github.com/alsa-project/alsa-utils/issues/282
|
||||||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
---
|
||||||
|
amixer/amixer.c | 9 ++++++++-
|
||||||
|
1 file changed, 8 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/amixer/amixer.c b/amixer/amixer.c
|
||||||
|
index 8b8000b..07e9819 100644
|
||||||
|
--- a/amixer/amixer.c
|
||||||
|
+++ b/amixer/amixer.c
|
||||||
|
@@ -587,10 +587,17 @@ static void decode_tlv(unsigned int spaces, unsigned int *tlv, unsigned int tlv_
|
||||||
|
#endif
|
||||||
|
default:
|
||||||
|
printf("unk-%u-", type);
|
||||||
|
- while (size > 0) {
|
||||||
|
+ while (size > sizeof(unsigned int)) {
|
||||||
|
printf("0x%08x,", tlv[idx++]);
|
||||||
|
size -= sizeof(unsigned int);
|
||||||
|
}
|
||||||
|
+ if (size > 0) {
|
||||||
|
+ unsigned char *b = (void *)&tlv[idx];
|
||||||
|
+ while (size > 0) {
|
||||||
|
+ printf("E-0x%02x,", *b++);
|
||||||
|
+ size--;
|
||||||
|
+ }
|
||||||
|
+ }
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (lf)
|
||||||
|
--
|
||||||
|
2.47.0
|
||||||
|
|
||||||
|
|
||||||
|
From ec20f8e2eba6ea5ee3703a12dcda09896cbabe6a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
Date: Mon, 2 Dec 2024 11:11:52 +0100
|
||||||
|
Subject: [PATCH 4/4] Remove trailing spaces in man pages
|
||||||
|
|
||||||
|
Reported-by: Bjarni Ingi Gislason <bjarniig@simnet.is>
|
||||||
|
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
|
||||||
|
---
|
||||||
|
alsactl/alsactl.1 | 4 ++--
|
||||||
|
aplay/aplay.1 | 32 ++++++++++++++++----------------
|
||||||
|
seq/aplaymidi/arecordmidi.1 | 4 ++--
|
||||||
|
3 files changed, 20 insertions(+), 20 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/alsactl/alsactl.1 b/alsactl/alsactl.1
|
||||||
|
index 2a31a2f..29da65f 100644
|
||||||
|
--- a/alsactl/alsactl.1
|
||||||
|
+++ b/alsactl/alsactl.1
|
||||||
|
@@ -90,7 +90,7 @@ Note that the configuration hooks are evaluated.
|
||||||
|
.SH OPTIONS
|
||||||
|
|
||||||
|
.TP
|
||||||
|
-\fI\-h, \-\-help\fP
|
||||||
|
+\fI\-h, \-\-help\fP
|
||||||
|
Help: show available flags and commands.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
@@ -223,7 +223,7 @@ aplay(1),
|
||||||
|
alsactl_init(7)
|
||||||
|
\fP
|
||||||
|
|
||||||
|
-.SH BUGS
|
||||||
|
+.SH BUGS
|
||||||
|
None known.
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
diff --git a/aplay/aplay.1 b/aplay/aplay.1
|
||||||
|
index 3bba59d..83d359d 100644
|
||||||
|
--- a/aplay/aplay.1
|
||||||
|
+++ b/aplay/aplay.1
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
.TH APLAY 1 "1 January 2010"
|
||||||
|
.SH NAME
|
||||||
|
-arecord, aplay \- command\-line sound recorder and player for ALSA
|
||||||
|
+arecord, aplay \- command\-line sound recorder and player for ALSA
|
||||||
|
soundcard driver
|
||||||
|
.SH SYNOPSIS
|
||||||
|
\fBarecord\fP [\fIflags\fP] [filename]
|
||||||
|
@@ -84,41 +84,41 @@ A value of zero means infinity.
|
||||||
|
The default is zero, so if this options is omitted then the record/playback process will run until it is killed.
|
||||||
|
Either '-d' or '-s' option is available exclusively.
|
||||||
|
.TP
|
||||||
|
-\fI\-M, \-\-mmap\fP
|
||||||
|
+\fI\-M, \-\-mmap\fP
|
||||||
|
Use memory\-mapped (mmap) I/O mode for the audio stream.
|
||||||
|
If this option is not set, the read/write I/O mode will be used.
|
||||||
|
.TP
|
||||||
|
-\fI\-N, \-\-nonblock\fP
|
||||||
|
+\fI\-N, \-\-nonblock\fP
|
||||||
|
Open the audio device in non\-blocking mode. If the device is busy the program will exit immediately.
|
||||||
|
If this option is not set the program will block until the audio device is available again.
|
||||||
|
.TP
|
||||||
|
-\fI\-F, \-\-period\-time=#\fP
|
||||||
|
+\fI\-F, \-\-period\-time=#\fP
|
||||||
|
Distance between interrupts is # microseconds.
|
||||||
|
If no period time and no period size is given then a quarter of the buffer time is set.
|
||||||
|
.TP
|
||||||
|
-\fI\-B, \-\-buffer\-time=#\fP
|
||||||
|
+\fI\-B, \-\-buffer\-time=#\fP
|
||||||
|
Buffer duration is # microseconds
|
||||||
|
If no buffer time and no buffer size is given then the maximal allowed buffer time but not more than 500ms is set.
|
||||||
|
.TP
|
||||||
|
-\fI\-\-period\-size=#\fP
|
||||||
|
+\fI\-\-period\-size=#\fP
|
||||||
|
Distance between interrupts is # frames
|
||||||
|
If no period size and no period time is given then a quarter of the buffer size is set.
|
||||||
|
.TP
|
||||||
|
-\fI\-\-buffer\-size=#\fP
|
||||||
|
+\fI\-\-buffer\-size=#\fP
|
||||||
|
Buffer duration is # frames
|
||||||
|
If no buffer time and no buffer size is given then the maximal allowed buffer time but not more than 500ms is set.
|
||||||
|
.TP
|
||||||
|
-\fI\-A, \-\-avail\-min=#\fP
|
||||||
|
+\fI\-A, \-\-avail\-min=#\fP
|
||||||
|
Min available space for wakeup is # microseconds
|
||||||
|
.TP
|
||||||
|
-\fI\-R, \-\-start\-delay=#\fP
|
||||||
|
-Delay for automatic PCM start is # microseconds
|
||||||
|
+\fI\-R, \-\-start\-delay=#\fP
|
||||||
|
+Delay for automatic PCM start is # microseconds
|
||||||
|
(relative to buffer size if <= 0)
|
||||||
|
.TP
|
||||||
|
-\fI\-T, \-\-stop\-delay=#\fP
|
||||||
|
+\fI\-T, \-\-stop\-delay=#\fP
|
||||||
|
Delay for automatic PCM stop is # microseconds from xrun
|
||||||
|
.TP
|
||||||
|
-\fI\-v, \-\-verbose\fP
|
||||||
|
+\fI\-v, \-\-verbose\fP
|
||||||
|
Show PCM structure and setup.
|
||||||
|
This option is accumulative. The VU meter is displayed when this
|
||||||
|
is given twice or three times.
|
||||||
|
@@ -128,7 +128,7 @@ Specifies the VU\-meter type, either \fIstereo\fP or \fImono\fP.
|
||||||
|
The stereo VU\-meter is available only for 2\-channel stereo samples
|
||||||
|
with interleaved format.
|
||||||
|
.TP
|
||||||
|
-\fI\-I, \-\-separate\-channels\fP
|
||||||
|
+\fI\-I, \-\-separate\-channels\fP
|
||||||
|
One file for each channel. This option disables max\-file\-time
|
||||||
|
and use\-strftime, and ignores SIGUSR1. The stereo VU meter is
|
||||||
|
not available with separate channels.
|
||||||
|
@@ -212,7 +212,7 @@ Disables recovery attempts when errors (e.g. xrun) are encountered; the
|
||||||
|
aplay process instead aborts immediately.
|
||||||
|
|
||||||
|
.SH SIGNALS
|
||||||
|
-When recording, SIGINT, SIGTERM and SIGABRT will close the output
|
||||||
|
+When recording, SIGINT, SIGTERM and SIGABRT will close the output
|
||||||
|
file and exit. SIGUSR1 will close the output file, open a new one,
|
||||||
|
and continue recording. However, SIGUSR1 does not work with
|
||||||
|
\-\-separate\-channels.
|
||||||
|
@@ -222,7 +222,7 @@ and continue recording. However, SIGUSR1 does not work with
|
||||||
|
.TP
|
||||||
|
\fBaplay \-c 1 \-t raw \-r 22050 \-f mu_law foobar\fR
|
||||||
|
will play the raw file "foobar" as a
|
||||||
|
-22050\-Hz, mono, 8\-bit, Mu\-Law .au file.
|
||||||
|
+22050\-Hz, mono, 8\-bit, Mu\-Law .au file.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
\fBarecord \-d 10 \-f cd \-t wav \-D copy foobar.wav\fP
|
||||||
|
@@ -257,7 +257,7 @@ alsamixer(1),
|
||||||
|
amixer(1)
|
||||||
|
\fP
|
||||||
|
|
||||||
|
-.SH BUGS
|
||||||
|
+.SH BUGS
|
||||||
|
Note that .aiff files are not currently supported.
|
||||||
|
|
||||||
|
.SH AUTHOR
|
||||||
|
diff --git a/seq/aplaymidi/arecordmidi.1 b/seq/aplaymidi/arecordmidi.1
|
||||||
|
index 78b3a3a..585f2fc 100644
|
||||||
|
--- a/seq/aplaymidi/arecordmidi.1
|
||||||
|
+++ b/seq/aplaymidi/arecordmidi.1
|
||||||
|
@@ -66,7 +66,7 @@ will generate a "format 0" file.
|
||||||
|
.I \-m,\-\-metronome=client:port
|
||||||
|
Plays a metronome signal on the specified sequencer port.
|
||||||
|
|
||||||
|
-Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM2/GS/XG
|
||||||
|
+Metronome sounds are played on channel 10, MIDI notes 33 & 34 (GM2/GS/XG
|
||||||
|
metronome standard notes), with velocity 100 and duration 1.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
@@ -74,7 +74,7 @@ metronome standard notes), with velocity 100 and duration 1.
|
||||||
|
Sets the time signature for the MIDI file and metronome.
|
||||||
|
|
||||||
|
The time signature is specified as usual with two numbers, representing
|
||||||
|
-the numerator and denominator of the time signature as it would be
|
||||||
|
+the numerator and denominator of the time signature as it would be
|
||||||
|
notated. The denominator must be a power of two. Both numbers should be
|
||||||
|
separated by a colon. The time signature is 4:4 by default.
|
||||||
|
|
||||||
|
--
|
||||||
|
2.47.0
|
||||||
|
|
@ -12,4 +12,3 @@ Type=oneshot
|
|||||||
RemainAfterExit=true
|
RemainAfterExit=true
|
||||||
ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
|
ExecStart=-/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main restore
|
||||||
ExecStop=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
|
ExecStop=/sbin/alsactl -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf store
|
||||||
StandardOutput=syslog
|
|
@ -1,29 +1,24 @@
|
|||||||
%define baseversion 1.2.8
|
%define baseversion 1.2.13
|
||||||
#define fixversion .2
|
#define fixversion .2
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
%if 0%{?rhel}
|
|
||||||
%global _without_ucm 1
|
|
||||||
%global _without_topology 1
|
|
||||||
%endif
|
|
||||||
|
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
Summary: Advanced Linux Sound Architecture (ALSA) utilities
|
||||||
Name: alsa-utils
|
Name: alsa-utils
|
||||||
Version: %{baseversion}%{?fixversion}
|
Version: %{baseversion}%{?fixversion}
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2+
|
License: GPL-2.0-or-later
|
||||||
Group: Applications/Multimedia
|
URL: https://www.alsa-project.org/
|
||||||
URL: http://www.alsa-project.org/
|
Source: https://ftp.alsa-project.org/files/pub/utils/alsa-utils-%{version}.tar.bz2
|
||||||
Source: ftp://ftp.alsa-project.org/pub/utils/alsa-utils-%{version}.tar.bz2
|
#Patch1: alsa-utils-git.patch
|
||||||
Source4: alsaunmute
|
Source4: alsaunmute
|
||||||
Source5: alsaunmute.1
|
Source5: alsaunmute.1
|
||||||
Source10: alsa.rules
|
|
||||||
Source11: alsactl.conf
|
Source11: alsactl.conf
|
||||||
Source20: alsa-restore.service
|
Source20: alsa-restore.service
|
||||||
Source22: alsa-state.service
|
Source22: alsa-state.service
|
||||||
Patch1: alsa-git.patch
|
Patch1: alsa-git.patch
|
||||||
|
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
|
BuildRequires: autoconf automake libtool
|
||||||
BuildRequires: alsa-lib-devel >= %{baseversion}
|
BuildRequires: alsa-lib-devel >= %{baseversion}
|
||||||
BuildRequires: libsamplerate-devel
|
BuildRequires: libsamplerate-devel
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
@ -36,41 +31,31 @@ Requires(preun): systemd
|
|||||||
Requires(postun): systemd
|
Requires(postun): systemd
|
||||||
# use latest alsa-lib - the executables in this package requires latest API
|
# use latest alsa-lib - the executables in this package requires latest API
|
||||||
Requires: alsa-lib%{?_isa} >= %{baseversion}
|
Requires: alsa-lib%{?_isa} >= %{baseversion}
|
||||||
|
Requires: alsa-ucm >= %{baseversion}
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains command line utilities for the Advanced Linux Sound
|
This package contains command line utilities for the Advanced Linux Sound
|
||||||
Architecture (ALSA).
|
Architecture (ALSA).
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%package -n alsa-ucm-utils
|
%package -n alsa-ucm-utils
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
|
Summary: Advanced Linux Sound Architecture (ALSA) - Use Case Manager
|
||||||
Group: Applications/Multimedia
|
|
||||||
Requires: alsa-ucm >= %{baseversion}
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%description -n alsa-ucm-utils
|
%description -n alsa-ucm-utils
|
||||||
This package contains Use Case Manager tools for Advanced Linux Sound
|
This package contains Use Case Manager tools for Advanced Linux Sound
|
||||||
Architecture (ALSA) framework.
|
Architecture (ALSA) framework.
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%package -n alsa-topology-utils
|
%package -n alsa-topology-utils
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
Summary: Advanced Linux Sound Architecture (ALSA) - Topology
|
||||||
Group: Applications/Multimedia
|
|
||||||
Requires: alsa-topology >= %{baseversion}
|
Requires: alsa-topology >= %{baseversion}
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%description -n alsa-topology-utils
|
%description -n alsa-topology-utils
|
||||||
This package contains topology tools for Advanced Linux Sound
|
This package contains topology tools for Advanced Linux Sound
|
||||||
Architecture (ALSA) framework.
|
Architecture (ALSA) framework.
|
||||||
%endif
|
|
||||||
|
|
||||||
%package alsabat
|
%package alsabat
|
||||||
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
Summary: Advanced Linux Sound Architecture (ALSA) - Basic Audio Tester
|
||||||
Group: Applications/Multimedia
|
|
||||||
BuildRequires: fftw-devel
|
BuildRequires: fftw-devel
|
||||||
|
BuildRequires: make
|
||||||
|
|
||||||
%description alsabat
|
%description alsabat
|
||||||
This package contains tool for basic audio testing using Advanced Linux Sound
|
This package contains tool for basic audio testing using Advanced Linux Sound
|
||||||
@ -78,22 +63,26 @@ Architecture (ALSA) framework and Fast Fourier Transform library.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{version}
|
%setup -q -n %{name}-%{version}
|
||||||
%patch1 -p1 -b .alsa-git
|
%patch -P1 -p1 -b .alsa-git
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -vif
|
||||||
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
|
%configure CFLAGS="$RPM_OPT_FLAGS -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" --disable-alsaconf \
|
||||||
--with-udev-rules-dir=%{_prefix}/lib/udev/rules.d \
|
--with-udev-rules-dir=%{_prefix}/lib/udev/rules.d \
|
||||||
--with-systemdsystemunitdir=%{_unitdir}
|
--with-systemdsystemunitdir=%{_unitdir} \
|
||||||
|
--with-alsactl-udev-args="-E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=/lib/alsa/init/00main" \
|
||||||
|
--with-alsactl-udev-extra-test=""
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
cp %{SOURCE4} .
|
cp %{SOURCE4} .
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
%global alsacfgdir %{_prefix}/lib/alsa
|
||||||
|
|
||||||
make install DESTDIR=%{buildroot}
|
make install DESTDIR=%{buildroot}
|
||||||
%find_lang %{name}
|
%find_lang %{name}
|
||||||
|
|
||||||
# Install ALSA udev rules
|
# Install ALSA udev rules and services
|
||||||
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
mkdir -p %{buildroot}/%{_prefix}/lib/udev/rules.d
|
||||||
install -p -m 644 %{SOURCE10} %{buildroot}/%{_prefix}/lib/udev/rules.d/90-alsa-restore.rules
|
|
||||||
mkdir -p %{buildroot}/%{_unitdir}
|
mkdir -p %{buildroot}/%{_unitdir}
|
||||||
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
install -p -m 644 %{SOURCE20} %{buildroot}/%{_unitdir}/alsa-restore.service
|
||||||
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
install -p -m 644 %{SOURCE22} %{buildroot}/%{_unitdir}/alsa-state.service
|
||||||
@ -105,8 +94,8 @@ mkdir -p -m755 %{buildroot}/%{_mandir}/man1
|
|||||||
install -p -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1/alsaunmute.1
|
install -p -m 644 %{SOURCE5} %{buildroot}/%{_mandir}/man1/alsaunmute.1
|
||||||
|
|
||||||
# Move /usr/share/alsa/init to /usr/lib/alsa/init
|
# Move /usr/share/alsa/init to /usr/lib/alsa/init
|
||||||
mkdir -p -m 755 %{buildroot}/%{_prefix}/lib/alsa
|
mkdir -p -m 755 %{buildroot}%{alsacfgdir}
|
||||||
mv %{buildroot}%{_datadir}/alsa/init %{buildroot}/%{_prefix}/lib/alsa
|
mv %{buildroot}%{_datadir}/alsa/init %{buildroot}%{alsacfgdir}
|
||||||
|
|
||||||
# Link /usr/lib/alsa/init to /usr/share/alsa/init back
|
# Link /usr/lib/alsa/init to /usr/share/alsa/init back
|
||||||
ln -s ../../lib/alsa/init %{buildroot}%{_datadir}/alsa/init
|
ln -s ../../lib/alsa/init %{buildroot}%{_datadir}/alsa/init
|
||||||
@ -116,27 +105,17 @@ mkdir -p -m 755 %{buildroot}/etc/alsa
|
|||||||
install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
|
install -p -m 644 %{SOURCE11} %{buildroot}/etc/alsa
|
||||||
|
|
||||||
# Create /var/lib/alsa tree
|
# Create /var/lib/alsa tree
|
||||||
mkdir -p -m 755 %{buildroot}/var/lib/alsa
|
mkdir -p -m 755 %{buildroot}%{_sharedstatedir}/alsa
|
||||||
|
|
||||||
find %{buildroot} -name "*.la" -exec rm {} \;
|
find %{buildroot} -name "*.la" -exec rm {} \;
|
||||||
|
|
||||||
%if 0%{?_without_ucm:1}
|
|
||||||
rm %{buildroot}%{_bindir}/alsaucm
|
|
||||||
rm %{buildroot}%{_mandir}/man1/alsaucm.1
|
|
||||||
%endif
|
|
||||||
%if 0%{?_without_topology:1}
|
|
||||||
rm %{buildroot}%{_bindir}/alsatplg
|
|
||||||
rm %{buildroot}%{_mandir}/man1/alsatplg.1
|
|
||||||
rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc COPYING ChangeLog README.md TODO alsamixer/alsamixer.rc.example
|
%doc COPYING ChangeLog README.md TODO alsamixer/alsamixer.rc.example
|
||||||
%config /etc/alsa/*
|
%config /etc/alsa/*
|
||||||
%{_prefix}/lib/udev/rules.d/*
|
%{_prefix}/lib/udev/rules.d/*
|
||||||
%{_unitdir}/*
|
%{_unitdir}/*
|
||||||
%{_unitdir}/sound.target.wants/*
|
#{_unitdir}/sound.target.wants/*
|
||||||
%{_prefix}/lib/alsa/init/*
|
%{alsacfgdir}/init/*
|
||||||
%{_bindir}/aconnect
|
%{_bindir}/aconnect
|
||||||
%{_bindir}/alsaloop
|
%{_bindir}/alsaloop
|
||||||
%{_bindir}/alsamixer
|
%{_bindir}/alsamixer
|
||||||
@ -145,14 +124,19 @@ rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|||||||
%{_bindir}/amixer
|
%{_bindir}/amixer
|
||||||
%{_bindir}/aplay
|
%{_bindir}/aplay
|
||||||
%{_bindir}/aplaymidi
|
%{_bindir}/aplaymidi
|
||||||
|
%{_bindir}/aplaymidi2
|
||||||
%{_bindir}/arecord
|
%{_bindir}/arecord
|
||||||
%{_bindir}/arecordmidi
|
%{_bindir}/arecordmidi
|
||||||
|
%{_bindir}/arecordmidi2
|
||||||
%{_bindir}/aseqdump
|
%{_bindir}/aseqdump
|
||||||
%{_bindir}/aseqnet
|
%{_bindir}/aseqnet
|
||||||
|
%{_bindir}/aseqsend
|
||||||
%{_bindir}/axfer
|
%{_bindir}/axfer
|
||||||
%{_bindir}/iecset
|
%{_bindir}/iecset
|
||||||
%{_bindir}/speaker-test
|
%{_bindir}/speaker-test
|
||||||
|
%{_bindir}/nhlt-dmic-info
|
||||||
%{_sbindir}/*
|
%{_sbindir}/*
|
||||||
|
%exclude %{_sbindir}/alsabat-test.sh
|
||||||
%{_datadir}/alsa/
|
%{_datadir}/alsa/
|
||||||
%{_datadir}/sounds/*
|
%{_datadir}/sounds/*
|
||||||
%{_mandir}/man7/*
|
%{_mandir}/man7/*
|
||||||
@ -164,10 +148,13 @@ rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|||||||
%{_mandir}/man1/amixer.1.gz
|
%{_mandir}/man1/amixer.1.gz
|
||||||
%{_mandir}/man1/aplay.1.gz
|
%{_mandir}/man1/aplay.1.gz
|
||||||
%{_mandir}/man1/aplaymidi.1.gz
|
%{_mandir}/man1/aplaymidi.1.gz
|
||||||
|
%{_mandir}/man1/aplaymidi2.1.gz
|
||||||
%{_mandir}/man1/arecord.1.gz
|
%{_mandir}/man1/arecord.1.gz
|
||||||
%{_mandir}/man1/arecordmidi.1.gz
|
%{_mandir}/man1/arecordmidi.1.gz
|
||||||
|
%{_mandir}/man1/arecordmidi2.1.gz
|
||||||
%{_mandir}/man1/aseqdump.1.gz
|
%{_mandir}/man1/aseqdump.1.gz
|
||||||
%{_mandir}/man1/aseqnet.1.gz
|
%{_mandir}/man1/aseqnet.1.gz
|
||||||
|
%{_mandir}/man1/aseqsend.1.gz
|
||||||
%{_mandir}/man1/axfer.1.gz
|
%{_mandir}/man1/axfer.1.gz
|
||||||
%{_mandir}/man1/axfer-list.1.gz
|
%{_mandir}/man1/axfer-list.1.gz
|
||||||
%{_mandir}/man1/axfer-transfer.1.gz
|
%{_mandir}/man1/axfer-transfer.1.gz
|
||||||
@ -175,24 +162,21 @@ rm %{buildroot}%{_libdir}/alsa-topology/libalsatplg_module_*
|
|||||||
%{_mandir}/man1/speaker-test.1.gz
|
%{_mandir}/man1/speaker-test.1.gz
|
||||||
%{_mandir}/man1/aconnect.1.gz
|
%{_mandir}/man1/aconnect.1.gz
|
||||||
%{_mandir}/man1/alsa-info.sh.1.gz
|
%{_mandir}/man1/alsa-info.sh.1.gz
|
||||||
|
%{_mandir}/man1/nhlt-dmic-info.1.gz
|
||||||
|
|
||||||
%dir /etc/alsa/
|
%dir /etc/alsa/
|
||||||
%dir %{_prefix}/lib/alsa/
|
%dir %{alsacfgdir}/
|
||||||
%dir %{_prefix}/lib/alsa/init/
|
%dir %{alsacfgdir}/init/
|
||||||
%dir /var/lib/alsa/
|
%dir %{_sharedstatedir}/alsa/
|
||||||
|
|
||||||
%if 0%{!?_without_ucm:1}
|
|
||||||
%files -n alsa-ucm-utils
|
%files -n alsa-ucm-utils
|
||||||
%{_bindir}/alsaucm
|
%{_bindir}/alsaucm
|
||||||
%{_mandir}/man1/alsaucm.1.gz
|
%{_mandir}/man1/alsaucm.1.gz
|
||||||
%endif
|
|
||||||
|
|
||||||
%if 0%{!?_without_topology:1}
|
|
||||||
%files -n alsa-topology-utils
|
%files -n alsa-topology-utils
|
||||||
%{_bindir}/alsatplg
|
%{_bindir}/alsatplg
|
||||||
%{_mandir}/man1/alsatplg.1.gz
|
%{_mandir}/man1/alsatplg.1.gz
|
||||||
%{_libdir}/alsa-topology/libalsatplg_module_*
|
%{_libdir}/alsa-topology/libalsatplg_module_*
|
||||||
%endif
|
|
||||||
|
|
||||||
%files alsabat
|
%files alsabat
|
||||||
%{_bindir}/alsabat
|
%{_bindir}/alsabat
|
||||||
@ -210,8 +194,8 @@ fi
|
|||||||
if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
|
if [ -s /etc/alsa/asound.state -a ! -s /etc/asound.state ] ; then
|
||||||
mv /etc/alsa/asound.state /etc/asound.state
|
mv /etc/alsa/asound.state /etc/asound.state
|
||||||
fi
|
fi
|
||||||
if [ -s /etc/asound.state -a ! -s /var/lib/alsa/asound.state ] ; then
|
if [ -s /etc/asound.state -a ! -s %{_sharedstatedir}/alsa/asound.state ] ; then
|
||||||
mv /etc/asound.state /var/lib/alsa/asound.state
|
mv /etc/asound.state %{_sharedstatedir}/alsa/asound.state
|
||||||
fi
|
fi
|
||||||
%systemd_post alsa-state.service
|
%systemd_post alsa-state.service
|
||||||
|
|
||||||
@ -222,32 +206,131 @@ fi
|
|||||||
%systemd_postun_with_restart alsa-state.service
|
%systemd_postun_with_restart alsa-state.service
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Oct 25 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.8-1
|
* Sun Dec 8 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.13-1
|
||||||
- Updated to 1.2.8
|
* Updated to 1.2.13
|
||||||
- Do not build alsa-ucm-utils and alsa-topology-utils subpackages for RHEL
|
|
||||||
|
|
||||||
* Fri Jul 8 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7-1
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.2.12-2
|
||||||
- Updated to 1.2.7
|
- Bump release for October 2024 mass rebuild:
|
||||||
|
Resolves: RHEL-64018
|
||||||
|
|
||||||
* Mon Dec 20 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
|
* Thu Jul 4 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.12-1
|
||||||
- Updated to 1.2.6
|
* Updated to 1.2.12
|
||||||
|
|
||||||
* Mon Jun 14 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-3
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.2.11-2
|
||||||
- Updated to 1.2.5
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-2
|
* Mon Jan 29 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.11-1
|
||||||
- Updated to 1.2.4
|
* Updated to 1.2.11
|
||||||
- Apply fixes from recent upstream
|
|
||||||
|
|
||||||
* Mon Jun 8 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.3-1
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.10-3
|
||||||
- Updated to 1.2.3
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
* Fri Nov 15 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-2
|
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.10-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Sep 1 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.10-1
|
||||||
|
* Updated to 1.2.10
|
||||||
|
|
||||||
|
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.9-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Jun 6 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.9-3
|
||||||
|
* SPDX license
|
||||||
|
|
||||||
|
* Tue May 16 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.9-2
|
||||||
|
* Add nhlt-dmic-info utility
|
||||||
|
|
||||||
|
* Thu May 4 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.9-1
|
||||||
|
* Updated to 1.2.9
|
||||||
|
|
||||||
|
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Oct 24 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.8-1
|
||||||
|
* Updated to 1.2.8
|
||||||
|
|
||||||
|
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue May 31 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7-1
|
||||||
|
* Updated to 1.2.7
|
||||||
|
|
||||||
|
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Dec 6 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.6-1
|
||||||
|
* Updated to 1.2.6
|
||||||
|
|
||||||
|
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jun 14 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5.1-1
|
||||||
|
* Updated to 1.2.5.1
|
||||||
|
|
||||||
|
* Thu Jun 3 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-3
|
||||||
|
* Fixes for 1.2.5 (alsactl)
|
||||||
|
|
||||||
|
* Mon May 31 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-2
|
||||||
|
* Updated to 1.2.5
|
||||||
|
|
||||||
|
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-3
|
||||||
|
- Rebuilt for updated systemd-rpm-macros
|
||||||
|
See https://pagure.io/fesco/issue/2583.
|
||||||
|
|
||||||
|
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Oct 15 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.4-1
|
||||||
|
* Updated to 1.2.4
|
||||||
|
|
||||||
|
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-6
|
||||||
|
- Second attempt - Rebuilt for
|
||||||
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.3-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 3 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.3-4
|
||||||
|
* Fix the .spec (changelog0)
|
||||||
|
|
||||||
|
* Sun Jun 7 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.3-3
|
||||||
|
* Updated to 1.2.3
|
||||||
|
|
||||||
|
* Wed Feb 19 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.2-1
|
||||||
|
* Updated to 1.2.2
|
||||||
|
|
||||||
|
* Sun Feb 9 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.1-6
|
||||||
|
- UCM and topology fixes
|
||||||
|
|
||||||
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Nov 15 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-4
|
||||||
- Updated to 1.2.1
|
- Updated to 1.2.1
|
||||||
|
|
||||||
* Wed May 22 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.9-1
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 10 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.9-1
|
||||||
- Updated to 1.1.9
|
- Updated to 1.1.9
|
||||||
|
|
||||||
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||||
|
|
||||||
|
* Mon Jan 7 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.8-2
|
||||||
|
- Updated to 1.1.8
|
||||||
|
|
||||||
|
* Tue Oct 16 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.7-2
|
||||||
|
- Moved use case manager utility to alsa-ucm-utils
|
||||||
|
- Moved topology utility to alsa-topology-utils
|
||||||
|
- Updated to 1.1.7
|
||||||
|
|
||||||
|
* Fri Sep 07 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-5
|
||||||
|
- Added udev rules for PAZ00
|
||||||
|
|
||||||
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||||
|
|
||||||
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
|
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
|
||||||
- Updated to 1.1.6
|
- Updated to 1.1.6
|
||||||
|
|
6
gating.yaml
Normal file
6
gating.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
--- !Policy
|
||||||
|
product_versions:
|
||||||
|
- rhel-10
|
||||||
|
decision_context: osci_compose_gate
|
||||||
|
rules:
|
||||||
|
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
1
sources
Normal file
1
sources
Normal file
@ -0,0 +1 @@
|
|||||||
|
SHA512 (alsa-utils-1.2.13.tar.bz2) = 0e2fb5b6e497b977badba2ebe2bddfc819654d24001622e0299e4034210caeeea2f3c2c2d1d260a48caefb6584e0b989fdb7036c6012108c8c38d89b3cb04c78
|
28
tests/run_tests.sh
Executable file
28
tests/run_tests.sh
Executable file
@ -0,0 +1,28 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
# is alsactl present and working?
|
||||||
|
alsactl --version
|
||||||
|
|
||||||
|
# is amixer present and working?
|
||||||
|
amixer --help
|
||||||
|
|
||||||
|
# is alsamixer present and working?
|
||||||
|
alsamixer --version
|
||||||
|
|
||||||
|
# is amidi present and working?
|
||||||
|
amidi --version
|
||||||
|
|
||||||
|
# is speaker-test preset and working?
|
||||||
|
speaker-test -h
|
||||||
|
|
||||||
|
# aplay test (like for alsa-lib)
|
||||||
|
str=$(aplay -L | grep -E "^null$")
|
||||||
|
if [ "$str" != "null" ]; then
|
||||||
|
echo "The 'null' pcm plugin was not found!"
|
||||||
|
exit 99
|
||||||
|
fi
|
||||||
|
|
||||||
|
# alsa-info.sh present and working?
|
||||||
|
alsa-info.sh --help
|
9
tests/tests.yml
Normal file
9
tests/tests.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
roles:
|
||||||
|
- role: standard-test-basic
|
||||||
|
tags:
|
||||||
|
- classic
|
||||||
|
tests:
|
||||||
|
- simple:
|
||||||
|
dir: .
|
||||||
|
run: ./run_tests.sh
|
Loading…
Reference in New Issue
Block a user