1 ################################################################################
5 ################################################################################
8 MIMIC_SITE
= $(call github
,MycroftAI
,mimic
,$(MIMIC_VERSION
))
10 MIMIC_LICENSE_FILES
= COPYING
12 MIMIC_DEPENDENCIES
= host-pkgconf
14 ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_ALSA
),y
)
15 MIMIC_AUDIO_BACKEND
= alsa
16 MIMIC_DEPENDENCIES
+= alsa-lib
17 else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PORTAUDIO
),y
)
18 MIMIC_AUDIO_BACKEND
= portaudio
19 MIMIC_DEPENDENCIES
+= portaudio
20 else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_PULSEAUDIO
),y
)
21 MIMIC_AUDIO_BACKEND
= pulseaudio
22 MIMIC_DEPENDENCIES
+= pulseaudio
23 else ifeq ($(BR2_PACKAGE_MIMIC_AUDIO_BACKEND_NONE
),y
)
24 MIMIC_AUDIO_BACKEND
= none
27 MIMIC_CONF_OPTS
+= --with-audio
=$(MIMIC_AUDIO_BACKEND
)
29 $(eval
$(autotools-package
))