<commit_before>DESCRIPTION = "Illume - Mobile UI module for Enlightenment"
HOMEPAGE = "http://illume.projects.openmoko.org/"
LICENSE = "MIT/BSD"
RPROVIDES_${PN} = "illume-theme"
RCONFLICTS = "illume-config"
PV = "0.0+svnr${SRCREV}"
PR = "r7"

SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk;module=illume;proto=http"

S = "${WORKDIR}/illume"

do_install() {
    install -d ${D}${sysconfdir}/enlightenment
    install -d ${D}${datadir}/enlightenment/data/themes
    install -d ${D}${datadir}/enlightenment/data/init
    # Make asu the default profile
    echo 'E_PROFILE="-profile asu"' > ${D}${sysconfdir}/enlightenment/default_profile
    install -m 0644 ${S}/misc-data/illume.edj ${D}${datadir}/enlightenment/data/themes/illume.edj
    install -m 0644 ${S}/misc-data/illume_init.edj ${D}${datadir}/enlightenment/data/init/illume_init.edj
}

PACKAGE_ARCH_${PN} = "all"

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

CONFFILES_${PN} = "${sysconfdir}/enlightenment/default_profile"
<commit_msg>[illume-theme] Modify illume-theme-asu.bb illume-theme-asu contains edj files and profile which didont show up wrench and qwerty icon to fits Openmoko design of 2008.8.<commit_after>DESCRIPTION = "Illume - Mobile UI module for Enlightenment"
HOMEPAGE = "http://illume.projects.openmoko.org/"
LICENSE = "MIT/BSD"
RPROVIDES_${PN} = "illume-theme"
RCONFLICTS = "illume-config"
PV = "0.0+svnr${SRCREV}"
PR = "r8"

SRC_URI = "svn://svn.openmoko.org/trunk/src/target/themes/;module=illume-theme-asu;proto=http"

S = "${WORKDIR}/illume-theme-asu"

do_compile() {
    cd misc-data/asu && ./build.sh && cd ../..
    cd misc-data/asu_init && ./build.sh && cd ../..
    cd config
    eet -e e.cfg config e.src 1
    eet -e module.battery.cfg config module.battery.src 1
    eet -e module.illume.cfg config module.illume.src 1
}

do_install() {
    install -d ${D}${sysconfdir}/enlightenment
    install -d ${D}${datadir}/enlightenment/data/themes
    install -d ${D}${datadir}/enlightenment/data/init
    install -d ${D}${datadir}/enlightenment/data/config/asu
    # Make asu the default profile
    echo 'E_PROFILE="-profile asu"' > ${D}${sysconfdir}/enlightenment/default_profile
    install -m 0644 ${S}/misc-data/asu/asu.edj ${D}${datadir}/enlightenment/data/themes/asu.edj
    install -m 0644 ${S}/misc-data/asu_init/asu_init.edj ${D}${datadir}/enlightenment/data/init/asu_init.edj
    install -m 0644 ${S}/config/*.cfg -t ${D}${datadir}/enlightenment/data/config/asu/
}

PACKAGE_ARCH_${PN} = "all"
PACKAGES = "\
    ${PN} \
"
FILES_${PN} = "${sysconfdir}/enlightenment ${datadir}/enlightenment"

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

{'fraction_non_alphanumeric': 0.17420560747663552, 'fraction_numerical': 0.012710280373831775, 'mean_word_length': 4.257367387033399, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6882722', 'n_tokens_mistral': 1110, 'n_tokens_neox': 1022, 'n_words': 180}