summaryrefslogtreecommitdiff
path: root/packages/openmoko-projects/illume_svn.bb
blob: d7b6233edfa2baed5116d4c2f839b10a70374b88 (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
DESCRIPTION = "Illume - A mobile UI module for the Enlightenment Window Manager"
HOMEPAGE = "http://illume.projects.openmoko.org"
AUTHOR = "Carsten 'Rasterman' Haitzler"
LICENSE = "MIT/BSD"
DEPENDS = "e-wm eet evas ecore edje embryo efreet edbus edje-native embryo-native eet-native"
PV = "0.0+svnr${SRCREV}"
PR = "r12"

SRC_URI = "\
  svn://svn.enlightenment.org/svn/e/trunk/;module=${PN};proto=http \
  file://configure-keyboard.patch;patch=1;pnum=0;maxrev=170 \
  file://module.illume.src \
"
S = "${WORKDIR}/${PN}"

inherit autotools pkgconfig

EXTRA_OECONF = "\
  --x-includes=${STAGING_INCDIR}/X11 \
  --x-libraries=${STAGING_LIBDIR} \
  --enable-simple-x11 \
  --with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc \
  --with-eet-eet=${STAGING_BINDIR_NATIVE}/eet \
\
  --enable-illume-keyboard \
"

RRECOMMENDS_${PN} = "\
  wamerican \
  ${PN}-config \
  ${PN}-theme \
  ${PN}-dicts-default \
  ${PN}-keyboards-default \
  ${PN}-keyboards-numbers \
"

PACKAGES =+ "\
  ${PN}-config \
  ${PN}-dicts-default \
  ${PN}-keyboards-default \
  ${PN}-keyboards-numbers \
"
PACKAGE_ARCH_${PN}-config = "all"
PACKAGE_ARCH_${PN}-dicts-default = "all"
PACKAGE_ARCH_${PN}-keyboards-default = "all"
PACKAGE_ARCH_${PN}-keyboards-numbers = "all"

FILES_${PN}-config = "${datadir}/enlightenment/data/config/*/* ${datadir}/illume"
FILES_${PN}-dicts-default = "${libdir}/enlightenment/modules/illume/dicts/Default.dic"
FILES_${PN}-keyboards-default = "${libdir}/enlightenment/modules/illume/keyboards/Default.kbd"
FILES_${PN}-keyboards-numbers = "${libdir}/enlightenment/modules/illume/keyboards/Numbers.kbd"

FILES_${PN} = "\
  ${libdir}/enlightenment/modules/*/*.edj \
  ${libdir}/enlightenment/modules/*/*.desktop \
  ${libdir}/enlightenment/modules/*/*/* \
"
FILES_${PN}-dbg += "${libdir}/enlightenment/modules/*/*/.debug/"

do_configure_append() {
  mv ${WORKDIR}/module.illume.src ${S}/config/illume/
}