void-packages/srcpkgs/alsa-plugins/template

52 lines
1.4 KiB
Bash
Raw Normal View History

# Template build file for 'alsa-plugins'.
pkgname=alsa-plugins
2015-11-10 18:10:10 +01:00
version=1.1.0
revision=1
build_style=gnu-configure
configure_args="--disable-maemo-plugin"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel ffmpeg-devel libsamplerate-devel pulseaudio-devel jack-devel"
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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"
2015-11-10 18:10:10 +01:00
checksum=3b83c329953bef99f5fe25ae04ec4a455fe6514939f3b45a5321966652b2c9ee
alsa-plugins-jack_package() {
short_desc+=" - Jack output plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*jack*"
}
}
alsa-plugins-pulseaudio_package() {
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*"
vconf ${FILESDIR}/asound.conf
}
}
alsa-plugins-speex_package() {
short_desc+=" - Speex resample plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*speex*"
}
}
alsa-plugins-samplerate_package() {
short_desc+=" - libsamplerate resample plugin"
pkg_install() {
vmove "usr/lib/alsa-lib/*samplerate*"
}
}
alsa-plugins-ffmpeg_package() {
short_desc+=" - libavcodec/a52 plugins"
pkg_install() {
vmove "usr/lib/alsa-lib/*lavc*"
vmove "usr/lib/alsa-lib/*a52*"
}
}