2020-04-25 21:15:03 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-gui
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-12-22 19:10:57 +01:00
|
|
|
MYCROFT_GUI_VERSION = 59cebdf574bd7500332ca529d792115520314cb6
|
2020-05-14 09:16:03 +02:00
|
|
|
MYCROFT_GUI_SITE = $(call github,MycroftAI,mycroft-gui,$(MYCROFT_GUI_VERSION))
|
2020-04-25 21:15:03 +02:00
|
|
|
MYCROFT_GUI_LICENSE = Apache License 2.0
|
2020-05-14 09:16:03 +02:00
|
|
|
|
2020-04-25 21:15:03 +02:00
|
|
|
MYCROFT_GUI_INSTALL_STAGING = YES
|
2020-05-14 09:16:03 +02:00
|
|
|
MYCROFT_GUI_DEPENDENCIES = host-pkgconf
|
|
|
|
MYCROFT_GUI_SUPPORTS_IN_SOURCE_BUILD = NO
|
2020-04-25 21:15:03 +02:00
|
|
|
|
2021-01-05 15:01:48 +01:00
|
|
|
define MYCROFT_GUI_CHANGE_IMAGE
|
|
|
|
cp $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-gui/background.png \
|
|
|
|
$(@D)/application/
|
|
|
|
endef
|
|
|
|
|
2021-01-07 21:21:21 +01:00
|
|
|
define MYCROFT_GUI_CHANGE_STATUS
|
|
|
|
cp $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-gui/StatusIndicator.qml \
|
|
|
|
$(@D)/import/qml/
|
|
|
|
endef
|
|
|
|
|
2021-01-05 15:01:48 +01:00
|
|
|
MYCROFT_GUI_PRE_CONFIGURE_HOOKS += MYCROFT_GUI_CHANGE_IMAGE
|
2021-01-07 21:21:21 +01:00
|
|
|
MYCROFT_GUI_PRE_CONFIGURE_HOOKS += MYCROFT_GUI_CHANGE_STATUS
|
2021-01-05 15:01:48 +01:00
|
|
|
|
2020-04-25 21:15:03 +02:00
|
|
|
$(eval $(cmake-package))
|