From 832e4122f80e7df574219ab945d1b34cb153707e Mon Sep 17 00:00:00 2001
From: j1nx
Date: Wed, 23 Feb 2022 20:58:36 +0100
Subject: [PATCH] Add python-ovos-phal-plugin-display-manager-ipc package
---
buildroot-external/Config.in | 1 +
buildroot-external/configs/rpi3_64-gui_defconfig | 1 +
buildroot-external/configs/rpi4_64-gui_defconfig | 1 +
.../Config.in | 6 ++++++
.../python-ovos-phal-plugin-display-manager-ipc.hash | 1 +
.../python-ovos-phal-plugin-display-manager-ipc.mk | 12 ++++++++++++
6 files changed, 22 insertions(+)
create mode 100644 buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/Config.in
create mode 100644 buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.hash
create mode 100644 buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.mk
diff --git a/buildroot-external/Config.in b/buildroot-external/Config.in
index f874501f..3d5c0cd5 100644
--- a/buildroot-external/Config.in
+++ b/buildroot-external/Config.in
@@ -251,6 +251,7 @@ menu "Mycroft A.I. Personal Assistant"
menu "Mycroft A.I. Plugins"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-phal/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-phal-plugin-connectivity-events/Config.in"
+ source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-phal-plugin-display-manager-ipc/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-stt-plugin-chromium/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-stt-plugin-pocketsphinx/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/python-ovos-stt-plugin-vosk/Config.in"
diff --git a/buildroot-external/configs/rpi3_64-gui_defconfig b/buildroot-external/configs/rpi3_64-gui_defconfig
index e51f6e90..b6ce090b 100644
--- a/buildroot-external/configs/rpi3_64-gui_defconfig
+++ b/buildroot-external/configs/rpi3_64-gui_defconfig
@@ -712,6 +712,7 @@ BR2_PACKAGE_PYTHON_OVOS_CORE=y
BR2_PACKAGE_MYCROFT_SERVICE=y
BR2_PACKAGE_PYTHON_OVOS_PHAL=y
BR2_PACKAGE_PYTHON_OVOS_PHAL_PLUGIN_CONNECTIVITY_EVENTS=y
+BR2_PACKAGE_PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_CHROMIUM=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_VOSK=y
diff --git a/buildroot-external/configs/rpi4_64-gui_defconfig b/buildroot-external/configs/rpi4_64-gui_defconfig
index cda12a45..41cda0ef 100644
--- a/buildroot-external/configs/rpi4_64-gui_defconfig
+++ b/buildroot-external/configs/rpi4_64-gui_defconfig
@@ -714,6 +714,7 @@ BR2_PACKAGE_PYTHON_OVOS_CORE=y
BR2_PACKAGE_MYCROFT_SERVICE=y
BR2_PACKAGE_PYTHON_OVOS_PHAL=y
BR2_PACKAGE_PYTHON_OVOS_PHAL_PLUGIN_CONNECTIVITY_EVENTS=y
+BR2_PACKAGE_PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_CHROMIUM=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_POCKETSPHINX=y
BR2_PACKAGE_PYTHON_OVOS_STT_PLUGIN_VOSK=y
diff --git a/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/Config.in b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/Config.in
new file mode 100644
index 00000000..8c24aeaf
--- /dev/null
+++ b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/Config.in
@@ -0,0 +1,6 @@
+config BR2_PACKAGE_PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC
+ bool "python-ovos-phal-plugin-display-manager-ipc"
+ help
+ OVOS-PHAL Display Manager IPC
+
+ https://github.com/OpenVoiceOS/ovos-PHAL-plugin-display-manager-ipc
diff --git a/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.hash b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.hash
new file mode 100644
index 00000000..f04fc515
--- /dev/null
+++ b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.hash
@@ -0,0 +1 @@
+sha256 8af5bc05a7d1d26e6d539cc974aaf3ee8edd7eaa3ba6b6667c6944eee4c7fbf1 python-ovos-phal-plugin-display-manager-ipc-65599cc2efa842af71ae3db25a5f491f52810178.tar.gz
diff --git a/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.mk b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.mk
new file mode 100644
index 00000000..f1f8c103
--- /dev/null
+++ b/buildroot-external/package/python-ovos-phal-plugin-display-manager-ipc/python-ovos-phal-plugin-display-manager-ipc.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# python-ovos-phal-plugin-display-manager-ipc
+#
+################################################################################
+
+PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC_VERSION = 65599cc2efa842af71ae3db25a5f491f52810178
+PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC_SITE = $(call github,OpenVoiceOS,ovos-PHAL-plugin-display-manager-ipc,$(PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC_VERSION))
+PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC_SETUP_TYPE = setuptools
+PYTHON_OVOS_PHAL_PLUGIN_DISPLAY_MANAGER_IPC_LICENSE_FILES = LICENSE
+
+$(eval $(python-package))