OpenVoiceOS/buildroot-external/package/mycroft-gui/mycroft-gui.mk

29 lines
939 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-gui
#
################################################################################
2021-11-01 16:22:52 +01:00
MYCROFT_GUI_VERSION = f3d59e2ac6fa4eaeed82564e9977bde982fb960b
MYCROFT_GUI_SITE = $(call github,MycroftAI,mycroft-gui,$(MYCROFT_GUI_VERSION))
MYCROFT_GUI_LICENSE = Apache License 2.0
MYCROFT_GUI_INSTALL_STAGING = YES
2021-01-26 14:10:03 +01:00
MYCROFT_GUI_DEPENDENCIES = host-pkgconf kf5-kirigami2 lottie-qml
MYCROFT_GUI_SUPPORTS_IN_SOURCE_BUILD = NO
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
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
MYCROFT_GUI_PRE_CONFIGURE_HOOKS += MYCROFT_GUI_CHANGE_STATUS
2021-01-05 15:01:48 +01:00
$(eval $(cmake-package))