Files
Olivier Benjamin f5d4ed04ac package/psplash: bump to revision 53ae74a
This includes the following changes:

53ae74a configure.ac: fix autoconf code for img_fullscreen
ec1ed35 configure.ac: standardize default-enabled options
1f64c65 README: Update mailing list to point to yocto-patches ml
b1a75fd psplash: Only define bool if using C standard older than C23
5a32cf6 psplash.c: fix crash from length becoming negative
ecc1913 SECURITY.md: Add file

Signed-off-by: Olivier Benjamin <olivier.benjamin@bootlin.com>
Signed-off-by: Julien Olivain <ju.o@free.fr>
2025-05-16 15:31:48 +02:00

59 lines
1.6 KiB
Makefile

################################################################################
#
# psplash
#
################################################################################
PSPLASH_VERSION = 53ae74a36bf17675228552abb927d2f981940a6a
PSPLASH_SITE = https://git.yoctoproject.org/psplash
PSPLASH_SITE_METHOD = git
PSPLASH_LICENSE = GPL-2.0+
PSPLASH_LICENSE_FILES = COPYING
PSPLASH_AUTORECONF = YES
PSPLASH_DEPENDENCIES = host-gdk-pixbuf host-pkgconf
ifeq ($(BR2_PACKAGE_SYSTEMD),y)
PSPLASH_DEPENDENCIES += systemd
PSPLASH_CONF_OPTS += --with-systemd
else
PSPLASH_CONF_OPTS += --without-systemd
endif
ifeq ($(BR2_PACKAGE_PSPLASH_PROGRESS_BAR),y)
PSPLASH_CONF_OPTS += --enable-progress-bar
else
PSPLASH_CONF_OPTS += --disable-progress-bar
endif
ifeq ($(BR2_PACKAGE_PSPLASH_STARTUP_MSG),y)
PSPLASH_CONF_OPTS += --enable-startup-msg
else
PSPLASH_CONF_OPTS += --disable-startup-msg
endif
ifeq ($(BR2_PACKAGE_PSPLASH_FULL_SCREEN),y)
PSPLASH_CONF_OPTS += --enable-img-fullscreen
else
PSPLASH_CONF_OPTS += --disable-img-fullscreen
endif
PSPLASH_IMAGE = $(call qstrip,$(BR2_PACKAGE_PSPLASH_IMAGE))
ifneq ($(PSPLASH_IMAGE),)
define PSPLASH_COPY_IMAGE
cp $(PSPLASH_IMAGE) $(@D)/base-images/psplash-poky.png
endef
PSPLASH_POST_EXTRACT_HOOKS += PSPLASH_COPY_IMAGE
endif
define PSPLASH_INSTALL_INIT_SYSTEMD
$(INSTALL) -D -m 644 package/psplash/psplash-start.service \
$(TARGET_DIR)/usr/lib/systemd/system/psplash-start.service
$(INSTALL) -D -m 644 package/psplash/psplash-systemd.service \
$(TARGET_DIR)/usr/lib/systemd/system/psplash-systemd.service
endef
$(eval $(autotools-package))