From f15373f84dd78c128a4379eda6fb241dd8792ffb Mon Sep 17 00:00:00 2001 From: unitexe Date: Mon, 16 Feb 2026 22:31:09 -0600 Subject: Initramfs with plymouth splash for raspberrypi3-64 --- .../plymouth-themes/plymouth-themes_git.bb | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb (limited to 'meta-unit-graphics/recipes-core/plymouth-themes') diff --git a/meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb b/meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb new file mode 100644 index 0000000..cbf3d83 --- /dev/null +++ b/meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb @@ -0,0 +1,37 @@ +SUMMARY = "Plymouth theme collection" +DESCRIPTION = "A huge collection (80+) of plymouth themes ported from android bootanimations" +LICENSE = "GPL-3.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" + +SRC_URI = "\ + git://github.com/adi1090x/plymouth-themes;branch=master;protocol=https \ +" + +SRCREV = "5d8817458d764bff4ff9daae94cf1bbaabf16ede" + +PV = "1.0" + +RDEPENDS:${PN}:append = " plymouth" + +S = "${UNPACKDIR}/${PN}-${PV}" + +PLYMOUTH_THEMES ??= "pack_1/circuit pack_2/darth_vader pack_3/pixels pack_4/spin" + +do_install() { + install -d ${D}${datadir}/plymouth/themes/pixels + + for theme_path in ${PLYMOUTH_THEMES}; do + # Drop pack from the path + theme_name=$(basename ${theme_path}) + + # Create theme destination directory + install -d ${D}${datadir}/plymouth/themes/${theme_name} + + # Copy theme files + cp -r ${S}/${theme_path}/* ${D}${datadir}/plymouth/themes/${theme_name}/ + done +} + +FILES:${PN} = "\ + ${datadir}/plymouth/themes/* \ +" -- cgit v1.2.3