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 | |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 10 | SRC_URI = "https://www.alsa-project.org/files/pub/lib/${BP}.tar.bz2 \ |
| 11 | file://ad8c8e5503980295dd8e5e54a6285d2d7e32eb1e.patch" |
| 12 | SRC_URI[sha256sum] = "f7554be1a56cdff468b58fc1c29b95b64864c590038dd309c7a978c7116908f7" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 13 | |
| 14 | inherit autotools pkgconfig |
| 15 | |
| 16 | EXTRA_OECONF += " \ |
| 17 | ${@bb.utils.contains('TARGET_FPU', 'soft', '--with-softfloat', '', d)} \ |
| 18 | --disable-python \ |
| 19 | " |
| 20 | |
| 21 | PACKAGES =+ "alsa-server alsa-conf libatopology" |
| 22 | |
| 23 | FILES_alsa-server = "${bindir}/*" |
| 24 | FILES_alsa-conf = "${datadir}/alsa/" |
| 25 | FILES_libatopology = "${libdir}/libatopology.so.*" |
| 26 | |
| 27 | RDEPENDS_${PN}_class-target = "alsa-conf alsa-ucm-conf" |
| 28 | RDEPENDS_libatopology_class-target = "alsa-topology-conf" |
| 29 | |
| 30 | # upgrade path |
| 31 | RPROVIDES_${PN} = "libasound" |
| 32 | RREPLACES_${PN} = "libasound" |
| 33 | RCONFLICTS_${PN} = "libasound" |
| 34 | |
| 35 | RPROVIDES_${PN}-dev = "alsa-dev" |
| 36 | RREPLACES_${PN}-dev = "alsa-dev" |
| 37 | RCONFLICTS_${PN}-dev = "alsa-dev" |
| 38 | |
| 39 | RPROVIDES_alsa-conf = "alsa-conf-base" |
| 40 | RREPLACES_alsa-conf = "alsa-conf-base" |
| 41 | RCONFLICTS_alsa-conf = "alsa-conf-base" |
| 42 | |
| 43 | BBCLASSEXTEND = "native nativesdk" |