diff --git a/package/aubio/aubio.mk b/package/aubio/aubio.mk index b2eb2b5e6d..c995fdfac7 100644 --- a/package/aubio/aubio.mk +++ b/package/aubio/aubio.mk @@ -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