blob: a0aa4122321c65af36aadc2bb19e371aa40d7629 [file] [log] [blame]
Patrick Williamsddad1a12017-02-23 20:36:32 -06001SUMMARY = "a2jmidid is daemon for exposing ALSA sequencer applications as JACK MIDI"
2SECTION = "libs/multimedia"
3
4LICENSE = "GPLv2"
5LIC_FILES_CHKSUM = " \
6 file://gpl2.txt;md5=751419260aa954499f7abaabaa882bbe \
7"
8
9DEPENDS = "alsa-lib jack dbus"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050010DEPENDS_append_libc-musl = " libexecinfo"
Patrick Williamsddad1a12017-02-23 20:36:32 -060011
12SRC_URI = " \
13 http://download.gna.org/${BPN}/${BPN}-${PV}.tar.bz2 \
14 file://0001-wscript-add-pthread-library-dependency-to-fix-linkin.patch \
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015 file://0002-aarch64.patch \
Brad Bishop00ab2372019-10-14 11:06:18 -040016 file://riscv_ucontext.patch \
Patrick Williamsddad1a12017-02-23 20:36:32 -060017"
18SRC_URI[md5sum] = "9cf4edbc3ad2ddeeaf6c8c1791ff3ddd"
19SRC_URI[sha256sum] = "2a9635f62aabc59edb54ada07048dd47e896b90caff94bcee710d3582606f55f"
20
Brad Bishop6e60e8b2018-02-01 10:27:11 -050021inherit waf pkgconfig
22
23LDFLAGS_append_libc-musl = " -lexecinfo"
Patrick Williamsddad1a12017-02-23 20:36:32 -060024
25export LINKFLAGS="${LDFLAGS}"
26
Andrew Geissler1548c072019-02-22 16:03:50 -060027do_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 Williamsddad1a12017-02-23 20:36:32 -060032FILES_${PN} += "${datadir}/dbus-1/services"