alsa-plugins: split plugins into -{ffmpeg,jack,pulseaudio,samplerate,speex} pkgs.

This commit is contained in:
Juan RP 2013-12-03 11:24:27 +01:00
parent 8e218212b1
commit d7b06c7c2a
6 changed files with 47 additions and 9 deletions

1
srcpkgs/alsa-plugins-ffmpeg Symbolic link
View File

@ -0,0 +1 @@
alsa-plugins

1
srcpkgs/alsa-plugins-jack Symbolic link
View File

@ -0,0 +1 @@
alsa-plugins

View File

@ -0,0 +1 @@
alsa-plugins

View File

@ -0,0 +1 @@
alsa-plugins

1
srcpkgs/alsa-plugins-speex Symbolic link
View File

@ -0,0 +1 @@
alsa-plugins

View File

@ -1,7 +1,7 @@
# Template build file for 'alsa-plugins'. # Template build file for 'alsa-plugins'.
pkgname=alsa-plugins pkgname=alsa-plugins
version=1.0.27 version=1.0.27
revision=2 revision=3
build_style=gnu-configure build_style=gnu-configure
configure_args="--disable-maemo-plugin --with-speex=lib" configure_args="--disable-maemo-plugin --with-speex=lib"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
@ -13,19 +13,52 @@ license="GPL-2, LGPL-2.1"
homepage="http://www.alsa-project.org" homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2" distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2"
checksum=0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35 checksum=0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35
long_desc="
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system.
This package includes some ALSA extra plugins for PulseAudio, Speex, alsa-plugins-jack_package() {
FFmpeg's libavcodec library and libsamplerate." replaces="alsa-plugins<1.0.27_3"
short_desc+=" - Jack output plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*jack*"
}
}
post_install() { alsa-plugins-pulseaudio_package() {
vinstall ${FILESDIR}/asound.conf 644 etc replaces="alsa-plugins<1.0.27_3"
short_desc+=" - Pulseaudio output plugin"
conf_files="/etc/asound.conf"
pkg_install() {
vmove "usr/lib/alsa-lib/*pulse*"
vmove "usr/share/alsa/alsa.conf.d/*pulse*"
vinstall ${FILESDIR}/asound.conf 644 etc
}
}
alsa-plugins-speex_package() {
replaces="alsa-plugins<1.0.27_3"
short_desc+=" - Speex resample plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*speex*"
}
}
alsa-plugins-samplerate_package() {
replaces="alsa-plugins<1.0.27_3"
short_desc+=" - libsamplerate resample plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*samplerate*"
}
}
alsa-plugins-ffmpeg_package() {
replaces="alsa-plugins<1.0.27_3"
short_desc+=" - libavcodec/a52 plugins"
pkg_install() {
vmove "usr/lib/alsa-lib/*lavc*"
vmove "usr/lib/alsa-lib/*a52*"
}
} }
alsa-plugins_package() { alsa-plugins_package() {
conf_files="/etc/asound.conf"
pkg_install() { pkg_install() {
vmove all vmove all
} }