Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "ALSA sound library" |
Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame^] | 2 | DESCRIPTION = "(Occasionally a.k.a. libasound) is a userspace library that \ |
| 3 | provides a level of abstraction over the /dev interfaces provided by the kernel modules." |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 4 | HOMEPAGE = "http://www.alsa-project.org" |
| 5 | BUGTRACKER = "http://alsa-project.org/main/index.php/Bug_Tracking" |
| 6 | SECTION = "libs/multimedia" |
| 7 | LICENSE = "LGPLv2.1 & GPLv2+" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7 \ |
| 9 | file://src/socket.c;md5=285675b45e83f571c6a957fe4ab79c93;beginline=9;endline=24 \ |
| 10 | " |
| 11 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 12 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \ |
| 13 | file://ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch" |
| 14 | SRC_URI[sha256sum] = "f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 15 | |
| 16 | inherit autotools pkgconfig |
| 17 | |
| 18 | EXTRA_OECONF += " \ |
| 19 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 20 | --disable-python \ |
| 21 | " |
| 22 | |
| 23 | PACKAGES =+ "alsa-server alsa-conf libatopology" |
| 24 | |
| 25 | FILES_alsa-server = "${bindir}/*" |
| 26 | FILES_alsa-conf = "${datadir}/alsa/" |
| 27 | FILES_libatopology = "${libdir}/libatopology.so.*" |
| 28 | |
| 29 | RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf" |
| 30 | RDEPENDS_libatopology_class-target = "alsa-topology-conf" |
| 31 | |
| 32 | # upgrade path |
| 33 | RPROVIDES_${PN} = "libasound" |
| 34 | RREPLACES_${PN} = "libasound" |
| 35 | RCONFLICTS_${PN} = "libasound" |
| 36 | |
| 37 | RPROVIDES_${PN}-dev = "alsa-dev" |
| 38 | RREPLACES_${PN}-dev = "alsa-dev" |
| 39 | RCONFLICTS_${PN}-dev = "alsa-dev" |
| 40 | |
| 41 | RPROVIDES_alsa-conf = "alsa-conf-base" |
| 42 | RREPLACES_alsa-conf = "alsa-conf-base" |
| 43 | RCONFLICTS_alsa-conf = "alsa-conf-base" |
| 44 | |
| 45 | BBCLASSEXTEND = "native nativesdk" |