meta-openembedded/meta-python/recipes-devtools/python/python3-pyaudio_0.2.13.bb
Khem Raj 917c577975 python3-pyaudio: Fix cross builds
Do not poison include paths with build system include and lib dirs
these paths get appended to cflags/ldflags when building the c extention

Fixes
| /mnt/b/yoe/master/build/tmp/work/cortexa72-cortexa53-crypto-yoe-linux/python3-pyaudio/0.2.13-r0/recipe-sysroot/usr/include/python3.11/pyconfig.h:23:10: fatal error: 'python3.11/pyconfig-32.h' file not found
|    23 | #include <python3.11/pyconfig-32.h>
|       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
| 1 error generated.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
2023-07-27 08:54:40 -07:00

18 lines
557 B
BlitzBasic

SUMMARY = "PyAudio provides Python bindings for PortAudio, the cross-platform audio I/O library"
SECTION = "devel/python"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=7c3152b432b96d6dc4a1cb35397da9ec"
PYPI_PACKAGE = "PyAudio"
SRC_URI[md5sum] = "41199ffd2abbdaf1ce6b88cf8af48cc5"
SRC_URI[sha256sum] = "26bccc81e4243d1c0ff5487e6b481de6329fcd65c79365c267cef38f363a2b56"
inherit pypi setuptools3
SRC_URI += "file://0001-Remove-absolute-paths-into-build-machine-system-dirs.patch"
DEPENDS += "portaudio-v19"
RDEPENDS:${PN} += "portaudio-v19"