summaryrefslogtreecommitdiffstats
path: root/meta-efl/recipes-efl/e17/exquisite-theme-illume.bb
blob: fa394f763bdc41fb87f8ac51fbcbc4d53cb54779 (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
DDESCRIPTION = "A theme for exquisite"
LICENSE = "MIT/BSD"
SECTION = "x11"
DEPENDS = "edje-native"
PV = "1.0+svnr${SRCPV}"
PR = "r7"
SRCREV = "${EFL_SRCREV}"

inherit e-base update-alternatives allarch

ALTERNATIVE_NAME = "exquisite-config"
ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config"
ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-illume"
ALTERNATIVE_PRIORITY = "10"

SRCNAME = "b_and_w"

SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};proto=http"
S = "${WORKDIR}/${SRCNAME}"

do_compile() {
   ${STAGING_BINDIR_NATIVE}/edje_cc exquisite.edc illume.edj
}

do_install() {
    install -d ${D}${sysconfdir}/exquisite
    install -d ${D}${datadir}/exquisite/data/themes
    install -m 0644 ${S}/illume.edj ${D}${datadir}/exquisite/data/themes/
    echo 'THEME="-t illume"' > ${D}${sysconfdir}/exquisite/config-illume
}

CONFFILES_${PN} = "${sysconfdir}/exquisite/config-illume"
FILES_${PN} = "${sysconfdir}/exquisite ${datadir}/exquisite/data/themes"