60 lines
1.5 KiB
Bash
60 lines
1.5 KiB
Bash
# Template file for 'alsa-plugins'
|
|
pkgname=alsa-plugins
|
|
version=1.2.7.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-maemo-plugin"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="ffmpeg-devel jack-devel libsamplerate-devel pulseaudio-devel"
|
|
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="http://www.alsa-project.org"
|
|
distfiles="https://www.alsa-project.org/files/pub/plugins/${pkgname}-${version}.tar.bz2"
|
|
checksum=8c337814954bb7c167456733a6046142a2931f12eccba3ec2a4ae618a3432511
|
|
|
|
post_install() {
|
|
rm -rfv ${DESTDIR}/etc/alsa/conf.d
|
|
}
|
|
|
|
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/*lav*"
|
|
vmove "usr/lib/alsa-lib/*a52*"
|
|
}
|
|
}
|