summaryrefslogtreecommitdiff
path: root/packages/mamona/mamona-input-methods_git.bb
blob: 5ad96451637eb4c12cb33fc24365f5ce033ddfbc (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
63
64
65
66
67
68
69
70
71
72
73
74
# Copyright (C) 2008 Instituto Nokia de Tecnologia
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Mamona input methods"
HOMEPAGE = "http://dev.openbossa.org/trac/mamona/wiki"
LICENSE = "GPL"
SECTION = "libs/inputmethods"
DEPENDS = "ecore"
PR = "r2"

PV = "0.1+git"

inherit autotools pkgconfig lib_package

SRC_URI = "git://dev.openbossa.org/mamona/mamona_input_methods.git;protocol=http"

S = "${WORKDIR}/git"

# Mamona IM
RPROVIDES_${PN} = "libmamona-im0"

# Ecore
PACKAGES += "\
            ${PN}-ecore \
            ${PN}-ecore-dev \
            ${PN}-ecore-dbg \
        "
RPROVIDES_${PN}-ecore = "libmamona-im-ecore"
EXTRA_OECONF = "\
            --enable-ecore-im \
        "
FILES_${PN}-ecore = "\
            ${libdir}/ecore/immodules/mamona-im-ecore-module.so \
        "
FILES_${PN}-ecore-dev = "\
            ${libdir}/ecore/immodules/mamona-im-ecore-module.la \
            ${libdir}/ecore/immodules/mamona-im-ecore-module.a \
        "
FILES_${PN}-ecore-dbg = "\
            ${libdir}/ecore/immodules/.debug \
        "

# E Applet
PACKAGES += "\
             ${PN}-e-applet \
             ${PN}-e-applet-dev \
             ${PN}-e-applet-dbg \
         "
RPROVIDES_${PN}-e-appet = "libmamona-im-e-applet"
EXTRA_OECONF += "\
            --enable-e-applet \
        "
FILES_${PN}-e-applet = "\
            ${libdir}/enlightenment/modules/mamonaim/module.desktop \
            ${libdir}/enlightenment/modules/mamonaim/mamonaim.edj \
            ${libdir}/enlightenment/modules/mamonaim/e-module-mamonaim.edj \
            ${libdir}/enlightenment/modules/mamonaim/*.png \
            ${libdir}/enlightenment/modules/mamonaim/*/module.so \
        "
FILES_${PN}-e-applet-dev = "\
            ${libdir}/enlightenment/modules/mamonaim/*/module.la \
            ${libdir}/enlightenment/modules/mamonaim/*/module.a \
        "
FILES_${PN}-e-applet-dbg = "\
            ${libdir}/enlightenment/modules/mamonaim/*/.debug \
        "

do_configure_prepend() {
    ./autogen.sh
}

do_stage() {
    autotools_stage_all
}