summaryrefslogtreecommitdiff
path: root/recipes/angstrom/exquisite-theme-angstrom.bb
blob: 38511c3e525b51208ee67f30ff48abb448595d39 (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
DDESCRIPTION = "Angstrom theme for exquisite"
HOMEPAGE = "http://www.enlightenment.org"
LICENSE = "MIT/BSD"
SECTION = "x11"

DEPENDS = "edje-native"
RRECOMMENDS_${PN} = "exquisite"

PV = "1.1"

inherit update-alternatives

ALTERNATIVE_NAME = "exquisite-config"
ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config"
ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-angstrom"
ALTERNATIVE_PRIORITY = "20"

SRC_URI = "file://angstrom/"

S = "${WORKDIR}/angstrom"

do_compile() {
   edje_cc exquisite-ang.edc angstrom.edj
}

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

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