void-packages/srcpkgs/alsa-plugins/template

62 lines
1.6 KiB
Plaintext
Raw Normal View History

# Template build file for 'alsa-plugins'.
pkgname=alsa-plugins
2014-06-18 09:08:29 +02:00
version=1.0.28
revision=1
build_style=gnu-configure
configure_args="--disable-maemo-plugin --with-speex=lib"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel speex-devel ffmpeg-devel>=2.1
libsamplerate-devel pulseaudio-devel jack-devel"
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
2012-09-07 09:26:18 +02:00
homepage="http://www.alsa-project.org"
distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2"
2014-06-18 09:08:29 +02:00
checksum=426f8af1a07ee9d8c06449524d1f0bd59a06e0331a51aa3d59d343a7c6d03120
alsa-plugins-jack_package() {
replaces="alsa-plugins<1.0.27_3"
short_desc+=" - Jack output plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*jack*"
}
}
alsa-plugins-pulseaudio_package() {
replaces="alsa-plugins<1.0.27_3"
short_desc+=" - Pulseaudio output plugin"
conf_files="/etc/asound.conf"
lib32depends="libpulseaudio>=0"
depends="pulseaudio"
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*"
}
}