Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 1 | SUMMARY = "a2jmidid is daemon for exposing ALSA sequencer applications as JACK MIDI" |
| 2 | SECTION = "libs/multimedia" |
| 3 | |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = " \ |
| 6 | file://gpl2.txt;md5=751419260aa954499f7abaabaa882bbe \ |
| 7 | " |
| 8 | |
| 9 | DEPENDS = "alsa-lib jack dbus" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 10 | DEPENDS_append_libc-musl = " libexecinfo" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 11 | |
| 12 | SRC_URI = " \ |
| 13 | http://download.gna.org/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 14 | file://0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 15 | file://0002-aarch64.patch \ |
Brad Bishop | 00ab237 | 2019-10-14 11:06:18 -0400 | [diff] [blame] | 16 | file://riscv_ucontext.patch \ |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 17 | " |
| 18 | SRC_URI[md5sum] = "9cf4edbc3ad2ddeeaf6c8c1791ff3ddd" |
| 19 | SRC_URI[sha256sum] = "2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f" |
| 20 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 21 | inherit waf pkgconfig |
| 22 | |
| 23 | LDFLAGS_append_libc-musl = " -lexecinfo" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 24 | |
| 25 | export LINKFLAGS="${LDFLAGS}" |
| 26 | |
Andrew Geissler | 1548c07 | 2019-02-22 16:03:50 -0600 | [diff] [blame] | 27 | do_configure() { |
| 28 | sed -i 's|/usr/bin/.*python$|/usr/bin/env python2|' ${S}/a2j_control ${S}/waf ${S}/wscript |
| 29 | (cd ${B} && ${S}/waf configure --prefix=${prefix} ${WAF_EXTRA_CONF} ${EXTRA_OECONF}) |
| 30 | } |
| 31 | |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 32 | FILES_${PN} += "${datadir}/dbus-1/services" |