blob: 139a23138f64b26926a9457dd09836726a1d394e (
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
38
39
40
41
42
43
44
|
DESCRIPTION = "Enlightenment DR17 theme for Angstrom"
LICENSE = "MIT/BSD"
DEPENDS = "edje-native eet-native"
RDEPENDS = "e-wm"
RRECOMMENDS_${PN} = "places"
PR = "r7"
SRC_URI = " \
file://e.src \
file://icon.png \
file://*.src \
file://profile.desktop \
"
S = "${WORKDIR}/angstrom"
do_configure() {
cp ${WORKDIR}/*.src ${WORKDIR}/*.desktop ${WORKDIR}/*.png ${S}/
}
# [09:16:17] * koen mumbles something about binary config file
# [09:16:19] <raster> eet -d e.cfg config e.src
# [09:16:29] <raster> will get u a test dump of it (as e.src)
# [09:17:09] <raster> eet -e e.cfg config e.src 1
# [09:17:12] <raster> will re-encode
do_compile() {
for i in *.src ; do
eet -e $(echo $i | sed s:src:cfg:g) config $i 1
done
}
do_install() {
install -d ${D}${datadir}/enlightenment/data/config/angstrom/
install -m 0644 ${S}/*.cfg ${D}${datadir}/enlightenment/data/config/angstrom/
install -m 0644 ${S}/*.desktop ${D}${datadir}/enlightenment/data/config/angstrom/
install -m 0644 ${S}/*.png ${D}${datadir}/enlightenment/data/config/angstrom/
}
FILES_${PN} = "${datadir}/enlightenment"
PACKAGE_ARCH_${PN} = "all"
|