libwebsockets: correct build issue
[scm/bb/meta-tizen.git] / recipes-tizen / weekeyboard / weekeyboard.inc
1 DESCRIPTION = "Virtual Keyboard Application"
2 HOMEPAGE = "http://github.com/etrunko/weekeyboard"
3 SECTION = "Graphics & UI Framework/Libraries"
4 LICENSE = "Apache-2.0"
5
6 SRC_URI = ""
7
8 S = "${WORKDIR}/git"
9
10 inherit autotools-brokensep
11
12 BBCLASSEXTEND = ""
13 PROVIDES = ""
14
15 #PROVIDES by weekeyboard
16
17
18 RDEPENDS = ""
19 #RDEPENDS of weekeyboard (${PN})
20 RDEPENDS_${PN} += "ibus-hangul"
21 RDEPENDS_${PN} += "ibus"
22 RDEPENDS_${PN} += "ibus-libpinyin"
23
24
25 DEPENDS = ""
26 #DEPENDS of weekeyboard
27 DEPENDS += "edje"
28 DEPENDS += "evas"
29 DEPENDS += "ibus"
30 DEPENDS += "efreet"
31 DEPENDS += "eina"
32 DEPENDS += "eet"
33 DEPENDS += "ecore"
34 DEPENDS += "eldbus"
35
36 do_prep() {
37  cd ${S}
38  chmod -Rf a+rX,u+w,g-w,o-w ${S}
39  #setup -q
40  cp ${S}/packaging/weekeyboard.manifest .
41  
42  
43 }
44 do_patch_append() {
45     bb.build.exec_func('do_prep', d)
46 }
47
48 do_configure() {
49 }
50
51 do_compile() {
52  cd ${S}
53   LANG=C
54   export LANG
55   unset DISPLAY
56   LD_AS_NEEDED=1; export LD_AS_NEEDED ;
57   
58   
59   
60   autotools_do_configure
61   make -j16
62   
63   
64   
65 }
66 EXTRA_OECONF += " --disable-ibus"
67
68 do_install() {
69  echo export RPM_BUILD_ROOT=${D}
70  cd ${S}
71  LANG=C
72  export LANG
73  unset DISPLAY
74  rm -rf ${D}
75  mkdir -p ${D}
76  
77  
78    oe_runmake \
79          DESTDIR=${D} \
80          INSTALL_ROOT=${D} \
81          BINDIR=${prefix}/bin \
82    install  
83    rm -f ${D}${infodir}/dir 
84    find ${D} -regex ".*\.la$" | xargs rm -f -- 
85    find ${D} -regex ".*\.a$" | xargs rm -f --
86  
87  
88 }
89
90 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
91 PACKAGES += " weekeyboard "
92
93 weekeyboard_files = ""
94 weekeyboard_files += "${prefix}/bin/weekeyboard"
95 weekeyboard_files += "${prefix}/share/weekeyboard/*.edj"
96 MANIFESTFILES_${PN} = "weekeyboard.manifest"
97
98 FILES_${PN} = "${weekeyboard_files}"
99
100 PKG_weekeyboard= "weekeyboard"
101
102 require weekeyboard-extraconf.inc
103