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 | 0903674 | 2021-06-25 14:25:14 -0500 | [diff] [blame] | 12 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2" |
| 13 | SRC_URI[sha256sum] = "628421d950cecaf234de3f899d520c0a6923313c964ad751ffac081df331438e" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 14 | |
| 15 | inherit autotools pkgconfig |
| 16 | |
| 17 | EXTRA_OECONF += " \ |
| 18 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 19 | --disable-python \ |
| 20 | " |
| 21 | |
| 22 | PACKAGES =+ "alsa-server alsa-conf libatopology" |
| 23 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 24 | FILES:alsa-server = "${bindir}/*" |
| 25 | FILES:alsa-conf = "${datadir}/alsa/" |
| 26 | FILES:libatopology = "${libdir}/libatopology.so.*" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 27 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 28 | RDEPENDS:${PN}:class-target = "alsa-conf alsa-ucm-conf" |
| 29 | RDEPENDS:libatopology:class-target = "alsa-topology-conf" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 30 | |
| 31 | # upgrade path |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 32 | RPROVIDES:${PN} = "libasound" |
| 33 | RREPLACES:${PN} = "libasound" |
| 34 | RCONFLICTS:${PN} = "libasound" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 35 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 36 | RPROVIDES:${PN}-dev = "alsa-dev" |
| 37 | RREPLACES:${PN}-dev = "alsa-dev" |
| 38 | RCONFLICTS:${PN}-dev = "alsa-dev" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 39 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 40 | RPROVIDES:alsa-conf = "alsa-conf-base" |
| 41 | RREPLACES:alsa-conf = "alsa-conf-base" |
| 42 | RCONFLICTS:alsa-conf = "alsa-conf-base" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 43 | |
| 44 | BBCLASSEXTEND = "native nativesdk" |