Initial alsa-plugins cvs import
This commit is contained in:
parent
e082720933
commit
d85bdabeb7
@ -0,0 +1 @@
|
|||||||
|
alsa-plugins-1.0.14.tar.bz2
|
176
alsa-plugins.spec
Normal file
176
alsa-plugins.spec
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
Name: alsa-plugins
|
||||||
|
Version: 1.0.14
|
||||||
|
Release: 1%{?dist}
|
||||||
|
Summary: The Advanced Linux Sound Architecture (ALSA) Plugins
|
||||||
|
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
|
||||||
|
License: GPLv2+ and LGPLv2+
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
URL: http://www.alsa-project.org/
|
||||||
|
Source0: ftp://ftp.alsa-project.org/pub/plugins/%{name}-%{version}.tar.bz2
|
||||||
|
Source1: jack.conf
|
||||||
|
Source2: pcm-oss.conf
|
||||||
|
Source3: pulseaudio.conf
|
||||||
|
Source4: samplerate.conf
|
||||||
|
Source5: upmix.conf
|
||||||
|
Source6: vdownmix.conf
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
|
||||||
|
%description
|
||||||
|
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
|
||||||
|
functionality to the Linux operating system.
|
||||||
|
|
||||||
|
This package includes plugins for ALSA.
|
||||||
|
|
||||||
|
%package jack
|
||||||
|
Requires: jack-audio-connection-kit
|
||||||
|
BuildRequires: jack-audio-connection-kit-devel
|
||||||
|
Summary: Jack PCM output plugin for ALSA
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description jack
|
||||||
|
This plugin converts the ALSA API over JACK (Jack Audio Connection
|
||||||
|
Kit, http://jackit.sf.net) API. ALSA native applications can work
|
||||||
|
transparently together with jackd for both playback and capture.
|
||||||
|
|
||||||
|
ALSA apps (playback) -> ALSA-lib -> JACK plugin -> JACK daemon
|
||||||
|
ALSA apps (capture) <- ALSA-lib <- JACK plugin <- JACK daemon
|
||||||
|
|
||||||
|
This plugin provides the PCM type "jack"
|
||||||
|
|
||||||
|
%package oss
|
||||||
|
BuildRequires: alsa-lib-devel
|
||||||
|
Summary: Oss PCM output plugin for ALSA
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description oss
|
||||||
|
This plugin converts the ALSA API over OSS API. With this plugin,
|
||||||
|
ALSA native apps can run on OSS drivers.
|
||||||
|
|
||||||
|
This plugin provides the PCM type "oss".
|
||||||
|
|
||||||
|
%package pulseaudio
|
||||||
|
BuildRequires: pulseaudio-lib-devel
|
||||||
|
Summary: Alsa to PulseAudio backend
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description 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 across a network. There are two plugins in the suite, one for PCM and
|
||||||
|
one for mixer control.
|
||||||
|
|
||||||
|
%package samplerate
|
||||||
|
BuildRequires: libsamplerate-devel
|
||||||
|
Summary: External rate converter plugin for ALSA
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: GPLv2+
|
||||||
|
%description samplerate
|
||||||
|
This plugin is an external rate converter using libsamplerate by Erik de
|
||||||
|
Castro Lopo.
|
||||||
|
|
||||||
|
%package upmix
|
||||||
|
BuildRequires: libsamplerate-devel
|
||||||
|
Summary: Upmixer channel expander plugin for ALSA
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description upmix
|
||||||
|
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
|
||||||
|
by the slave PCM or explicitly via channel option.
|
||||||
|
|
||||||
|
%package vdownmix
|
||||||
|
BuildRequires: libsamplerate-devel
|
||||||
|
Summary: Downmixer to stereo plugin for ALSA
|
||||||
|
Group: System Environment/Libraries
|
||||||
|
License: LGPLv2+
|
||||||
|
%description vdownmix
|
||||||
|
The vdownmix plugin is a downmixer from 4-6 channels to 2-channel
|
||||||
|
stereo headphone output. This plugin processes the input signals with
|
||||||
|
a simple spacialization, so the output sounds like a kind of "virtual
|
||||||
|
surround".
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static \
|
||||||
|
--without-speex
|
||||||
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
||||||
|
install -m 644 %SOURCE1 %SOURCE2 %SOURCE3 \
|
||||||
|
%SOURCE4 %SOURCE5 %SOURCE6 \
|
||||||
|
${RPM_BUILD_ROOT}%{_sysconfdir}/alsa/pcm
|
||||||
|
|
||||||
|
find $RPM_BUILD_ROOT -name "*.la" -exec rm {} \;
|
||||||
|
|
||||||
|
# Removing the maemo plugins
|
||||||
|
find $RPM_BUILD_ROOT \( -name libasound_module_ctl_dsp_ctl.so -o \
|
||||||
|
-name libasound_module_pcm_alsa_dsp.so \) -exec rm {} \;
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%files jack
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/README-jack
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/jack.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_jack.so
|
||||||
|
|
||||||
|
%files oss
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/README-pcm-oss
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/pcm-oss.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_ctl_oss.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_oss.so
|
||||||
|
|
||||||
|
%files pulseaudio
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/README-pulse
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/pulseaudio.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_pulse.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_ctl_pulse.so
|
||||||
|
|
||||||
|
%files samplerate
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/samplerate.txt
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/samplerate.conf
|
||||||
|
%{_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
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_medium.so
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_rate_samplerate_order.so
|
||||||
|
|
||||||
|
%files upmix
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/upmix.txt
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/upmix.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_upmix.so
|
||||||
|
|
||||||
|
%files vdownmix
|
||||||
|
%defattr(-,root,root,-)
|
||||||
|
%doc COPYING COPYING.GPL doc/vdownmix.txt
|
||||||
|
%config(noreplace) %{_sysconfdir}/alsa/pcm/vdownmix.conf
|
||||||
|
%{_libdir}/alsa-lib/libasound_module_pcm_vdownmix.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jul 23 2007 Eric Moret <eric.moret@epita.fr> - 1.0.14-1
|
||||||
|
- update to upstream 1.0.14
|
||||||
|
- use configure --without-speex instead of patches to remove a52
|
||||||
|
|
||||||
|
* Tue Mar 13 2007 Matej Cepl <mcepl@redhat.com> - 1.0.14-0.3.rc2
|
||||||
|
- Really remove a52 plugin package (including changes in
|
||||||
|
configure and configure.in)
|
||||||
|
|
||||||
|
* Thu Feb 15 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.2.rc2
|
||||||
|
- Adding configuration files
|
||||||
|
- Removing a52 plugin package
|
||||||
|
|
||||||
|
* Wed Jan 10 2007 Eric Moret <eric.moret@epita.fr> 1.0.14-0.1.rc2
|
||||||
|
- Initial package for Fedora
|
13
jack.conf
Normal file
13
jack.conf
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# The jack plugin configuration
|
||||||
|
|
||||||
|
pcm.jack {
|
||||||
|
type jack
|
||||||
|
playback_ports {
|
||||||
|
0 alsa_pcm:playback_1
|
||||||
|
1 alsa_pcm:playback_1
|
||||||
|
}
|
||||||
|
capture_ports {
|
||||||
|
0 alsa_pcm:capture_1
|
||||||
|
1 alsa_pcm:pcapture_1
|
||||||
|
}
|
||||||
|
}
|
6
pcm-oss.conf
Normal file
6
pcm-oss.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# pcm-oss plugin configuration
|
||||||
|
|
||||||
|
pcm.oss {
|
||||||
|
type oss
|
||||||
|
device /dev/dsp
|
||||||
|
}
|
9
pulseaudio.conf
Normal file
9
pulseaudio.conf
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
# pulseaudio plugin configuration
|
||||||
|
|
||||||
|
pcm.pulse {
|
||||||
|
type pulse
|
||||||
|
}
|
||||||
|
|
||||||
|
ctl.pulse {
|
||||||
|
type pulse
|
||||||
|
}
|
7
samplerate.conf
Normal file
7
samplerate.conf
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# samplerate plugin configuration
|
||||||
|
|
||||||
|
pcm.my_rate {
|
||||||
|
type rate
|
||||||
|
slave.pcm "hw"
|
||||||
|
converter "samplerate"
|
||||||
|
}
|
6
upmix.conf
Normal file
6
upmix.conf
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
# upmix plugin configuration
|
||||||
|
|
||||||
|
pcm.upmix51 {
|
||||||
|
type upmix
|
||||||
|
slave.pcm "surround51"
|
||||||
|
}
|
11
vdownmix.conf
Normal file
11
vdownmix.conf
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
# vdownmix plugin configuration
|
||||||
|
|
||||||
|
pcm.!surround51 {
|
||||||
|
type vdownmix
|
||||||
|
slave.pcm "default"
|
||||||
|
}
|
||||||
|
|
||||||
|
pcm.!surround40 {
|
||||||
|
type vdownmix
|
||||||
|
slave.pcm "default"
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user