2010-11-19 23:11:05 +00:00
|
|
|
# Template build file for 'alsa-plugins'.
|
|
|
|
pkgname=alsa-plugins
|
2013-04-17 08:28:08 +00:00
|
|
|
version=1.0.27
|
2014-03-09 09:21:20 +00:00
|
|
|
revision=5
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2011-10-22 05:41:47 +00:00
|
|
|
configure_args="--disable-maemo-plugin --with-speex=lib"
|
2013-04-12 06:55:23 +00:00
|
|
|
hostmakedepends="pkg-config"
|
2013-10-30 08:15:45 +00:00
|
|
|
makedepends="alsa-lib-devel speex-devel ffmpeg-devel>=2.1
|
2012-12-04 22:30:06 +00:00
|
|
|
libsamplerate-devel pulseaudio-devel jack-devel"
|
2010-11-19 23:11:05 +00:00
|
|
|
short_desc="Advanced Linux Sound Architecture (ALSA) extra plugins"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-02-13 11:30:54 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-09-07 07:26:18 +00:00
|
|
|
homepage="http://www.alsa-project.org"
|
|
|
|
distfiles="ftp://ftp.alsa-project.org/pub/plugins/$pkgname-$version.tar.bz2"
|
2013-04-17 08:28:08 +00:00
|
|
|
checksum=0bbd0c37c2dd7baf16363afb2e58169ffb0f9c0a70031b3b6235594630f3ab35
|
2010-11-19 23:11:05 +00:00
|
|
|
|
2014-03-09 09:21:20 +00: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 10:24:27 +00: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 09:21:20 +00:00
|
|
|
lib32depends="libpulseaudio>=0"
|
2013-12-03 10:26:43 +00:00
|
|
|
depends="pulseaudio"
|
2013-12-03 10:24:27 +00: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-19 23:11:05 +00:00
|
|
|
|
2013-12-03 10:24:27 +00: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 11:30:54 +00:00
|
|
|
}
|