Compare commits

...
Sign in to create a new pull request.

64 commits

Author SHA1 Message Date
Dominik Mierzejewski
9927605505 Rebuilt for FFmpeg 8 2025-10-01 11:53:34 +02:00
Fedora Release Engineering
47c675eb8b Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild 2025-07-23 16:55:09 +00:00
Fedora Release Engineering
2ad7204c9a Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild 2025-01-16 10:54:22 +00:00
Fabio Valentini
2cebe39166
Rebuild for ffmpeg 7 2024-09-23 16:45:53 +02:00
Fedora Release Engineering
36290d6324 Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild 2024-07-17 16:52:50 +00:00
Jaroslav Kysela
2a044274ea Updated to 1.2.12
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2024-06-11 13:41:03 +02:00
Fedora Release Engineering
d6eaddf0d7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-22 22:56:18 +00:00
Fedora Release Engineering
274e99c7fa Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 12:45:03 +00:00
Yaakov Selkowitz
443ab57436 Disable avtp plugin in RHEL builds
This avoids the libavtp build dependency for a plugin that is not due to
be shipped in RHEL.
2023-08-25 00:25:09 -04:00
Fedora Release Engineering
fd88ccdb6d Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 13:09:44 +00:00
Jaroslav Kysela
1794a4347c update to SPDX licenses 2023-06-06 20:19:07 +02:00
Neal Gompa
ebbf01ca9c Rebuild for ffmpeg 6.0 2023-03-12 11:40:30 -04:00
Jaroslav Kysela
815faf58a9 fix typo in changelog 2023-03-07 17:23:48 +01:00
Jaroslav Kysela
c2a6e842a6 1.2.7.1-4 release 2023-03-07 11:30:43 +01:00
Jaroslav Kysela
4960e7e66a Do not build ffmpeg plugins for RHEL 2023-03-06 17:07:01 +01:00
Yaakov Selkowitz
113c4a7a2a Enable a52 and lavrate plugins
Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/5
2023-03-06 17:06:49 +01:00
Peter Robinson
004813eb8f Enable support for AVTP
Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/4
2023-03-06 17:06:34 +01:00
Jaroslav Kysela
2dd8d24116 Install alsa-utils in the run_tests.sh
The previous patch removed the hard alsa-utils dependency, so
the alsa-utils package must be installed manually.
2023-03-06 17:06:32 +01:00
Yaakov Selkowitz
77a574b655 Remove or soften excess dependencies
The alsa-utils dependencies were added to resolve directory ownership,
but the plugins do not require the utils.  Instead, just have the
plugins co-own /etc/alsa.

The hard requires on JACK and PulseAudio daemons (nowadays both provided
by PipeWire) are not strictly necessary, e.g. in flatpak builds where
the host instance is used over a socket connection.

Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/6
2023-03-06 17:05:52 +01:00
Fedora Release Engineering
cdeba9c078 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-18 21:37:46 +00:00
Fedora Release Engineering
72b3db12ec Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 20:41:04 +00:00
Jaroslav Kysela
a40cc5bfa9 updated to 1.2.7.1
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
2022-06-17 12:11:41 +02:00
Fedora Release Engineering
1bbea1628b - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 21:09:22 +00:00
Jaroslav Kysela
b145fad81d updated to 1.2.6 2021-12-06 13:37:45 +01:00
Fedora Release Engineering
e81a952900 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 17:28:20 +00:00
Fedora Release Engineering
c10788ff7f - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 12:32:55 +00:00
Jaroslav Kysela
f759f27446 fix spec file (add modernize line to changelog) 2021-05-30 10:20:32 +02:00
Jaroslav Kysela
cd50c48b4a updated to 1.2.5 2021-05-30 10:18:20 +02:00
Neal Gompa
8495dc43dd Modernize the spec file
- Use bconds for conditional build logic
- Use autosetup macro for unpacking + patch application
- Use standard macros for building and installing files
- Minor formatting fixups
- Stop installing license files as documentation
- Remove unnecessary scriptlets
2021-05-30 10:14:27 +02:00
Fedora Release Engineering
874eabbcff - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 00:00:44 +00:00
Rex Dieter
34f8d7dacf -pulseaudio: Requires: pulseaudio-daemon 2021-01-04 11:41:33 -06:00
Tom Stellard
0da4153b24 Add BuildRequires: make
https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot
2020-12-16 23:24:49 +00:00
Fedora Release Engineering
5ae51c83bb - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-31 23:55:53 +00:00
Fedora Release Engineering
64af59dd12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 11:57:27 +00:00
Jaroslav Kysela
688a0502e4 add simple tests 2020-03-03 10:57:43 +01:00
Jaroslav Kysela
b31e35e333 updated to 1.2.2 2020-02-19 13:27:28 +01:00
Fedora Release Engineering
f1c7a00d5a - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-28 11:27:42 +00:00
Jaroslav Kysela
51f4f651b4 correctly escape macro start in changelog 2019-11-13 21:44:03 +01:00
Jaroslav Kysela
ee58480d3b updated to 1.2.1 2019-11-13 16:59:51 +01:00
Gwyn Ciesla
bfaf0a02cd Macroize %{_sysconfdir} 2019-08-20 14:00:51 -05:00
Fedora Release Engineering
fed87f5be2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-24 17:47:49 +00:00
Jaroslav Kysela
fb10cdc15e updated to 1.1.9 2019-05-10 10:25:32 +02:00
Fedora Release Engineering
32ecc30f98 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 13:13:07 +00:00
Igor Gnatenko
d4fe1a07c3 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:23:55 +01:00
Jaroslav Kysela
603df8e564 updated to 1.1.8 2019-01-07 19:24:42 +01:00
Jaroslav Kysela
601dba6976 fixed some regressions (double free) 2018-10-24 12:46:04 +02:00
Jaroslav Kysela
8e316f03bf updated sources 2018-10-16 14:21:17 +02:00
Jaroslav Kysela
0b72f0af80 updated sources 2018-10-16 11:57:50 +02:00
Jaroslav Kysela
9907bd3b68 fix version 2018-10-16 11:53:59 +02:00
Jaroslav Kysela
6f99b96ed8 updated to 1.1.7 2018-10-16 11:51:49 +02:00
Fedora Release Engineering
3808a0af7c - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-12 20:09:37 +00:00
Jaroslav Kysela
2f36816dad fix another typo 10-speex.conf 2018-04-16 18:19:39 +02:00
Jaroslav Kysela
8bab1d91f2 plugin-config.patch: fix typo 2018-04-16 18:15:02 +02:00
Jaroslav Kysela
8cedb2d8f4 /etc/alsa/conf.d contains symlinks to /usr/share/alsa/alsa.conf.d templates 2018-04-16 18:04:48 +02:00
Jaroslav Kysela
a04c140570 add back 10-speexrate.conf 2018-04-05 18:08:41 +02:00
Jaroslav Kysela
eca0400e24 10-speex.conf was renamed to 60-speex.conf 2018-04-05 17:57:33 +02:00
Jaroslav Kysela
0311a22941 add missing autoconf/automake/libtool BuildRequires 2018-04-05 17:48:21 +02:00
Jaroslav Kysela
8f26d8b7ba add autoreconf (configure.ac updated) 2018-04-05 17:43:00 +02:00
Jaroslav Kysela
33cef9200a remove dead sources 2018-04-05 17:16:51 +02:00
Jaroslav Kysela
f98565a07d rpmlint fixes 2018-04-05 17:10:35 +02:00
Jaroslav Kysela
a8ca943501 changed the plugin config files 2018-04-05 16:55:25 +02:00
Jaroslav Kysela
498539259d changed the add-on config directory to /etc/alsa/conf.d 2018-04-04 11:00:27 +02:00
Jaroslav Kysela
406cbb8800 updated to 1.1.6 2018-04-03 19:40:30 +02:00
Ralf Corsépius
e68f9bd88c Let plugin packages own %{_libdir}/alsa-lib (RHBZ#1548865) 2018-04-03 19:39:17 +02:00
14 changed files with 2626 additions and 191 deletions

View file

@ -1,11 +0,0 @@
# samplerate plugin configuration
# $Id: samplerate.conf,v 1.2 2008/03/09 15:50:49 lkundrak Exp $
pcm.my_rate {
type rate
slave.pcm "hw"
converter "samplerate"
hint {
description "External rate converter"
}
}

View file

@ -1,11 +0,0 @@
# samplerate plugin configuration
# $Id$
pcm.my_rate {
type rate
slave.pcm "hw"
converter "speexrate"
hint {
description "Rate Converter Plugin Using Speex Resampler"
}
}

View file

@ -1,10 +0,0 @@
# arcam-av plugin configuration
# $Id$
ctl.arcam_av {
type arcam_av
port /dev/ttyS0
hint {
description "Arcam-AV Amplifier"
}
}

View file

@ -1,17 +0,0 @@
# The jack plugin configuration
# $Id: jack.conf,v 1.3 2008/03/19 20:01:04 emoret Exp $
pcm.jack {
type jack
playback_ports {
0 alsa_pcm:playback_1
1 alsa_pcm:playback_2
}
capture_ports {
0 alsa_pcm:capture_1
1 alsa_pcm:capture_2
}
hint {
description "JACK Audio Connection Kit"
}
}

View file

@ -1,9 +0,0 @@
# pcm-oss plugin configuration
pcm.oss {
type oss
device /dev/dsp
hint {
description "Open Sound System"
}
}

View file

@ -1,10 +0,0 @@
# upmix plugin configuration
# $Id: upmix.conf,v 1.2 2008/03/09 15:50:49 lkundrak Exp $
pcm.upmix51 {
type upmix
slave.pcm "surround51"
hint {
description "Upmixer channel expander"
}
}

View file

@ -1,18 +0,0 @@
# vdownmix plugin configuration
# $Id$
pcm.!surround51 {
type vdownmix
slave.pcm "default"
hint {
description "Downmixer to stereo from surround51"
}
}
pcm.!surround40 {
type vdownmix
slave.pcm "default"
hint {
description "Downmixer to stereo from surround40"
}
}

View file

@ -1,13 +0,0 @@
# PCM
pcm.!default {
type alsa_dsp
playback_device_file ["/dev/dsptask/pcm2"]
recording_device_file ["/dev/dsptask/pcm_rec"]
}
# Mixer
ctl.!default {
type dsp_ctl
playback_devices ["/dev/dsptask/pcm2"]
recording_devices ["/dev/dsptask/pcm_rec"]
}

0
alsa-git.patch Normal file
View file

View file

@ -1,28 +1,26 @@
%if 0%{?rhel} %if 0%{?rhel}
%define with_jack 0 %bcond_with avtp
%bcond_with jack
%bcond_with ffmpeg
%else %else
%define with_jack 1 %bcond_without avtp
%bcond_without jack
%bcond_without ffmpeg
%endif %endif
Name: alsa-plugins Name: alsa-plugins
Version: 1.1.5 Version: 1.2.12
Release: 2%{?dist} Release: 6%{?dist}
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+ # All packages are LGPL-2.1-or-later with the exception of samplerate
# pph plugin is BSD-like licensed # which is GPL-2.0-or-later, pph plugin is BSD-3-Clause licensed
License: GPLv2+ and LGPLv2+ and BSD License: GPL-2.0-or-later and LGPL-2.1-or-later and BSD-3-Clause
Group: System Environment/Libraries
URL: http://www.alsa-project.org/ URL: http://www.alsa-project.org/
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2 Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
Source1: 50-jack.conf Patch0: alsa-git.patch
Source2: 50-pcm-oss.conf
Source3: 10-speex.conf
Source4: 10-samplerate.conf
Source5: 50-upmix.conf
Source6: 97-vdownmix.conf
Source8: 50-arcamav.conf
Source9: 98-maemo.conf
BuildRequires: autoconf automake libtool
BuildRequires: make
BuildRequires: alsa-lib-devel BuildRequires: alsa-lib-devel
%description %description
@ -31,14 +29,13 @@ functionality to the Linux operating system.
This package includes plugins for ALSA. This package includes plugins for ALSA.
%if 0%{?with_jack} %if %{with jack}
%package jack %package jack
Requires: alsa-utils Recommends: jack-audio-connection-kit
Requires: jack-audio-connection-kit
BuildRequires: jack-audio-connection-kit-devel BuildRequires: jack-audio-connection-kit-devel
Summary: Jack PCM output plugin for ALSA Summary: Jack PCM output plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description jack %description jack
This plugin converts the ALSA API over JACK (Jack Audio Connection This plugin converts the ALSA API over JACK (Jack Audio Connection
Kit, http://jackit.sf.net) API. ALSA native applications can work Kit, http://jackit.sf.net) API. ALSA native applications can work
@ -47,11 +44,9 @@ This plugin provides the PCM type "jack"
%endif %endif
%package oss %package oss
Requires: alsa-utils
BuildRequires: alsa-lib-devel
Summary: Oss PCM output plugin for ALSA Summary: Oss PCM output plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description oss %description oss
This plugin converts the ALSA API over OSS API. With this plugin, This plugin converts the ALSA API over OSS API. With this plugin,
ALSA native apps can run on OSS drivers. ALSA native apps can run on OSS drivers.
@ -59,12 +54,11 @@ ALSA native apps can run on OSS drivers.
This plugin provides the PCM type "oss". This plugin provides the PCM type "oss".
%package pulseaudio %package pulseaudio
Requires: alsa-utils Recommends: pulseaudio-daemon
Requires: pulseaudio
BuildRequires: pulseaudio-libs-devel BuildRequires: pulseaudio-libs-devel
Summary: Alsa to PulseAudio backend Summary: Alsa to PulseAudio backend
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description pulseaudio %description pulseaudio
This plugin allows any program that uses the ALSA API to access a PulseAudio This plugin allows any program that uses the ALSA API to access a PulseAudio
sound daemon. In other words, native ALSA applications can play and record sound daemon. In other words, native ALSA applications can play and record
@ -72,32 +66,29 @@ sound across a network. There are two plugins in the suite, one for PCM and
one for mixer control. one for mixer control.
%package samplerate %package samplerate
Requires: alsa-utils
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
Summary: External rate converter plugin for ALSA Summary: External rate converter plugin for ALSA
Group: System Environment/Libraries License: GPL-2.0-or-later
License: GPLv2+
%description samplerate %description samplerate
This plugin is an external rate converter using libsamplerate by Erik de This plugin is an external rate converter using libsamplerate by Erik de
Castro Lopo. Castro Lopo.
%package upmix %package upmix
Requires: alsa-utils
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
Summary: Upmixer channel expander plugin for ALSA Summary: Upmixer channel expander plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description upmix %description upmix
The upmix plugin is an easy-to-use plugin for upmixing to 4 or The upmix plugin is an easy-to-use plugin for upmixing to 4 or
6-channel stream. The number of channels to be expanded is determined 6-channel stream. The number of channels to be expanded is determined
by the slave PCM or explicitly via channel option. by the slave PCM or explicitly via channel option.
%package vdownmix %package vdownmix
Requires: alsa-utils
BuildRequires: libsamplerate-devel BuildRequires: libsamplerate-devel
Summary: Downmixer to stereo plugin for ALSA Summary: Downmixer to stereo plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description vdownmix %description vdownmix
The vdownmix plugin is a downmixer from 4-6 channels to 2-channel The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
stereo headphone output. This plugin processes the input signals with stereo headphone output. This plugin processes the input signals with
@ -106,16 +97,16 @@ surround".
%package usbstream %package usbstream
Summary: USB stream plugin for ALSA Summary: USB stream plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description usbstream %description usbstream
The usbstream plugin is for snd-usb-us122l driver. It converts PCM The usbstream plugin is for snd-usb-us122l driver. It converts PCM
stream to USB specific stream. stream to USB specific stream.
%package arcamav %package arcamav
Summary: Arcam AV amplifier plugin for ALSA Summary: Arcam AV amplifier plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description arcamav %description arcamav
This plugin exposes the controls for an Arcam AV amplifier This plugin exposes the controls for an Arcam AV amplifier
(see: http://www.arcam.co.uk/) as an ALSA mixer device. (see: http://www.arcam.co.uk/) as an ALSA mixer device.
@ -124,86 +115,123 @@ This plugin exposes the controls for an Arcam AV amplifier
Requires: speex speexdsp Requires: speex speexdsp
BuildRequires: speex-devel speexdsp-devel BuildRequires: speex-devel speexdsp-devel
Summary: Rate Converter Plugin Using Speex Resampler Summary: Rate Converter Plugin Using Speex Resampler
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description speex %description speex
The rate plugin is an external rate converter using the Speex resampler The rate plugin is an external rate converter using the Speex resampler
(aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides (aka Public Parrot Hack) by Jean-Marc Valin. The pcm plugin provides
pre-processing of a mono stream like denoise using libspeex DSP API. pre-processing of a mono stream like denoise using libspeex DSP API.
%package maemo %package maemo
#BuildRequires: alsa-lib-devel = %{version}
BuildRequires: dbus-devel BuildRequires: dbus-devel
Summary: Maemo plugin for ALSA Summary: Maemo plugin for ALSA
Group: System Environment/Libraries License: LGPL-2.1-or-later
License: LGPLv2+
%description maemo %description maemo
This plugin converts the ALSA API over PCM task nodes protocol. In this way, This plugin converts the ALSA API over PCM task nodes protocol. In this way,
ALSA native applications can run over DSP Gateway and use DSP PCM task nodes. ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
%if %{with avtp}
%package avtp
BuildRequires: libavtp-devel
Summary: Audio Video Transport Protocol (AVTP) plugin for ALSA
License: LGPL-2.1-or-later
%description avtp
This plugin supports Audio Video Transport Protocol (AVTP) as specified in
IEEE 1722-2016 spec. AVTP is part of the Audio/Video Broadcast using TSN.
%endif
%if %{with ffmpeg}
%package a52
BuildRequires: ffmpeg-free-devel
Obsoletes: alsa-plugins-freeworld-a52 <= %{version}-%{release}
Summary: A52 output plugin for ALSA using libavcodec
License: LGPL-2.1-or-later
%description a52
This plugin converts S16 linear format to A52 compressed stream and
send to an SPDIF output. It requires libavcodec for encoding the
audio stream.
%package lavrate
BuildRequires: ffmpeg-free-devel
Obsoletes: alsa-plugins-freeworld-lavrate <= %{version}-%{release}
Summary: Rate converter plugin for ALSA using libavcodec
License: LGPL-2.1-or-later
%description lavrate
The plugin uses ffmpeg audio resample library to convert audio rates.
%endif
%prep %prep
%setup -q -n %{name}-%{version}%{?prever} %autosetup -n %{name}-%{version}%{?prever} -p1
%build %build
autoreconf -vif
%configure --disable-static \ %configure --disable-static \
--with-speex=lib \ --with-speex=lib \
--enable-maemo-plugin \ --enable-maemo-plugin \
--enable-maemo-resource-manager --enable-maemo-resource-manager
make %{?_smp_mflags} %make_build
%install %install
make install DESTDIR=$RPM_BUILD_ROOT %make_install
install -d ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d mv %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example \
%if 0%{?with_jack} %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
install -m 644 %SOURCE1 ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
%endif
install -m 644 %SOURCE2 \
%SOURCE3 \
%SOURCE4 \
%SOURCE5 \
%SOURCE6 \
%SOURCE8 \
%SOURCE9 \
${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
mv ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf.example \
${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \; find %{buildroot} -name "*.la" -delete
%post -p /sbin/ldconfig %if %{with jack}
%postun -p /sbin/ldconfig
%if 0%{?with_jack}
%files jack %files jack
%doc COPYING COPYING.GPL doc/README-jack %license COPYING COPYING.GPL
%doc doc/README-jack
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-jack.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-jack.conf %{_datadir}/alsa/alsa.conf.d/50-jack.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so %{_libdir}/alsa-lib/libasound_module_pcm_jack.so
%endif %endif
%files oss %files oss
%doc COPYING COPYING.GPL doc/README-pcm-oss %license COPYING COPYING.GPL
%doc doc/README-pcm-oss
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-oss.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pcm-oss.conf %{_datadir}/alsa/alsa.conf.d/50-oss.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so %{_libdir}/alsa-lib/libasound_module_ctl_oss.so
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so %{_libdir}/alsa-lib/libasound_module_pcm_oss.so
%files pulseaudio %files pulseaudio
%doc COPYING COPYING.GPL doc/README-pulse %license COPYING COPYING.GPL
%doc doc/README-pulse
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so %{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so %{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so %{_libdir}/alsa-lib/libasound_module_conf_pulse.so
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-pulseaudio.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
%files samplerate %files samplerate
%doc COPYING COPYING.GPL doc/samplerate.txt %license COPYING COPYING.GPL
%doc doc/samplerate.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-samplerate.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf %{_datadir}/alsa/alsa.conf.d/10-samplerate.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_rate_samplerate.so %{_libdir}/alsa-lib/libasound_module_rate_samplerate.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so %{_libdir}/alsa-lib/libasound_module_rate_samplerate_best.so
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so %{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
@ -211,45 +239,231 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so %{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
%files upmix %files upmix
%doc COPYING COPYING.GPL doc/upmix.txt %license COPYING COPYING.GPL
%doc doc/upmix.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-upmix.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-upmix.conf %{_datadir}/alsa/alsa.conf.d/60-upmix.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so %{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
%files vdownmix %files vdownmix
%doc COPYING COPYING.GPL doc/vdownmix.txt %license COPYING COPYING.GPL
%doc doc/vdownmix.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-vdownmix.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/97-vdownmix.conf %{_datadir}/alsa/alsa.conf.d/60-vdownmix.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so %{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
%files usbstream %files usbstream
%doc COPYING COPYING.GPL %license COPYING COPYING.GPL
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-usb-stream.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/98-usb-stream.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so %{_libdir}/alsa-lib/libasound_module_pcm_usb_stream.so
%files arcamav %files arcamav
%doc COPYING COPYING.GPL doc/README-arcam-av %license COPYING COPYING.GPL
%doc doc/README-arcam-av
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/50-arcam-av-ctl.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-arcamav.conf %{_datadir}/alsa/alsa.conf.d/50-arcam-av-ctl.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so %{_libdir}/alsa-lib/libasound_module_ctl_arcam_av.so
%files speex %files speex
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt %license COPYING COPYING.GPL
%doc doc/speexdsp.txt doc/speexrate.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-speexrate.conf
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-speex.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/10-speex.conf %{_datadir}/alsa/alsa.conf.d/10-speexrate.conf
%{_datadir}/alsa/alsa.conf.d/60-speex.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_speex.so %{_libdir}/alsa-lib/libasound_module_pcm_speex.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate.so %{_libdir}/alsa-lib/libasound_module_rate_speexrate.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so %{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so %{_libdir}/alsa-lib/libasound_module_rate_speexrate_medium.so
%files maemo %files maemo
%doc COPYING COPYING.GPL doc/README-maemo %license COPYING COPYING.GPL
%doc doc/README-maemo
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/98-maemo.conf
%dir %{_datadir}/alsa/alsa.conf.d %dir %{_datadir}/alsa/alsa.conf.d
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/98-maemo.conf %{_datadir}/alsa/alsa.conf.d/98-maemo.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so %{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so %{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
%if %{with avtp}
%files avtp
%license COPYING COPYING.GPL
%{_libdir}/alsa-lib/libasound_module_pcm_aaf.so
%endif
%if %{with ffmpeg}
%files a52
%license COPYING COPYING.GPL
%doc doc/a52.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/60-a52-encoder.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/60-a52-encoder.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_pcm_a52.so
%files lavrate
%license COPYING COPYING.GPL
%doc doc/lavrate.txt
%dir %{_sysconfdir}/alsa
%dir %{_sysconfdir}/alsa/conf.d
%config(noreplace) %{_sysconfdir}/alsa/conf.d/10-rate-lav.conf
%dir %{_datadir}/alsa/alsa.conf.d
%{_datadir}/alsa/alsa.conf.d/10-rate-lav.conf
%dir %{_libdir}/alsa-lib
%{_libdir}/alsa-lib/libasound_module_rate_lavrate.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_fast.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_faster.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_high.so
%{_libdir}/alsa-lib/libasound_module_rate_lavrate_higher.so
%endif
%changelog %changelog
* Wed Oct 01 2025 Dominik Mierzejewski <dominik@greysector.net> - 1.2.12-6
- Rebuilt for FFmpeg 8
* Wed Jul 23 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Thu Jan 16 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Mon Sep 23 2024 Fabio Valentini <decathorpe@gmail.com> - 1.2.12-3
- Rebuild for ffmpeg 7
* Wed Jul 17 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jun 11 2024 Jaroslav Kysela <perex@perex.cz> - 1.2.12-1
- Updated to 1.2.12
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Jan 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Fri Aug 25 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 1.2.7.1-8
- Disable avtp plugin in RHEL builds
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Jun 6 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-6
- change to SPDX licenses
* Sun Mar 12 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.2.7.1-5
- Rebuild for ffmpeg 6.0
* Mon Mar 6 2023 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-4
- Enable avtp plugin - Peter Robinson <pbrobinson@fedoraproject.org>
- Enable a52 and lavrate plugins - Yaakov Selkowitz <yselkowi@redhat.com>
- Remove or soften excess dependendencies - Yaakov Selkowitz <yselkowi@redhat.com>
- CI test & RHEL cleanups
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Wed Jul 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Fri Jun 17 2022 Jaroslav Kysela <perex@perex.cz> - 1.2.7.1-1
- Updated to 1.2.7.1
* 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-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Sun May 30 2021 Jaroslav Kysela <perex@perex.cz> - 1.2.5-1
- Updated to 1.2.5
- Modernize the spec file (Neal Gompa)
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Mon Jan 04 2021 Rex Dieter <rdieter@fedoraproject.org> - 1.2.2-4
- -pulseaudio: Requires: pulseaudio-daemon
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-3
- Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Feb 19 2020 Jaroslav Kysela <perex@perex.cz> - 1.2.2-1
- Updated to 1.2.2
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Nov 13 2019 Jaroslav Kysela <perex@perex.cz> - 1.2.1-1
- Updated to 1.2.1
* Tue Aug 20 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.1.9-3
- macroize %%{_sysconfdir}.
* 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
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Mon Jan 7 2019 Jaroslav Kysela <perex@perex.cz> - 1.1.8-1
- Updated to 1.1.8
* Wed Oct 24 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.7-2
- Updated to 1.1.7
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Mon Apr 16 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-3
- /etc/alsa/conf.d contains symlinks to /usr/share/alsa/alsa.conf.d templates
* Wed Apr 04 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-2
- Changed the add-on config directory to /etc/alsa/conf.d
- Changed the config files
* Tue Apr 03 2018 Jaroslav Kysela <perex@perex.cz> - 1.1.6-1
- Updated to 1.1.6
* Sun Feb 25 2018 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.1.5-3
- Let plugin packages own %%{_libdir}/alsa-lib (RHBZ#1548865)
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2 * Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
@ -332,7 +546,7 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Thu Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1 * Fri Jan 28 2011 Jaroslav Kysela <jkysela@redhat.com> - 1.0.24-1
- Updated to 1.0.24 - Updated to 1.0.24
* Thu Jan 14 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1 * Thu Jan 14 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1

2294
plugin-config.patch Normal file

File diff suppressed because it is too large Load diff

View file

@ -1 +1 @@
SHA512 (alsa-plugins-1.1.5.tar.bz2) = 50a79d9dbcca72b2133aba7dca594302dcd5816eb71afc311a4c2a96aac7632a0a034875faf3100f2c8a44f3fbbede264e5cd9beacf2a07f2fa6786f66edae39 SHA512 (alsa-plugins-1.2.12.tar.bz2) = b2064eb32662662f422f6e7c71f503d82c68d7a7059c8197bdd61ee08735b3ee104c6a5f9e3451e81124634514b91fc89d05d33041d9c2bb0f55b3c2ac3271b1

15
tests/run_tests.sh Executable file
View file

@ -0,0 +1,15 @@
#!/bin/bash
set -ex
# install speaker-test
dnf install -y alsa-utils
# create patest user
adduser patest
# run pulseaudio daemon
su - patest -c "pulseaudio --start --log-target=stderr"
# run pulseaudio test (null sink)
su - patest -c "speaker-test -D pulse -l 1"

11
tests/tests.yml Normal file
View file

@ -0,0 +1,11 @@
- hosts: localhost
roles:
- role: standard-test-basic
tags:
- classic
required_packages:
- pulseaudio
tests:
- simple:
dir: .
run: ./run_tests.sh