Enable a52 and lavrate plugins

Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/5
This commit is contained in:
Yaakov Selkowitz 2023-02-15 03:30:38 +00:00 committed by Jaroslav Kysela
parent 004813eb8f
commit 113c4a7a2a

View File

@ -136,6 +136,26 @@ License: LGPLv2+
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.
%package a52
BuildRequires: ffmpeg-free-devel
Obsoletes: alsa-plugins-freeworld-a52 <= %{version}-%{release}
Summary: A52 output plugin for ALSA using libavcodec
License: LGPLv2+
%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: LGPLv2+
%description lavrate
The plugin uses ffmpeg audio resample library to convert audio rates.
%prep
%autosetup -n %{name}-%{version}%{?prever} -p1
@ -285,6 +305,32 @@ find %{buildroot} -name "*.la" -delete
%license COPYING COPYING.GPL
%{_libdir}/alsa-lib/libasound_module_pcm_aaf.so
%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
%changelog
* 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