Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "ALSA sound library" |
| 2 | HOMEPAGE = "http://www.alsa-project.org" |
| 3 | BUGTRACKER = "https://bugtrack.alsa-project.org/alsa-bug/login_page.php" |
| 4 | SECTION = "libs/multimedia" |
| 5 | LICENSE = "LGPLv2.1 & GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34 \ |
| 7 | file://src/socket.c;beginline=1;endline=26;md5=11ff89a8a7a4a690a5c78effe8159545" |
| 8 | |
| 9 | BBCLASSEXTEND = "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 |
| 15 | ARM_INSTRUCTION_SET = "arm" |
| 16 | |
| 17 | SRC_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 | " |
| 21 | SRC_URI[md5sum] = "de67e0eca72474d6b1121037dafe1024" |
| 22 | SRC_URI[sha256sum] = "73043c35eb9636be0f4af6a240235c213f12a25feb1f04aeeac8cb7e30fcbdd0" |
| 23 | |
| 24 | inherit autotools pkgconfig |
| 25 | |
| 26 | require alsa-fpu.inc |
| 27 | EXTRA_OECONF += "${@get_alsa_fpu_setting(bb, d)} " |
| 28 | |
| 29 | EXTRA_OECONF = "--disable-python" |
| 30 | |
| 31 | EXTRA_OECONF_append_libc-uclibc = " --with-versioned=no " |
| 32 | |
| 33 | PACKAGES =+ "alsa-server libasound alsa-conf-base alsa-conf alsa-doc" |
| 34 | FILES_${PN} += "${libdir}/${BPN}/smixer/*.so" |
| 35 | FILES_${PN}-dbg += "${libdir}/${BPN}/smixer/.debug" |
| 36 | FILES_${PN}-dev += "${libdir}/${BPN}/smixer/*.la" |
| 37 | FILES_libasound = "${libdir}/libasound.so.*" |
| 38 | FILES_alsa-server = "${bindir}/*" |
| 39 | FILES_alsa-conf = "${datadir}/alsa/" |
| 40 | FILES_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 | |
| 47 | RDEPENDS_libasound = "alsa-conf-base alsa-conf" |
| 48 | # upgrade path |
| 49 | RPROVIDES_${PN}-dev = "alsa-dev" |
| 50 | RREPLACES_${PN}-dev = "alsa-dev" |
| 51 | RCONFLICTS_${PN}-dev = "alsa-dev" |