2019-02-05 12:27:37 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-splash
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-09 10:51:08 +02:00
|
|
|
MYCROFT_SPLASH_SOURCE = psplash-0a902f7cd875ccf018456451be369f05fa55f962.tar.gz
|
|
|
|
MYCROFT_SPLASH_SITE = http://git.yoctoproject.org/cgit/cgit.cgi/psplash/snapshot
|
|
|
|
MYCROFT_SPLASH_LICENSE = GPL-2.0+
|
|
|
|
MYCROFT_SPLASH_LICENSE_FILES = COPYING
|
|
|
|
MYCROFT_SPLASH_AUTORECONF = YES
|
2019-02-05 12:27:37 +01:00
|
|
|
|
2020-04-09 10:51:08 +02:00
|
|
|
define MYCROFT_SPLASH_INSTALL_INIT_SYSTEMD
|
2020-10-06 21:23:38 +02:00
|
|
|
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-splash/mycroft-splash-start.service \
|
2020-04-09 10:51:08 +02:00
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-start.service
|
2019-02-05 12:27:37 +01:00
|
|
|
|
2020-10-06 21:23:38 +02:00
|
|
|
$(INSTALL) -D -m 644 $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-splash/mycroft-splash-quit.service \
|
2020-04-09 10:51:08 +02:00
|
|
|
$(TARGET_DIR)/usr/lib/systemd/system/mycroft-splash-quit.service
|
|
|
|
endef
|
2019-02-05 12:27:37 +01:00
|
|
|
|
2020-04-09 10:51:08 +02:00
|
|
|
define MYCROFT_SPLASH_CHANGE_IMAGE
|
2020-10-06 21:23:38 +02:00
|
|
|
cp $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-splash/psplash-colors.h $(@D)
|
|
|
|
cp $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-splash/psplash-config.h $(@D)
|
|
|
|
cp $(BR2_EXTERNAL_OPENVOICEOS_PATH)/package/mycroft-splash/base-images/* $(@D)/base-images/
|
2019-02-05 12:27:37 +01:00
|
|
|
endef
|
|
|
|
|
2020-04-09 10:51:08 +02:00
|
|
|
MYCROFT_SPLASH_PRE_CONFIGURE_HOOKS += MYCROFT_SPLASH_CHANGE_IMAGE
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|