2012-12-21 15:39:55 +01:00
|
|
|
# Template file for 'libao'
|
|
|
|
pkgname=libao
|
2014-09-07 17:58:23 +02:00
|
|
|
version=1.2.0
|
|
|
|
revision=1
|
2012-12-21 15:39:55 +01:00
|
|
|
build_style=gnu-configure
|
|
|
|
configure_args="--enable-alsa-mmap"
|
2014-01-01 16:10:11 +01:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="alsa-lib-devel pulseaudio-devel"
|
|
|
|
conf_files="/etc/libao.conf"
|
2012-12-21 15:39:55 +01:00
|
|
|
homepage="http://xiph.org/ao/"
|
|
|
|
short_desc="Cross-platform audio output library"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz"
|
2014-09-07 17:58:23 +02:00
|
|
|
checksum=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf
|
2012-12-21 15:39:55 +01:00
|
|
|
|
|
|
|
post_install() {
|
2014-09-07 17:58:23 +02:00
|
|
|
vconf ${FILESDIR}/libao.conf
|
2012-12-21 15:39:55 +01:00
|
|
|
}
|
2013-04-13 10:15:49 +02:00
|
|
|
|
|
|
|
libao-devel_package() {
|
2014-06-06 09:37:11 +02:00
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
2014-01-01 16:10:11 +01:00
|
|
|
short_desc+=" - development files"
|
2013-04-13 10:15:49 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-06-06 09:37:11 +02:00
|
|
|
vmove usr/lib/*.so
|
2013-04-13 10:15:49 +02:00
|
|
|
vmove usr/share/doc
|
|
|
|
vmove usr/share/aclocal
|
|
|
|
}
|
|
|
|
}
|