1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-25 16:22:58 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-gui/mycroft-gui.mk
j1nx 71f8e6c00f The big catch up game - part2
Pushed for backup. DO NOT build this as of yet.
2022-09-25 18:44:08 +02:00

29 lines
939 B
Makefile

################################################################################
#
# mycroft-gui
#
################################################################################
MYCROFT_GUI_VERSION = 53fb4a1824c9ce9155000ec0f31663f0438195ab
MYCROFT_GUI_SITE = $(call github,MycroftAI,mycroft-gui,$(MYCROFT_GUI_VERSION))
MYCROFT_GUI_LICENSE = Apache License 2.0
MYCROFT_GUI_INSTALL_STAGING = YES
MYCROFT_GUI_DEPENDENCIES = host-pkgconf kf5-kirigami2 lottie-qml
MYCROFT_GUI_SUPPORTS_IN_SOURCE_BUILD = NO
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
MYCROFT_GUI_PRE_CONFIGURE_HOOKS += MYCROFT_GUI_CHANGE_IMAGE
MYCROFT_GUI_PRE_CONFIGURE_HOOKS += MYCROFT_GUI_CHANGE_STATUS
$(eval $(cmake-package))