diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-07-07 17:25:12 +0200 |
---|---|---|
committer | Eric Bénard <eric@eukrea.com> | 2013-08-22 09:51:26 +0200 |
commit | d8a1e2b847f720a764de8368fc83693150473abb (patch) | |
tree | 6082dceff2fec769305075ba56f03d692931513d | |
parent | fdbb92b1bbec7b342333d61824a4485c18d50662 (diff) | |
download | meta-openembedded-d8a1e2b847f720a764de8368fc83693150473abb.tar.gz |
portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack
* autoenabled dependencies on alsa-lib and jack are breaking espeak
when it's built against portaudio in sysroot without them
| ld: warning: libasound.so.2, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
| ld: warning: libjack.so.0, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
| usr/lib/libportaudio.so: undefined reference to `snd_pcm_sw_params_sizeof@ALSA_0.9'
| usr/lib/libportaudio.so: undefined reference to `snd_pcm_hw_params_test_period_size@ALSA_0.9'
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r-- | meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb index b35d1d84e0..a2b25cc9c9 100644 --- a/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb +++ b/meta-oe/recipes-support/portaudio/portaudio-v19_svn.bb | |||
@@ -2,15 +2,22 @@ DESCRIPTION = "A portable audio library" | |||
2 | SECTION = "libs/multimedia" | 2 | SECTION = "libs/multimedia" |
3 | LICENSE = "PortAudio" | 3 | LICENSE = "PortAudio" |
4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=26107732c2ab637c5710446fcfaf02df" |
5 | SRCREV = "1387" | 5 | |
6 | PV = "v19+svnr${SRCPV}" | 6 | PV = "v19+svnr${SRCPV}" |
7 | PR = "r0" | 7 | PR = "r0" |
8 | 8 | ||
9 | SRCREV = "1387" | ||
9 | SRC_URI = "svn://subversion.assembla.com/svn/portaudio/portaudio;module=trunk;protocol=http" | 10 | SRC_URI = "svn://subversion.assembla.com/svn/portaudio/portaudio;module=trunk;protocol=http" |
10 | S = "${WORKDIR}/trunk" | 11 | S = "${WORKDIR}/trunk" |
11 | 12 | ||
12 | inherit autotools | 13 | inherit autotools |
13 | 14 | ||
15 | PACKAGECONFIG ??= "alsa jack" | ||
16 | PACKAGECONFIG[alsa] = "--with-alsa, --without-alsa, alsa-lib," | ||
17 | PACKAGECONFIG[jack] = "--with-jack, --without-jack, jack," | ||
18 | |||
19 | EXTRA_OECONF = "--without-oss" | ||
20 | |||
14 | TESTS = " pa_devs patest1 patest_hang patest_many patest_prime patest_sine patest_stop patest_write_sine \ | 21 | TESTS = " pa_devs patest1 patest_hang patest_many patest_prime patest_sine patest_stop patest_write_sine \ |
15 | pa_fuzz patest_buffer patest_in_overflow patest_maxsines patest_read_record patest_sine8 patest_sync \ | 22 | pa_fuzz patest_buffer patest_in_overflow patest_maxsines patest_read_record patest_sine8 patest_sync \ |
16 | pa_minlat patest_callbackstop patest_latency patest_multi_sine patest_record patest_sine_formats patest_toomanysines \ | 23 | pa_minlat patest_callbackstop patest_latency patest_multi_sine patest_record patest_sine_formats patest_toomanysines \ |