1d1b3b4747ab7875c8d29aa0bbd8109eb1c08129
[scm/bb/meta-tizen.git] / meta-tizen-common-share / recipes-efl / lemolo / lemolo.inc
1 DESCRIPTION = "Ofono EFL Dialer"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Applications/Telephony"
4 LICENSE = "Apache-2.0"
5 PV = "0.1.7"
6
7 SRC_URI = ""
8
9 S = "${WORKDIR}/git"
10
11 inherit manifest autotools-brokensep
12
13 BBCLASSEXTEND = ""
14 PROVIDES = ""
15
16 #PROVIDES by lemolo
17
18
19 RDEPENDS = ""
20 #RDEPENDS of lemolo (${PN})
21 RDEPENDS_${PN} += "automotive-message-broker"
22 RDEPENDS_${PN} += "ofono"
23
24
25 DEPENDS = ""
26 #DEPENDS of lemolo
27 #Replace "DEPENDS" on gettext by "inherit gettext"
28 inherit gettext
29 DEPENDS += "pulseaudio"
30 DEPENDS += "ofono"
31 DEPENDS += "capi-system-power"
32 DEPENDS += "evas"
33 DEPENDS += "app-svc"
34 inherit pkgconfig
35 DEPENDS += "app-core"
36 DEPENDS += "contacts-service"
37 DEPENDS += "aul"
38 DEPENDS += "efl"
39 DEPENDS += "notification"
40 DEPENDS += "elementary"
41 DEPENDS += "ecore"
42 DEPENDS += "eldbus"
43 DEPENDS += "vconf"
44
45 do_prep() {
46  cd ${S}
47  chmod -Rf a+rX,u+w,g-w,o-w ${S}
48  #setup -q -n lemolo-0.1.7
49  
50  
51 }
52 do_patch_append() {
53     bb.build.exec_func('do_prep', d)
54 }
55
56 do_configure() {
57 }
58
59 do_compile() {
60  cd ${S}
61   LANG=C
62   export LANG
63   unset DISPLAY
64   LD_AS_NEEDED=1; export LD_AS_NEEDED ;
65   
66   
67   
68    
69   autotools_do_configure
70   
71   oe_runmake -j16
72   
73   
74   
75 }
76 EXTRA_OECONF += " --enable-notification --enable-tizen"
77
78 do_install() {
79  export RPM_BUILD_ROOT=${D}
80  cd ${S}
81  LANG=C
82  export LANG
83  unset DISPLAY
84  rm -rf ${D}
85  mkdir -p ${D}
86  
87  rm -rf ${D}
88  
89    oe_runmake \
90          DESTDIR=${D} \
91          INSTALL_ROOT=${D} \
92          BINDIR=${prefix}/bin \
93    install  
94    rm -f ${D}${infodir}/dir 
95    find ${D} -regex ".*\.la$" | xargs rm -f -- 
96    find ${D} -regex ".*\.a$" | xargs rm -f --
97  #find_lang lemolo
98  
99  
100 }
101
102 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
103 PACKAGES += " lemolo "
104
105 lemolo_files = ""
106 lemolo_files += "${prefix}/bin/answer_daemon"
107 lemolo_files += "${prefix}/bin/dialer"
108 lemolo_files += "${prefix}/bin/messages"
109 lemolo_files += "${prefix}/bin/dialer_daemon"
110 lemolo_files += "${prefix}/bin/dialer_open"
111 lemolo_files += "${prefix}/bin/message_daemon"
112 lemolo_files += "${prefix}/share/lemolo/examples/contacts.csv"
113 lemolo_files += "${prefix}/share/lemolo/ringtones/default.wav"
114 lemolo_files += "${prefix}/share/lemolo/scripts/ofono-efl-contacts-db-create.py"
115 lemolo_files += "${prefix}/share/lemolo/themes/default.edj"
116 lemolo_files += "${prefix}/share/lemolo/themes/night.edj"
117 lemolo_files += "${prefix}/share/lemolo/tizen-examples/order"
118 lemolo_files += "${prefix}/share/packages/org.tizen.dialer.xml"
119 lemolo_files += "${prefix}/share/icons/default/small/org.tizen.dialer.png"
120 lemolo_files += "${prefix}/share/dbus-1/services/org.tizen.dialer.service"
121
122 FILES_${PN} = "${lemolo_files}"
123
124 PKG_lemolo= "lemolo"
125
126 require lemolo-extraconf.inc
127