From 004813eb8f6782aa839eadbd9554ce536e59269b Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 17 Aug 2021 14:46:42 +0000 Subject: [PATCH] Enable support for AVTP Fixes: https://src.fedoraproject.org/rpms/alsa-plugins/pull-request/4 --- alsa-plugins.spec | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/alsa-plugins.spec b/alsa-plugins.spec index 3be9afa..d557e1d 100644 --- a/alsa-plugins.spec +++ b/alsa-plugins.spec @@ -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 - 1.2.7.1-3