summaryrefslogtreecommitdiff
path: root/meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb
diff options
context:
space:
mode:
authorunitexe <unitexe70@gmail.com>2026-02-16 22:31:09 -0600
committerunitexe <unitexe70@gmail.com>2026-02-16 23:08:43 -0600
commitf15373f84dd78c128a4379eda6fb241dd8792ffb (patch)
tree5c0addbb3844e564edff14b2387a97efc68c2286 /meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb
parent019a45d52dc06c812c3ba74941ee692df6a72e21 (diff)
Initramfs with plymouth splash for raspberrypi3-64
Diffstat (limited to 'meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb')
-rw-r--r--meta-unit-graphics/recipes-core/plymouth-themes/plymouth-themes_git.bb37
1 files changed, 37 insertions, 0 deletions
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/* \
+"