2009-05-15 06:11:50 +02:00
|
|
|
# Template build file for 'alsa-lib'.
|
|
|
|
pkgname=alsa-lib
|
2013-07-09 19:16:30 +02:00
|
|
|
version=1.0.27.2
|
2013-04-17 09:58:30 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2013-04-12 08:55:23 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="python-devel"
|
2009-05-15 06:11:50 +02:00
|
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-06 16:57:48 +02:00
|
|
|
license="LGPL-2.1"
|
2012-09-07 09:19:28 +02:00
|
|
|
homepage="http://www.alsa-project.org"
|
|
|
|
distfiles="ftp://ftp.alsa-project.org/pub/lib/$pkgname-$version.tar.bz2"
|
2013-07-09 19:16:30 +02:00
|
|
|
checksum=690ed393e7efd4fc7e3a2d2cda5449298ca0c895197e5914e350882012430d19
|
2009-05-15 06:11:50 +02:00
|
|
|
long_desc="
|
|
|
|
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
|
|
|
|
functionality to the Linux operating system.
|
|
|
|
|
|
|
|
This package includes the ALSA runtime libraries to simplify application
|
|
|
|
programming and provide higher level functionality as well as support for
|
|
|
|
the older OSS API, providing binary compatibility for most OSS programs."
|
2013-03-18 20:10:13 +01:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ -n "$CROSS_BUILD" ]; then
|
2013-03-18 20:10:13 +01:00
|
|
|
# XXX python plugin
|
2013-04-12 08:55:23 +02:00
|
|
|
unset makedepends
|
|
|
|
hostmakedepends+=" libtool automake"
|
|
|
|
configure_args+=" --disable-python"
|
2013-03-18 20:10:13 +01:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
alsa-lib-devel_package() {
|
|
|
|
depends="alsa-lib>=${version}"
|
2013-05-26 21:12:35 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 08:55:23 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
alsa-lib_package() {
|
|
|
|
pkg_install() {
|
2013-05-26 21:12:35 +02:00
|
|
|
vmove all
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if [ -z "$CROSS_BUILD" ]; then
|
|
|
|
alsa-lib-python_package() {
|
2013-05-26 21:12:35 +02:00
|
|
|
short_desc+=" - python smixer plugin"
|
2013-04-12 08:55:23 +02:00
|
|
|
replaces="alsa-lib<=1.0.25"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/alsa-lib/smixer/smixer-python.so
|
|
|
|
}
|
|
|
|
}
|
|
|
|
fi
|