Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | SUMMARY = "A portable audio library" |
| 2 | SECTION = "libs/multimedia" |
| 3 | LICENSE = "MIT" |
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" |
| 5 | |
| 6 | PV = "v190600" |
| 7 | |
| 8 | SRC_URI = "http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz \ |
| 9 | file://ldflags.patch" |
| 10 | SRC_URI[md5sum] = "4df8224e047529ca9ad42f0521bf81a8" |
| 11 | SRC_URI[sha256sum] = "f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513" |
| 12 | |
| 13 | S = "${WORKDIR}/portaudio" |
| 14 | |
| 15 | inherit autotools pkgconfig |
| 16 | |
| 17 | PACKAGECONFIG ??= "alsa jack" |
| 18 | PACKAGECONFIG[alsa] = "--with-alsa, --without-alsa, alsa-lib," |
| 19 | PACKAGECONFIG[jack] = "--with-jack, --without-jack, jack," |
| 20 | |
| 21 | EXTRA_OECONF = "--without-oss --without-asihpi" |
| 22 | |
| 23 | do_install_append() { |
| 24 | mkdir --parents ${D}${bindir} |
| 25 | for b in ${B}/bin/pa*; do |
| 26 | # Bit nasty, should always work |
| 27 | ${B}/*-libtool --mode install install $b ${D}${bindir} |
| 28 | done |
| 29 | } |
| 30 | |
| 31 | PACKAGES += "portaudio-examples" |
| 32 | FILES_portaudio-examples = "${bindir}" |