Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | DDESCRIPTION = "A theme for exquisite" |
| 2 | LICENSE = "MIT & BSD" |
| 3 | LIC_FILES_CHKSUM = "file://${WORKDIR}/LICENSE;md5=f523ab5986cc79b52a90d2ac3d5454a2" |
| 4 | SECTION = "x11" |
| 5 | DEPENDS = "edje-native" |
| 6 | PV = "1.0+svnr${SRCPV}" |
| 7 | SRCREV = "${EFL_SRCREV}" |
| 8 | |
| 9 | inherit e-base update-alternatives allarch |
| 10 | |
| 11 | ALTERNATIVE_NAME = "exquisite-config" |
| 12 | ALTERNATIVE_LINK = "${sysconfdir}/exquisite/config" |
| 13 | ALTERNATIVE_PATH = "${sysconfdir}/exquisite/config-illume" |
| 14 | ALTERNATIVE_PRIORITY = "10" |
| 15 | |
| 16 | SRCNAME = "b_and_w" |
| 17 | |
| 18 | SRC_URI = "${E_SVN}/trunk/THEMES;module=${SRCNAME};protocol=http \ |
| 19 | file://LICENSE \ |
| 20 | " |
| 21 | S = "${WORKDIR}/${SRCNAME}" |
| 22 | |
| 23 | do_compile() { |
| 24 | ${STAGING_BINDIR_NATIVE}/edje_cc exquisite.edc illume.edj |
| 25 | } |
| 26 | |
| 27 | do_install() { |
| 28 | install -d ${D}${sysconfdir}/exquisite |
| 29 | install -d ${D}${datadir}/exquisite/data/themes |
| 30 | install -m 0644 ${S}/illume.edj ${D}${datadir}/exquisite/data/themes/ |
| 31 | echo 'THEME="-t illume"' > ${D}${sysconfdir}/exquisite/config-illume |
| 32 | } |
| 33 | |
| 34 | CONFFILES_${PN} = "${sysconfdir}/exquisite/config-illume" |
| 35 | FILES_${PN} = "${sysconfdir}/exquisite ${datadir}/exquisite/data/themes" |