summaryrefslogtreecommitdiff
path: root/org.handhelds.familiar/packages/libao/libao_0.8.6.bb
blob: 62275f14fbce485ff4fd1960350775aa6e9d7243 (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"
HOMEPAGE = "http://www.xiph.org/ao/"
SECTION = "libs"
PRIORITY = "optional"
PR = "r0"

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

inherit autotools pkgconfig

EXTRA_OECONF = "--disable-esd --disable-esdtest \
		--disable-alsa --disable-alsa09 \
		--disable-arts --disable-nas"

do_stage() {
	install -d ${STAGING_INCDIR}/ao
	install -m 0644 ${S}/include/ao/ao.h ${S}/include/ao/os_types.h \
			${S}/include/ao/plugin.h ${STAGING_INCDIR}/ao/

	oe_libinstall -so -C src libao ${STAGING_LIBDIR}
	install -d ${STAGING_DATADIR}/aclocal
	install -m 0644 ao.m4 ${STAGING_DATADIR}/aclocal/
}

FILES_${PN} += "${libdir}/ao/plugins-2/*.so"