2010-11-20 00:11:05 +01:00
|
|
|
# Template build file for 'alsa-plugins'.
|
|
|
|
pkgname=alsa-plugins
|
2013-04-17 10:28:08 +02:00
|
|
|
version=1.0.27
|
2014-03-29 12:39:51 +01:00
|
|
|
revision=6
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-22 07:41:47 +02:00
|
|
|
configure_args="--disable-maemo-plugin --with-speex=lib"
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-10-30 09:15:45 +01:00
|
|
|
makedepends="alsa-lib-devel speex-devel ffmpeg-devel>=2.1
|
2012-12-04 23:30:06 +01:00
|
|
|
libsamplerate-devel pulseaudio-devel jack-devel"
|
2010-11-20 00:11:05 +01:00
|
|
|
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-13 12:30:54 +01:00
|
|
|
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"
|
2013-04-17 10:28:08 +02:00
|
|
|
checksum=0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35
|
2010-11-20 00:11:05 +01:00
|
|
|
|
2014-03-09 10:21:20 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
|
|
|
|
configure_args+=" --libdir=/usr/lib32"
|
|
|
|
pre_install() {
|
|
|
|
vmkdir usr/lib
|
|
|
|
ln -s lib ${DESTDIR}/usr/lib32
|
|
|
|
}
|
|
|
|
post_install() {
|
|
|
|
rm ${DESTDIR}/usr/lib32
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2013-12-03 11:24:27 +01:00
|
|
|
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"
|
2014-03-09 10:21:20 +01:00
|
|
|
lib32depends="libpulseaudio>=0"
|
2013-12-03 11:26:43 +01:00
|
|
|
depends="pulseaudio"
|
2013-12-03 11:24:27 +01:00
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/alsa-lib/*pulse*"
|
|
|
|
vmove "usr/share/alsa/alsa.conf.d/*pulse*"
|
|
|
|
vinstall ${FILESDIR}/asound.conf 644 etc
|
|
|
|
}
|
|
|
|
}
|
2010-11-20 00:11:05 +01:00
|
|
|
|
2013-12-03 11:24:27 +01:00
|
|
|
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*"
|
|
|
|
}
|
2012-02-13 12:30:54 +01:00
|
|
|
}
|