Migrate alarm skill to our version

This commit is contained in:
j1nx 2022-06-03 14:18:27 +02:00
parent 83f49aeda8
commit bcd7ab6ce4
7 changed files with 30 additions and 32 deletions

View File

@ -288,7 +288,6 @@ menu "Mycroft A.I. Plugins"
endmenu
menu "Mycroft A.I. Skills"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skills-repo/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-alarm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-audio-record/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-camera/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-configuration/Config.in"
@ -300,6 +299,7 @@ menu "Mycroft A.I. Skills"
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-alarm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-common-play/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-common-query/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-ovos-enclosure/Config.in"

View File

@ -511,7 +511,6 @@ BR2_PACKAGE_LIBCAP_NG=y
BR2_PACKAGE_LINUX_PAM=y
BR2_PACKAGE_PROTOBUF=y
BR2_PACKAGE_LIBESTR=y
BR2_PACKAGE_LIBUNISTRING=y
BR2_PACKAGE_NCURSES_TARGET_PROGS=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
@ -773,7 +772,6 @@ BR2_PACKAGE_PYTHON_OVOS_WORKSHOP=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_PRECISE=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_PRECISE_LITE=y
BR2_PACKAGE_MYCROFT_SKILL_ALARM=y
BR2_PACKAGE_MYCROFT_SKILL_AUDIO_RECORD=y
BR2_PACKAGE_MYCROFT_SKILL_CAMERA=y
BR2_PACKAGE_MYCROFT_SKILL_CONFIGURATION=y
@ -784,6 +782,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_OVOS_ALARM=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_COMMON_QUERY=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_ENCLOSURE=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_HOMESCREEN=y

View File

@ -512,7 +512,6 @@ BR2_PACKAGE_LIBCAP_NG=y
BR2_PACKAGE_LINUX_PAM=y
BR2_PACKAGE_PROTOBUF=y
BR2_PACKAGE_LIBESTR=y
BR2_PACKAGE_LIBUNISTRING=y
BR2_PACKAGE_NCURSES_TARGET_PROGS=y
BR2_PACKAGE_PCRE_16=y
BR2_PACKAGE_PCRE_32=y
@ -775,7 +774,6 @@ BR2_PACKAGE_PYTHON_OVOS_WORKSHOP=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_PRECISE=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_PRECISE_LITE=y
BR2_PACKAGE_MYCROFT_SKILL_ALARM=y
BR2_PACKAGE_MYCROFT_SKILL_AUDIO_RECORD=y
BR2_PACKAGE_MYCROFT_SKILL_CAMERA=y
BR2_PACKAGE_MYCROFT_SKILL_CONFIGURATION=y
@ -786,6 +784,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_OVOS_ALARM=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_COMMON_QUERY=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_ENCLOSURE=y
BR2_PACKAGE_MYCROFT_SKILL_OVOS_HOMESCREEN=y

View File

@ -1,7 +0,0 @@
config BR2_PACKAGE_MYCROFT_SKILL_ALARM
bool "mycroft-skill-alarm"
help
Mycroft AI official Alarm Skill - Set single
and recurring alarms, with a choice of alarm sounds
https://github.com/MycroftAI/skill-alarm

View File

@ -1,20 +0,0 @@
################################################################################
#
# mycroft-skill-alarm
#
################################################################################
MYCROFT_SKILL_ALARM_VERSION = 25ecc0261abee644257a81f20f020bb92f462970
MYCROFT_SKILL_ALARM_SITE = https://github.com/MycroftAI/skill-alarm
MYCROFT_SKILL_ALARM_SITE_METHOD = git
MYCROFT_SKILL_ALARM_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_ALARM_DIRNAME = skill-alarm.mycroftai
define MYCROFT_SKILL_ALARM_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_ALARM_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_ALARM_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_ALARM_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_ALARM_DIRNAME)
endef
$(eval $(generic-package))

View File

@ -0,0 +1,7 @@
config BR2_PACKAGE_MYCROFT_SKILL_OVOS_ALARM
bool "mycroft-skill-ovos-alarm"
help
OVOS Alarm Skill - Set single
and recurring alarms, with a choice of alarm sounds
https://github.com/OpenVoiceOS/skill-ovos-alarm

View File

@ -0,0 +1,20 @@
################################################################################
#
# mycroft-skill-ovos-alarm
#
################################################################################
MYCROFT_SKILL_OVOS_ALARM_VERSION =
MYCROFT_SKILL_OVOS_ALARM_SITE = https://github.com/OpenVoiceOS/skill-ovos-alarm
MYCROFT_SKILL_OVOS_ALARM_SITE_METHOD = git
MYCROFT_SKILL_OVOS_ALARM_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OVOS_ALARM_DIRNAME = skill-ovos-alarm.openvoiceos
define MYCROFT_SKILL_OVOS_ALARM_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_ALARM_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_ALARM_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OVOS_ALARM_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_ALARM_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_ALARM_DIRNAME)
endef
$(eval $(generic-package))