Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "ALSA sound library" |
| 2 | HOMEPAGE = "http://www.alsa-project.org" |
| 3 | BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" |
| 4 | SECTION = "libs/multimedia" |
| 5 | LICENSE = "LGPLv2.1 & GPLv2+" |
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ |
| 7 | file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \ |
| 8 | " |
| 9 | |
| 10 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \ |
| 11 | file://0001-configure.ac-remove-an-unnecessary-libtool-fix.patch \ |
| 12 | file://0001-ucm-Use-strncmp-to-avoid-access-out-of-boundary.patch \ |
| 13 | file://0002-ucm-return-always-at-least-NULL-if-no-list-is-availa.patch \ |
| 14 | file://0003-namehint-correct-the-args-check.patch \ |
| 15 | file://0004-namehint-improve-the-previous-patch-check-the-return.patch \ |
| 16 | file://0005-ucm-Do-not-fail-to-parse-configs-on-cards-with-an-em.patch \ |
| 17 | file://0001-Fix-alsa-sound-.h-for-external-programs.patch \ |
| 18 | file://0001-uapi-Move-typedefs-from-uapi-to-sound.patch \ |
| 19 | " |
| 20 | SRC_URI[md5sum] = "82ddd3698469beec147e4f4a67134ea0" |
| 21 | SRC_URI[sha256sum] = "958e260e3673f1f6ff6b2d2c0df3fc2e469bea5b2957163ce96ce17f23e87943" |
| 22 | |
| 23 | inherit autotools pkgconfig |
| 24 | |
| 25 | EXTRA_OECONF += " \ |
| 26 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 27 | --disable-python \ |
| 28 | " |
| 29 | |
| 30 | PACKAGES =+ "alsa-server alsa-conf libatopology" |
| 31 | |
| 32 | FILES_alsa-server = "${bindir}/*" |
| 33 | FILES_alsa-conf = "${datadir}/alsa/" |
| 34 | FILES_libatopology = "${libdir}/libatopology.so.*" |
| 35 | |
| 36 | RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf" |
| 37 | RDEPENDS_libatopology_class-target = "alsa-topology-conf" |
| 38 | |
| 39 | # upgrade path |
| 40 | RPROVIDES_${PN} = "libasound" |
| 41 | RREPLACES_${PN} = "libasound" |
| 42 | RCONFLICTS_${PN} = "libasound" |
| 43 | |
| 44 | RPROVIDES_${PN}-dev = "alsa-dev" |
| 45 | RREPLACES_${PN}-dev = "alsa-dev" |
| 46 | RCONFLICTS_${PN}-dev = "alsa-dev" |
| 47 | |
| 48 | RPROVIDES_alsa-conf = "alsa-conf-base" |
| 49 | RREPLACES_alsa-conf = "alsa-conf-base" |
| 50 | RCONFLICTS_alsa-conf = "alsa-conf-base" |
| 51 | |
| 52 | BBCLASSEXTEND = "native nativesdk" |