Andrew Geissler | d159c7f | 2021-09-02 21:05:58 -0500 | [diff] [blame] | 1 | SUMMARY = "Bluetooth Audio ALSA Backend" |
| 2 | HOMEPAGE = "https://github.com/Arkq/bluez-alsa" |
| 3 | SECTION = "libs" |
| 4 | |
| 5 | LICENSE = "MIT" |
| 6 | LIC_FILES_CHKSUM = "file://LICENSE;md5=72d868d66bdd5bf51fe67734431de057" |
| 7 | |
| 8 | DEPENDS += "alsa-lib bluez5 glib-2.0 sbc" |
| 9 | |
| 10 | SRCREV = "aac8742a9e7dd12a1fead9cbce7d2dc8b961999c" |
| 11 | |
| 12 | SRC_URI = " \ |
| 13 | git://github.com/Arkq/bluez-alsa.git;protocol=https;branch=master \ |
| 14 | file://bluealsa.service \ |
| 15 | " |
| 16 | |
| 17 | S = "${WORKDIR}/git" |
| 18 | |
| 19 | PACKAGECONFIG[aac] = "--enable-aac, --disable-aac," |
| 20 | PACKAGECONFIG[aptx] = "--enable-aptx,--disable-aptx," |
| 21 | PACKAGECONFIG[hcitop] = "--enable-hcitop, --disable-hcitop, libbsd ncurses" |
| 22 | PACKAGECONFIG[systemd] = "--enable-systemd, --disable-systemd, systemd" |
| 23 | |
| 24 | PACKAGECONFIG += "hcitop ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 25 | |
| 26 | inherit autotools pkgconfig systemd |
| 27 | |
| 28 | FILES:${PN} += "\ |
| 29 | ${datadir}/alsa/alsa.conf.d/20-bluealsa.conf\ |
| 30 | ${libdir}/alsa-lib/libasound_module_ctl_bluealsa.so\ |
| 31 | ${libdir}/alsa-lib/libasound_module_pcm_bluealsa.so\ |
| 32 | " |
| 33 | |
| 34 | FILES:${PN}-staticdev += "\ |
| 35 | ${libdir}/alsa-lib/libasound_module_ctl_bluealsa.a\ |
| 36 | ${libdir}/alsa-lib/libasound_module_pcm_bluealsa.a\ |
| 37 | " |
| 38 | |
| 39 | SYSTEMD_SERVICE:${PN} = "bluealsa.service bluealsa-aplay.service" |