blob: 730f42740266e9728def315f61223e4f490994b7 [file] [log] [blame]
Patrick Williamsc124f4f2015-09-15 14:41:29 -05001SUMMARY = "ALSA sound library"
2HOMEPAGE = "http://www.alsa-project.org"
3BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php"
4SECTION = "libs/multimedia"
5LICENSE = "LGPLv2.1 & GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \
7 file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545"
8
9BBCLASSEXTEND = "native nativesdk"
10
11# configure.in sets -D__arm__ on the command line for any arm system
12# (not just those with the ARM instruction set), this should be removed,
13# (or replaced by a permitted #define).
14#FIXME: remove the following
15ARM_INSTRUCTION_SET = "arm"
16
17SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/${BP}.tar.bz2 \
18 file://Check-if-wordexp-function-is-supported.patch \
19 file://0001-build-Do-not-try-to-detect-cross-compiler.patch \
20"
21SRC_URI[md5sum] = "de67e0eca72474d6b1121037dafe1024"
22SRC_URI[sha256sum] = "73043c35eb9636be0f4af6a240235c213f12a25feb1f04aeeac8cb7e30fcbdd0"
23
24inherit autotools pkgconfig
25
26require alsa-fpu.inc
27EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} "
28
29EXTRA_OECONF = "--disable-python"
30
31EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no "
32
33PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc"
34FILES_${PN} += "${libdir}/${BPN}/smixer/*.so"
35FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug"
36FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la"
37FILES_libasound = "${libdir}/libasound.so.*"
38FILES_alsa-server = "${bindir}/*"
39FILES_alsa-conf = "${datadir}/alsa/"
40FILES_alsa-conf-base = "\
41${datadir}/alsa/alsa.conf \
42${datadir}/alsa/cards/aliases.conf \
43${datadir}/alsa/pcm/default.conf \
44${datadir}/alsa/pcm/dmix.conf \
45${datadir}/alsa/pcm/dsnoop.conf"
46
47RDEPENDS_libasound = "alsa-conf-base alsa-conf"
48# upgrade path
49RPROVIDES_${PN}-dev = "alsa-dev"
50RREPLACES_${PN}-dev = "alsa-dev"
51RCONFLICTS_${PN}-dev = "alsa-dev"