1################################################################################ 2# 3# psplash 4# 5################################################################################ 6 7PSPLASH_VERSION = fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c 8PSPLASH_SITE = git://git.yoctoproject.org/psplash 9PSPLASH_LICENSE = GPL-2.0+ 10PSPLASH_LICENSE_FILES = COPYING 11PSPLASH_AUTORECONF = YES 12PSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf 13 14ifeq ($(BR2_PACKAGE_SYSTEMD),y) 15PSPLASH_DEPENDENCIES += systemd 16PSPLASH_CONF_OPTS += --with-systemd 17else 18PSPLASH_CONF_OPTS += --without-systemd 19endif 20 21PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) 22 23ifneq ($(PSPLASH_IMAGE),) 24define PSPLASH_COPY_IMAGE 25 cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png 26endef 27 28PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE 29endif 30 31define PSPLASH_INSTALL_INIT_SYSTEMD 32 $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ 33 $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service 34 35 $(INSTALL) -D -m 644 package/psplash/psplash-systemd.service \ 36 $(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service 37endef 38 39$(eval $(autotools-package)) 40