Enable support for AVTP

Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/4
This commit is contained in:
Peter Robinson 2021-08-17 14:46:42 +00:00 committed by Jaroslav Kysela
parent 2dd8d24116
commit 004813eb8f

View File

@ -16,6 +16,7 @@ Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz
Patch0: alsa-git.patch
BuildRequires: autoconf automake libtool
BuildRequires: make
BuildRequires: alsa-lib-devel
%description
@ -39,7 +40,6 @@ This plugin provides the PCM type "jack"
%endif
%package oss
BuildRequires: alsa-lib-devel
Summary: Oss PCM output plugin for ALSA
License: LGPLv2+
@ -120,7 +120,6 @@ pre-processing of a mono stream like denoise using libspeex DSP API.
%package maemo
BuildRequires: dbus-devel
BuildRequires: make
Summary: Maemo plugin for ALSA
License: LGPLv2+
@ -128,6 +127,15 @@ License: LGPLv2+
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.
%package avtp
BuildRequires: libavtp-devel
Summary: Audio Video Transport Protocol (AVTP) plugin for ALSA
License: LGPLv2+
%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.
%prep
%autosetup -n %{name}-%{version}%{?prever} -p1
@ -145,7 +153,7 @@ autoreconf -vif
mv %{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf.example \
%{buildroot}%{_sysconfdir}/alsa/conf.d/99-pulseaudio-default.conf
find %{buildroot} -name "*.la" -exec rm {} \;
find %{buildroot} -name "*.la" -delete
%if %{with jack}
@ -273,6 +281,9 @@ find %{buildroot} -name "*.la" -exec rm {} \;
%{_libdir}/alsa-lib/libasound_module_ctl_dsp_ctl.so
%{_libdir}/alsa-lib/libasound_module_pcm_alsa_dsp.so
%files avtp
%license COPYING COPYING.GPL
%{_libdir}/alsa-lib/libasound_module_pcm_aaf.so
%changelog
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7.1-3