package/aubio: switch to external waf script

Since the python 3.11 version bump [1], the waf script
bundled in aubio 0.4.9 can't be executed anymore due
to a waf bug [2].

Use the waf script provided by the Buildroot waf package
infrastructure after removing the old waf script and its
libraries.

Fixes:
http://autobuild.buildroot.org/results/e2b/e2be18415ca794c68e708f2fdfd0a1a1ff5be714

[1] 738500c296
[2] 68997828c8

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Romain Naour 2022-12-21 11:51:53 +01:00 committed by Thomas Petazzoni
parent d77db2df74
commit 6264dfae49

View File

@ -16,6 +16,17 @@ AUBIO_CONF_OPTS = \
--disable-docs \
--disable-atlas
# The waf script bundled in aubio 0.4.9 is too old for python3.11
# Similar issue with Jack:
# https://github.com/jackaudio/jack2/issues/898
AUBIO_NEEDS_EXTERNAL_WAF = YES
# The old waf script bundled in aubio 0.4.9 need to be removed first.
define AUBIO_REMOVE_OLD_WAF
$(RM) -fr $(@D)/waf $(@D)/waflib
endef
AUBIO_POST_EXTRACT_HOOKS = AUBIO_REMOVE_OLD_WAF
# Add --notests for each build step to avoid running unit tests on the
# build machine.
AUBIO_WAF_OPTS = --notests