1 DESCRIPTION = "OFono/Obex business logic for phone web APIs"
2 HOMEPAGE = "http://nohomepage.org"
3 SECTION = "Automotive/Modello"
11 inherit manifest autotools-brokensep
24 DEPENDS += "evolution-data-server"
28 #Replace "DEPENDS" on gettext by "inherit gettext"
30 DEPENDS += "json-glib"
34 chmod -Rf a+rX,u+w,g-w,o-w ${S}
36 cp ${S}/packaging/phoned.manifest .
41 bb.build.exec_func('do_prep', d)
52 LD_AS_NEEDED=1; export LD_AS_NEEDED ;
54 export LDFLAGS="${LDFLAGS} -Wl,--rpath="${prefix}/lib/wrt-plugins" -Wl,--as-needed"
58 -DCMAKE_VERBOSE_MAKEFILE=ON \
59 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \
60 -DCMAKE_INSTALL_LIBDIR:PATH=${prefix}/lib \
61 -DINCLUDE_INSTALL_DIR:PATH=${prefix}/include \
62 -DLIB_INSTALL_DIR:PATH=${prefix}/lib \
63 -DSYSCONF_INSTALL_DIR:PATH=${sysconfdir} \
64 -DSHARE_INSTALL_PREFIX:PATH=${prefix}/share \
65 -DCMAKE_SKIP_RPATH:BOOL=ON \
66 -DBUILD_SHARED_LIBS:BOOL=ON \
67 -DCMAKE_TOOLCHAIN_FILE=${WORKDIR}/toolchain.cmake \
69 -DCMAKE_INSTALL_PREFIX=${prefix} \
70 -DENABLE_TIME_TRACER="OFF" \
71 -DSYSTEMD_SERVICE_PREFIX="${prefix}/lib/systemd/user"
73 oe_runmake ${PARALLEL_MAKE} VERBOSE=1
80 export RPM_BUILD_ROOT=${D}
93 BINDIR=${prefix}/bin \
95 rm -f ${D}${infodir}/dir
96 find ${D} -regex ".*\.la$" | xargs rm -f --
97 find ${D} -regex ".*\.a$" | xargs rm -f --
100 mkdir -p ${D}/${systemd_unitdir}/system/../user/weston.target.wants
101 ln -s ../phoned.service ${D}/${systemd_unitdir}/system/../user/weston.target.wants/phoned.service
106 PACKAGES = "${PN}-dbg ${PN}-doc ${PN}-locale"
107 PACKAGES += " phoned "
110 phoned_files += "${prefix}/lib/pkgconfig/phoned.pc"
111 phoned_files += "${prefix}/bin/phoned"
112 phoned_files += "${prefix}/share/dbus-1/services/org.tizen.phone.service"
113 phoned_files += "${prefix}/lib/systemd/user/phoned.service"
114 phoned_files += "${prefix}/lib/systemd/user/weston.target.wants/phoned.service"
115 MANIFESTFILES_${PN} = "phoned.manifest"
117 FILES_${PN} = "${phoned_files}"
121 require phoned-extraconf.inc