summaryrefslogtreecommitdiff
path: root/packages/libao/libao-alsa_0.8.6.bb
blob: b1b7e0e4c23ed0727a5c2eb6927712b45b27d79b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
LICENSE = "GPL"
DESCRIPTION = "A cross platform audio library. This is the ALSA plugin."
HOMEPAGE = "http://www.xiph.org/ao/"
SECTION = "libs"
PRIORITY = "optional"
DEPENDS = "alsa-lib libao"
RDEPENDS = "libao2 (>=${PV})"
PR = "r1"

SRC_URI = "http://downloads.xiph.org/releases/ao/libao-${PV}.tar.gz"
S = "${WORKDIR}/libao-${PV}"

inherit autotools pkgconfig

EXTRA_OECONF = "--disable-esd --disable-esdtest \
		--disable-oss \
		--enable-alsa09 --enable-alsa09-mmap \
		--disable-arts --disable-nas"

do_stage() {
	oe_libinstall -so -C src libao ${STAGING_LIBDIR}
}

PACKAGES = "libao-alsa-plugin libao-alsa-plugin-dev"
FILES_libao-alsa-plugin= "${libdir}/ao/plugins-2/libalsa*.so"
FILES_libao-alsa-plugin-dev += "${libdir}/ao/plugins-2/libalsa*.la"