From 294f15e1932d9b40697729597f389a530dfc9454 Mon Sep 17 00:00:00 2001
From: j1nx
Date: Wed, 16 Nov 2022 12:30:28 +0100
Subject: [PATCH] Add and switch over to NeonGeckoCom its alert skill This
replaces the alarm and timer skill and fills in the gap of reminders skill
missing.
---
buildroot-external/Config.in | 1 +
buildroot-external/configs/rpi4_64-gui_defconfig | 3 +--
buildroot-external/package/skill-alerts/Config.in | 6 ++++++
.../package/skill-alerts/skill-alerts.hash | 1 +
.../package/skill-alerts/skill-alerts.mk | 12 ++++++++++++
5 files changed, 21 insertions(+), 2 deletions(-)
create mode 100644 buildroot-external/package/skill-alerts/Config.in
create mode 100644 buildroot-external/package/skill-alerts/skill-alerts.hash
create mode 100644 buildroot-external/package/skill-alerts/skill-alerts.mk
diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in
index c8abd68a..c4cbd3e8 100644
--- a/buildroot-external/Config.in
+++ b/buildroot-external/Config.in
@@ -316,6 +316,7 @@ menu "Plugins"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-ww-plugin-vosk/Config.in"
endmenu
menu "Skills"
+ source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/skill-alerts/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/skill-camera/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/mycroft-skill-osm/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/skill-ovos-alarm/Config.in"
diff --git a/buildroot-external/configs/rpi4_64-gui_defconfig b/buildroot-external/configs/rpi4_64-gui_defconfig
index aea24330..e471bc24 100644
--- a/buildroot-external/configs/rpi4_64-gui_defconfig
+++ b/buildroot-external/configs/rpi4_64-gui_defconfig
@@ -744,7 +744,7 @@ BR2_PACKAGE_PYTHON_OVOS_WORKSHOP=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_PRECISE_LITE=y
BR2_PACKAGE_PYTHON_OVOS_WW_PLUGIN_VOSK=y
-BR2_PACKAGE_SKILL_OVOS_ALARM=y
+BR2_PACKAGE_SKILL_ALERTS=y
BR2_PACKAGE_SKILL_OVOS_DATE_TIME=y
BR2_PACKAGE_SKILL_OVOS_DDG=y
BR2_PACKAGE_SKILL_OVOS_FALLBACK_UNKNOWN=y
@@ -755,7 +755,6 @@ BR2_PACKAGE_SKILL_OVOS_NOTES=y
BR2_PACKAGE_SKILL_OVOS_SETTINGS=y
BR2_PACKAGE_SKILL_OVOS_SETUP=y
BR2_PACKAGE_SKILL_OVOS_STOP=y
-BR2_PACKAGE_SKILL_OVOS_TIMER=y
BR2_PACKAGE_SKILL_OVOS_VOLUME=y
BR2_PACKAGE_SKILL_OVOS_PERSONAL=y
BR2_PACKAGE_SKILL_OVOS_WEATHER=y
diff --git a/buildroot-external/package/skill-alerts/Config.in b/buildroot-external/package/skill-alerts/Config.in
new file mode 100644
index 00000000..fc2dbf6a
--- /dev/null
+++ b/buildroot-external/package/skill-alerts/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_SKILL_ALERTS
+ bool "skill-alerts"
+ help
+ A skill to schedule alarms, timers, and reminders
+
+ https://github.com/NeonGeckoCom/skill-alerts
diff --git a/buildroot-external/package/skill-alerts/skill-alerts.hash b/buildroot-external/package/skill-alerts/skill-alerts.hash
new file mode 100644
index 00000000..bc266ceb
--- /dev/null
+++ b/buildroot-external/package/skill-alerts/skill-alerts.hash
@@ -0,0 +1 @@
+sha256 f329d6ff82a1f6af23eed4800c7ca593d3a8466006e474a56c4bf758b6d3f8ca skill-alerts-fa8b142fdd485a3c5cdb3757d10ca1b4ba019eb9.tar.gz
diff --git a/buildroot-external/package/skill-alerts/skill-alerts.mk b/buildroot-external/package/skill-alerts/skill-alerts.mk
new file mode 100644
index 00000000..b00552ae
--- /dev/null
+++ b/buildroot-external/package/skill-alerts/skill-alerts.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# skill-alerts
+#
+################################################################################
+
+SKILL_ALERTS_VERSION = fa8b142fdd485a3c5cdb3757d10ca1b4ba019eb9
+SKILL_ALERTS_SITE = $(call github,NeonGeckoCom,skill-alerts,$(SKILL_ALERTS_VERSION))
+SKILL_ALERTS_SETUP_TYPE = setuptools
+SKILL_ALERTS_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))