2009-05-15 06:11:50 +02:00
|
|
|
# Template build file for 'alsa-lib'.
|
|
|
|
pkgname=alsa-lib
|
2015-02-27 08:31:11 +01:00
|
|
|
version=1.0.29
|
2014-06-18 08:01:38 +02:00
|
|
|
revision=1
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-17 18:23:23 +01:00
|
|
|
configure_args="--with-pythonlibs=-lpython2.7 --with-pythonincludes=-I${XBPS_CROSS_BASE}/usr/include/python2.7"
|
|
|
|
hostmakedepends="automake libtool pkg-config python-devel"
|
2013-04-12 08:55:23 +02:00
|
|
|
makedepends="python-devel"
|
2009-05-15 06:11:50 +02:00
|
|
|
short_desc="The Advanced Linux Sound Architecture (ALSA) library"
|
2015-04-10 09:16:30 +02:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
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"
|
2015-02-27 08:31:11 +01:00
|
|
|
checksum=73043c35eb9636be0f4af6a240235c213f12a25feb1f04aeeac8cb7e30fcbdd0
|
2009-05-15 06:11:50 +02:00
|
|
|
|
2014-02-17 18:23:23 +01:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-12 08:55:23 +02:00
|
|
|
|
|
|
|
alsa-lib-devel_package() {
|
2014-06-18 08:01:38 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
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
|
2014-06-18 08:01:38 +02:00
|
|
|
vmove usr/lib/*.so
|
2013-04-12 08:55:23 +02:00
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|
2014-02-17 18:23:23 +01:00
|
|
|
alsa-lib-python_package() {
|
|
|
|
short_desc+=" - python smixer plugin"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/lib/alsa-lib/smixer/smixer-python.so
|
2013-04-12 08:55:23 +02:00
|
|
|
}
|
2014-02-17 18:23:23 +01:00
|
|
|
}
|