blob: cbf3d83e8f24e675c1a8faa754ee7dc5906919d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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/* \
"
|