1*4882a593Smuzhiyun################################################################################ 2*4882a593Smuzhiyun# 3*4882a593Smuzhiyun# psplash 4*4882a593Smuzhiyun# 5*4882a593Smuzhiyun################################################################################ 6*4882a593Smuzhiyun 7*4882a593SmuzhiyunPSPLASH_VERSION = fd33a9b3d68c89fa22ff6873f4f9fd28bd85830c 8*4882a593SmuzhiyunPSPLASH_SITE = git://git.yoctoproject.org/psplash 9*4882a593SmuzhiyunPSPLASH_LICENSE = GPL-2.0+ 10*4882a593SmuzhiyunPSPLASH_LICENSE_FILES = COPYING 11*4882a593SmuzhiyunPSPLASH_AUTORECONF = YES 12*4882a593SmuzhiyunPSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf 13*4882a593Smuzhiyun 14*4882a593Smuzhiyunifeq ($(BR2_PACKAGE_SYSTEMD),y) 15*4882a593SmuzhiyunPSPLASH_DEPENDENCIES += systemd 16*4882a593SmuzhiyunPSPLASH_CONF_OPTS += --with-systemd 17*4882a593Smuzhiyunelse 18*4882a593SmuzhiyunPSPLASH_CONF_OPTS += --without-systemd 19*4882a593Smuzhiyunendif 20*4882a593Smuzhiyun 21*4882a593SmuzhiyunPSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE)) 22*4882a593Smuzhiyun 23*4882a593Smuzhiyunifneq ($(PSPLASH_IMAGE),) 24*4882a593Smuzhiyundefine PSPLASH_COPY_IMAGE 25*4882a593Smuzhiyun cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png 26*4882a593Smuzhiyunendef 27*4882a593Smuzhiyun 28*4882a593SmuzhiyunPSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE 29*4882a593Smuzhiyunendif 30*4882a593Smuzhiyun 31*4882a593Smuzhiyundefine PSPLASH_INSTALL_INIT_SYSTEMD 32*4882a593Smuzhiyun $(INSTALL) -D -m 644 package/psplash/psplash-start.service \ 33*4882a593Smuzhiyun $(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service 34*4882a593Smuzhiyun 35*4882a593Smuzhiyun $(INSTALL) -D -m 644 package/psplash/psplash-systemd.service \ 36*4882a593Smuzhiyun $(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service 37*4882a593Smuzhiyunendef 38*4882a593Smuzhiyun 39*4882a593Smuzhiyun$(eval $(autotools-package)) 40