Add mycroft-skill-osm

This commit is contained in:
j1nx 2021-09-01 19:44:10 +02:00
parent a4e10caf2a
commit 7cfd09252f
4 changed files with 28 additions and 0 deletions

View File

@ -224,6 +224,7 @@ menu "Mycroft A.I. Skills"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-joke/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-naptime/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-news/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-osm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-common-play/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-enclosure/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-homescreen/Config.in"

View File

@ -695,6 +695,7 @@ BR2_PACKAGE_MYCROFT_SKILL_IP=y
BR2_PACKAGE_MYCROFT_SKILL_JOKE=y
BR2_PACKAGE_MYCROFT_SKILL_NAPTIME=y
BR2_PACKAGE_MYCROFT_SKILL_NEWS=y
BR2_PACKAGE_MYCROFT_SKILL_OSM=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_COMMON_PLAY=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_ENCLOSURE=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_HOMESCREEN=y

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_MYCROFT_SKILL_OSM
bool "mycroft-skill-osm"
help
OpenVoiceOS Skill Manager GUI Installer Skill
https://github.com/OpenVoiceOS/skill-osm

View File

@ -0,0 +1,20 @@
################################################################################
#
# mycroft-skill-osm
#
################################################################################
MYCROFT_SKILL_OSM_VERSION = eaf8356e48afd6299136fe5b6fdc43665043443a
MYCROFT_SKILL_OSM_SITE = git://github.com/OpenVoiceOS/skill-osm
MYCROFT_SKILL_OSM_SITE_METHOD = git
MYCROFT_SKILL_OSM_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OSM_DIRNAME = skill-osm.openvoiceos
define MYCROFT_SKILL_OSM_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OSM_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
endef
$(eval $(generic-package))