aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/portaudio/portaudio-v19_20161030.bb
blob: 489f8ad9e2168799e10890c42d49f08dd346aa2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
SUMMARY = "A portable audio library"
SECTION = "libs/multimedia"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df"

PV = "v190600"

SRC_URI = "http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz \
           file://ldflags.patch"
SRC_URI[md5sum] = "4df8224e047529ca9ad42f0521bf81a8"
SRC_URI[sha256sum] = "f5a21d7dcd6ee84397446fa1fa1a0675bb2e8a4a6dceb4305a8404698d8d1513"

S = "${WORKDIR}/portaudio"

inherit autotools pkgconfig

PACKAGECONFIG ??= "alsa jack"
PACKAGECONFIG[alsa] = "--with-alsa, --without-alsa, alsa-lib,"
PACKAGECONFIG[jack] = "--with-jack, --without-jack, jack,"

EXTRA_OECONF = "--without-oss --without-asihpi"

do_install_append() {
    mkdir --parents ${D}${bindir}
    for b in ${B}/bin/pa*; do
        # Bit nasty, should always work
        ${B}/*-libtool --mode install install $b ${D}${bindir}
    done
}

PACKAGES += "portaudio-examples"
FILES_portaudio-examples = "${bindir}"