1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2025-01-30 10:25:12 +01:00
j1nx e84818f62e Get buildroot-external tree to reflect 2022.02.1
- Changes to the raspberypi board folder/structure
- Bump python related poackages and fixes to Python3.10
- Bump KF5 framewerk packages to 5.91
- Bump qtwebengine to 5.15.8
- Bump/Add/Fix all OVOS related packages
- Fixes all over the OpenVoiceOS structure for 2022.02.1
2022-05-12 10:46:41 +02:00

43 lines
2.0 KiB
Makefile

################################################################################
#
# respeaker
#
################################################################################
RESPEAKER_VERSION = 6bf1dbd04e55d412abbba3832eccbcecb3f09810
RESPEAKER_SITE = $(call github,HinTak,seeed-voicecard,$(RESPEAKER_VERSION))
RESPEAKER_LICENSE = GNU General Public License v3.0
RESPEAKER_DEPENDENCIES = rpi-firmware dtc
$(eval $(kernel-module))
define RESPEAKER_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/etc/voicecard
$(INSTALL) -D -m 0644 $(@D)/*.state $(TARGET_DIR)/etc/voicecard
mkdir -p $(BINARIES_DIR)/rpi-firmware/overlays
$(INSTALL) -D -m 0644 $(@D)/seeed-2mic-voicecard.dtbo $(BINARIES_DIR)/rpi-firmware/overlays/
$(INSTALL) -D -m 0644 $(@D)/seeed-4mic-voicecard.dtbo $(BINARIES_DIR)/rpi-firmware/overlays/
$(INSTALL) -D -m 0644 $(@D)/seeed-8mic-voicecard.dtbo $(BINARIES_DIR)/rpi-firmware/overlays/
mkdir -p $(TARGET_DIR)/usr/share/pulseaudio/alsa-mixer/profile-sets/
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_4mic/seeed-voicecard.conf \
$(TARGET_DIR)/usr/share/pulseaudio/alsa-mixer/profile-sets/seeed-voicecard-4mic.conf
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_6mic/seeed-voicecard.conf \
$(TARGET_DIR)/usr/share/pulseaudio/alsa-mixer/profile-sets/seeed-voicecard-8mic.conf
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/91-seeedvoicecard.rules \
$(TARGET_DIR)/etc/udev/rules.d/91-seeedvoicecard.rules
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_4mic/default.pa \
$(TARGET_DIR)/etc/pulse/seeed-voicecard-4mic-default.pa
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_4mic/daemon.conf \
$(TARGET_DIR)/etc/pulse/seeed-voicecard-4mic-daemon.conf
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_6mic/default.pa \
$(TARGET_DIR)/etc/pulse/seeed-voicecard-8mic-default.pa
$(INSTALL) -D -m 0644 $(@D)/pulseaudio/pulse_config_6mic/daemon.conf \
$(TARGET_DIR)/etc/pulse/seeed-voicecard-8mic-daemon.conf
endef
$(eval $(generic-package))