initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
config BR2_PACKAGE_AUBIO
|
||||
bool "aubio"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
help
|
||||
aubio is a tool designed for the extraction of annotations
|
||||
from audio signals. Its features include segmenting a sound
|
||||
file before each of its attacks, performing pitch detection,
|
||||
tapping the beat and producing midi streams from live audio.
|
||||
|
||||
Because these tasks are difficult, we thought it was important
|
||||
to gather them in a dedicated library. To increase the fun, we
|
||||
have made these algorithms work in a causal way, so as to be
|
||||
used in real time applications with as low delay as possible.
|
||||
Functions can be used offline in sound editors and software
|
||||
samplers, or online in audio effects and virtual instruments.
|
||||
|
||||
https://aubio.org
|
||||
|
||||
comment "aubio needs a toolchain w/ threads, dynamic library"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
@@ -0,0 +1,5 @@
|
||||
# From https://aubio.org/pub/aubio-0.4.9.tar.bz2.sha256
|
||||
sha256 d48282ae4dab83b3dc94c16cf011bcb63835c1c02b515490e1883049c3d1f3da aubio-0.4.9.tar.bz2
|
||||
|
||||
# Hash for license file:
|
||||
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING
|
||||
@@ -0,0 +1,62 @@
|
||||
################################################################################
|
||||
#
|
||||
# aubio
|
||||
#
|
||||
################################################################################
|
||||
|
||||
AUBIO_VERSION = 0.4.9
|
||||
AUBIO_SITE = https://aubio.org/pub
|
||||
AUBIO_SOURCE = aubio-$(AUBIO_VERSION).tar.bz2
|
||||
AUBIO_LICENSE = GPL-3.0+
|
||||
AUBIO_LICENSE_FILES = COPYING
|
||||
AUBIO_INSTALL_STAGING = YES
|
||||
|
||||
AUBIO_CONF_OPTS = \
|
||||
--disable-docs \
|
||||
--disable-atlas
|
||||
|
||||
# Add --notests for each build step to avoid running unit tests on the
|
||||
# build machine.
|
||||
AUBIO_WAF_OPTS = --notests
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBSNDFILE),y)
|
||||
AUBIO_DEPENDENCIES += libsndfile
|
||||
AUBIO_CONF_OPTS += --enable-sndfile
|
||||
else
|
||||
AUBIO_CONF_OPTS += --disable-sndfile
|
||||
endif
|
||||
|
||||
# Could not compile aubio in double precision mode with libsamplerate
|
||||
ifeq ($(BR2_PACKAGE_LIBSAMPLERATE):$(BR2_PACKAGE_FFTW_DOUBLE),y:)
|
||||
AUBIO_DEPENDENCIES += libsamplerate
|
||||
AUBIO_CONF_OPTS += --enable-samplerate
|
||||
else
|
||||
AUBIO_CONF_OPTS += --disable-samplerate
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JACK2),y)
|
||||
AUBIO_DEPENDENCIES += jack2
|
||||
AUBIO_CONF_OPTS += --enable-jack
|
||||
else
|
||||
AUBIO_CONF_OPTS += --disable-jack
|
||||
endif
|
||||
|
||||
# fftw3 require double otherwise it will look for fftw3f
|
||||
ifeq ($(BR2_PACKAGE_FFTW_DOUBLE),y)
|
||||
AUBIO_CONF_OPTS += --enable-fftw3 --enable-double
|
||||
AUBIO_DEPENDENCIES += fftw-double
|
||||
else ifeq ($(BR2_PACKAGE_FFTW_SINGLE),y)
|
||||
AUBIO_CONF_OPTS += --enable-fftw3f --disable-double
|
||||
AUBIO_DEPENDENCIES += fftw-single
|
||||
else
|
||||
AUBIO_CONF_OPTS += --disable-fftw3
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FFMPEG_AVRESAMPLE),y)
|
||||
AUBIO_DEPENDENCIES += ffmpeg
|
||||
AUBIO_CONF_OPTS += --enable-avcodec
|
||||
else
|
||||
AUBIO_CONF_OPTS += --disable-avcodec
|
||||
endif
|
||||
|
||||
$(eval $(waf-package))
|
||||
Reference in New Issue
Block a user