Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8ac4c990e6 | ||
|
|
2713504c16 | ||
|
|
741db1d714 | ||
|
|
5085b05c3f |
11 changed files with 2363 additions and 138 deletions
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
# arcam-av plugin configuration
|
||||
# $Id$
|
||||
|
||||
ctl.arcam_av {
|
||||
type arcam_av
|
||||
port /dev/ttyS0
|
||||
hint {
|
||||
description "Arcam-AV Amplifier"
|
||||
}
|
||||
}
|
||||
17
50-jack.conf
17
50-jack.conf
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
# pcm-oss plugin configuration
|
||||
|
||||
pcm.oss {
|
||||
type oss
|
||||
device /dev/dsp
|
||||
hint {
|
||||
description "Open Sound System"
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
@ -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"]
|
||||
}
|
||||
|
|
@ -5,8 +5,8 @@
|
|||
%endif
|
||||
|
||||
Name: alsa-plugins
|
||||
Version: 1.1.5
|
||||
Release: 2%{?dist}
|
||||
Version: 1.1.6
|
||||
Release: 3%{?dist}
|
||||
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
|
||||
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
|
||||
# pph plugin is BSD-like licensed
|
||||
|
|
@ -14,15 +14,9 @@ License: GPLv2+ and LGPLv2+ and BSD
|
|||
Group: System Environment/Libraries
|
||||
URL: http://www.alsa-project.org/
|
||||
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
|
||||
Source1: 50-jack.conf
|
||||
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
|
||||
Patch0: plugin-config.patch
|
||||
|
||||
BuildRequires: autoconf automake libtool
|
||||
BuildRequires: alsa-lib-devel
|
||||
|
||||
%description
|
||||
|
|
@ -132,7 +126,6 @@ The rate plugin is an external rate converter using the Speex resampler
|
|||
pre-processing of a mono stream like denoise using libspeex DSP API.
|
||||
|
||||
%package maemo
|
||||
#BuildRequires: alsa-lib-devel = %{version}
|
||||
BuildRequires: dbus-devel
|
||||
Summary: Maemo plugin for ALSA
|
||||
Group: System Environment/Libraries
|
||||
|
|
@ -143,8 +136,10 @@ ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
|
|||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{version}%{?prever}
|
||||
%patch0 -p1 -b .plugin-config
|
||||
|
||||
%build
|
||||
autoreconf -vif
|
||||
%configure --disable-static \
|
||||
--with-speex=lib \
|
||||
--enable-maemo-plugin \
|
||||
|
|
@ -152,24 +147,12 @@ ALSA native applications can run over DSP Gateway and use DSP PCM task nodes.
|
|||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT
|
||||
make install DESTDIR=%{buildroot}
|
||||
|
||||
install -d ${RPM_BUILD_ROOT}%{_datadir}/alsa/alsa.conf.d
|
||||
%if 0%{?with_jack}
|
||||
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
|
||||
mv %{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf.example \
|
||||
%{buildroot}/etc/alsa/conf.d/99-pulseaudio-default.conf
|
||||
|
||||
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
||||
find %{buildroot} -name "*.la" -exec rm {} \;
|
||||
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
|
@ -179,31 +162,43 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
|||
%if 0%{?with_jack}
|
||||
%files jack
|
||||
%doc COPYING COPYING.GPL doc/README-jack
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/50-jack.conf
|
||||
%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
|
||||
%endif
|
||||
|
||||
%files oss
|
||||
%doc COPYING COPYING.GPL doc/README-pcm-oss
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/50-oss.conf
|
||||
%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_pcm_oss.so
|
||||
|
||||
%files pulseaudio
|
||||
%doc COPYING COPYING.GPL doc/README-pulse
|
||||
%dir %{_libdir}/alsa-lib
|
||||
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
|
||||
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
|
||||
%{_libdir}/alsa-lib/libasound_module_conf_pulse.so
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/50-pulseaudio.conf
|
||||
%config(noreplace) /etc/alsa/conf.d/99-pulseaudio-default.conf
|
||||
%dir %{_datadir}/alsa/alsa.conf.d
|
||||
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
|
||||
%config(noreplace) %{_datadir}/alsa/alsa.conf.d/99-pulseaudio-default.conf
|
||||
%{_datadir}/alsa/alsa.conf.d/50-pulseaudio.conf
|
||||
|
||||
%files samplerate
|
||||
%doc COPYING COPYING.GPL doc/samplerate.txt
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/10-samplerate.conf
|
||||
%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_best.so
|
||||
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_linear.so
|
||||
|
|
@ -212,30 +207,49 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
|||
|
||||
%files upmix
|
||||
%doc COPYING COPYING.GPL doc/upmix.txt
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/60-upmix.conf
|
||||
%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
|
||||
|
||||
%files vdownmix
|
||||
%doc COPYING COPYING.GPL doc/vdownmix.txt
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/60-vdownmix.conf
|
||||
%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
|
||||
|
||||
%files usbstream
|
||||
%doc COPYING COPYING.GPL
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/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
|
||||
|
||||
%files arcamav
|
||||
%doc COPYING COPYING.GPL doc/README-arcam-av
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/50-arcam-av-ctl.conf
|
||||
%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
|
||||
|
||||
%files speex
|
||||
%doc COPYING COPYING.GPL doc/speexdsp.txt doc/speexrate.txt
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/10-speexrate.conf
|
||||
%config(noreplace) /etc/alsa/conf.d/60-speex.conf
|
||||
%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_rate_speexrate.so
|
||||
%{_libdir}/alsa-lib/libasound_module_rate_speexrate_best.so
|
||||
|
|
@ -243,13 +257,29 @@ find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
|||
|
||||
%files maemo
|
||||
%doc COPYING COPYING.GPL doc/README-maemo
|
||||
%dir /etc/alsa/conf.d
|
||||
%config(noreplace) /etc/alsa/conf.d/98-maemo.conf
|
||||
%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_pcm_alsa_dsp.so
|
||||
|
||||
|
||||
%changelog
|
||||
* 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
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
|
@ -332,7 +362,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
|
||||
- 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
|
||||
|
||||
* Thu Jan 14 2010 Jaroslav Kysela <jkysela@redhat.com> - 1.0.22-1
|
||||
|
|
|
|||
2294
plugin-config.patch
Normal file
2294
plugin-config.patch
Normal file
File diff suppressed because it is too large
Load diff
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (alsa-plugins-1.1.5.tar.bz2) = 50a79d9dbcca72b2133aba7dca594302dcd5816eb71afc311a4c2a96aac7632a0a034875faf3100f2c8a44f3fbbede264e5cd9beacf2a07f2fa6786f66edae39
|
||||
SHA512 (alsa-plugins-1.1.6.tar.bz2) = f01633cd7166a2fba4c5b4d5d786b5a2122f6a810f5b5b7209c42033759d116a4515174e7ee57973d5de716be88a246d733dc5a2daf92b72377c274b04db401b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue