summaryrefslogtreecommitdiff
path: root/recipes/e17/exquisite_svn.bb
blob: 9c1bc2ca38f3f26c509880cadd0692e8dabe9d36 (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
36
37
38
39
DESCRIPTION = "A psplash replacement for display"
LICENSE = "MIT BSD"
DEPENDS = "eet evas ecore embryo edje"
PV = "0.0.1+svnr${SRCPV}"
PR = "r9"
RDEPENDS = "initscripts"
RRECOMMENDS_${PN} = "exquisite-themes"
RCONFLICTS_${PN} = "psplash virtual-psplash"

SRCNAME = "exquisite"

inherit e

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"

SRC_URI += "file://exquisite-init"
SRC_URI += "file://splashfuncs"

inherit update-rc.d

do_install_prepend() {
  install -d ${D}/mnt/.splash/
  install -d ${D}${sysconfdir}/init.d
  install -m 0755 ${WORKDIR}/exquisite-init ${D}${sysconfdir}/init.d/exquisite
  install -d ${D}${sysconfdir}/default
  install -m 0755 ${WORKDIR}/splashfuncs ${D}${sysconfdir}/default/splashfuncs
  install -d ${D}${bindir}
  ln -s exquisite-write ${D}${bindir}/splash-write
}


do_install_append() {
  rm -rf ${D}${datadir}/exquisite/data/fonts/*
}

INITSCRIPT_NAME = "exquisite"
INITSCRIPT_PARAMS = "start 01 S . stop 20 0 1 6 ."

FILES_${PN} += "/mnt/.splash/"