summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/illume-theme_svn.bb
blob: b360d3b14a9a462cfe536713a797581d96cc86c2 (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
DESCRIPTION = "Illume - Mobile UI module for Enlightenment"
HOMEPAGE = "http://illume.projects.openmoko.org/"
LICENSE = "MIT/BSD"

PACKAGE_ARCH="all"
PV = "0.0+svnr${SRCREV}"
PR = "r4"

SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=illume;proto=https"
S = "${WORKDIR}/illume"

python do_unpack_append() {
	bb.note("Unpacking to %s" % os.getcwd())
	os.system("cd illume; tar -xz --no-same-owner -f misc-data/untar-me-from-root.tar.gz")
}

CONFFILES_${PN} = "${sysconfdir}/enlightenment/default_profile"
FILES_${PN} = "${sysconfdir}/enlightenment ${datadir}/enlightenment"

do_install() {
    install -d ${D}${sysconfdir}/enlightenment
    install -d ${D}${datadir}/enlightenment/data/themes/
    install -d ${D}${datadir}/enlightenment/data/config/

    # Make illume the default profile
    echo 'E_PROFILE="-profile illume"' > ${D}${sysconfdir}/enlightenment/default_profile

    install -m 0644 ${S}/misc-data/illume.edj ${D}${datadir}/enlightenment/data/themes/
    cp -pPR ${S}/.e/e/config/default ${D}${datadir}/enlightenment/data/config/illume
}