diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in index 238b8a6d..db00859e 100644 --- a/buildroot-external/Config.in +++ b/buildroot-external/Config.in @@ -5,6 +5,7 @@ menu "Mycroft A.I. Personal Assistant" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/mycroft-service/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/mycroft-splash/Config.in" menu "Additional drivers, libraries and/or applications" + source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/alsa-plugins/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/fann/Config.in" source "$BR2_EXTERNAL_MYCROFTOS_PATH/package/respeaker/Config.in" endmenu diff --git a/buildroot-external/configs/mycroftos_rpi3_defconfig b/buildroot-external/configs/mycroftos_rpi3_defconfig index 52ff36a6..8b16694c 100644 --- a/buildroot-external/configs/mycroftos_rpi3_defconfig +++ b/buildroot-external/configs/mycroftos_rpi3_defconfig @@ -195,6 +195,7 @@ BR2_PACKAGE_PYTHON_TEXTTABLE=y BR2_PACKAGE_PYTHON_TORNADO=y BR2_PACKAGE_PYTHON_WEBSOCKET_CLIENT=y BR2_PACKAGE_PYTHON_WRAPT=y +BR2_PACKAGE_LIBAO=y BR2_PACKAGE_LIBCDDB=y BR2_PACKAGE_LIBMAD=y BR2_PACKAGE_LIBSIDPLAY2=y @@ -218,7 +219,7 @@ BR2_PACKAGE_LIBOPENSSL_ENGINES=y BR2_PACKAGE_LIBCONFIG=y BR2_PACKAGE_LIBNFS=y BR2_PACKAGE_LIBRSVG=y -BR2_PACKAGE_BCM2835=y +BR2_PACKAGE_MRAA=y BR2_PACKAGE_WIRINGPI=y BR2_PACKAGE_LIBASS=y BR2_PACKAGE_LIBBLURAY=y @@ -296,6 +297,7 @@ BR2_PACKAGE_PREPARE_SYSTEM_SERVICE=y BR2_PACKAGE_PYTHON_MYCROFT=y BR2_PACKAGE_MYCROFT_SERVICE=y BR2_PACKAGE_MYCROFT_SPLASH=y +BR2_PACKAGE_ALSA_PLUGINS=y BR2_PACKAGE_FANN=y BR2_PACKAGE_RESPEAKER=y BR2_PACKAGE_PYTHON_ADAPT_PARSER=y diff --git a/buildroot-external/package/alsa-plugins/Config.in b/buildroot-external/package/alsa-plugins/Config.in new file mode 100644 index 00000000..3c87f58d --- /dev/null +++ b/buildroot-external/package/alsa-plugins/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_ALSA_PLUGINS + bool "alsa-plugins" + depends on BR2_PACKAGE_ALSA_LIB + select BR2_PACKAGE_LIBSAMPLERATE + help + Advanced Linux Sound Architecture Plugins + + http://www.alsa-project.org/ + diff --git a/buildroot-external/package/alsa-plugins/alsa-plugins.hash b/buildroot-external/package/alsa-plugins/alsa-plugins.hash new file mode 100644 index 00000000..872d5737 --- /dev/null +++ b/buildroot-external/package/alsa-plugins/alsa-plugins.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 161772303da521abbbf1d91f63b470c4791392d5728f2192a42d71292078f907 alsa-plugins-1.1.9.tar.bz2 diff --git a/buildroot-external/package/alsa-plugins/alsa-plugins.mk b/buildroot-external/package/alsa-plugins/alsa-plugins.mk new file mode 100644 index 00000000..5b998bcd --- /dev/null +++ b/buildroot-external/package/alsa-plugins/alsa-plugins.mk @@ -0,0 +1,24 @@ +################################################################################ +# +# alsa-plugins +# +################################################################################ + +ALSA_PLUGINS_VERSION = 1.1.9 +ALSA_PLUGINS_SOURCE = alsa-plugins-$(ALSA_PLUGINS_VERSION).tar.bz2 +ALSA_PLUGINS_SITE = ftp://ftp.alsa-project.org/pub/plugins +ALSA_PLUGINS_LICENSE = LGPL-2.1+ (library), GPL-2.0+ (aserver) +ALSA_PLUGINS_LICENSE_FILES = COPYING aserver/COPYING +ALSA_PLUGINS_CFLAGS = $(TARGET_CFLAGS) +ALSA_PLUGINS_AUTORECONF = YES +ALSA_PLUGINS_DEPENDENCIES = alsa-lib libsamplerate pulseaudio +ALSA_PLUGINS_CONF_OPTS = \ + --with-plugindir=/usr/lib/alsa-lib \ + --localstatedir=/var \ + --disable-jack \ + --enable-samplerate \ + --enable-pulseaudio \ + --disable-avcodec \ + --with-speex=builtin + +$(eval $(autotools-package))