dlt-daemon: update recipe 76/26376/1
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 21 Aug 2014 10:04:33 +0000 (12:04 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 21 Aug 2014 10:04:33 +0000 (12:04 +0200)
Update the recipe and use "inherit cmake" in order to use Yocto cmake
functions. Those functions override the default ones (do_configure(),
do_compile(), do_install()...).

Change-Id: I4d0621a2d83ed370425dfe96e2c4475987d5a46b
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/dlt-daemon/dlt-daemon-extraconf.inc
recipes-tizen/dlt-daemon/dlt-daemon.inc
recipes-tizen/dlt-daemon/dlt-daemon_git.bb

index e69de29..451a4d2 100644 (file)
@@ -0,0 +1,6 @@
+inherit pkgconfig cmake
+
+EXTRA_OECMAKE += " -DWITH_SYSTEMD=ON \
+                    -DWITH_SYSTEMD_JOURNAL=ON \
+                    -DWITH_MAN=OFF \
+                    -DWITH_DLT_EXAMPLES=OFF "
index 3cab53b..280fc1c 100644 (file)
@@ -46,14 +46,17 @@ RDEPENDS_dlt += "eglibc"
 DEPENDS = ""
 #DEPENDS of dlt
 DEPENDS += "systemd"
+DEPENDS += "dbus"
 DEPENDS += "zlib"
 DEPENDS_append_class-native = " cmake-native"
 DEPENDS_append_class-target = " cmake-native"
+DEPENDS_append_class-native = " pkgconfig-native"
+DEPENDS_append_class-target = " pkgconfig-native"
 
 do_prep() {
  cd ${S}
  chmod -Rf a+rX,u+w,g-w,o-w ${S}
- #setup -q -n dlt-2.9.1
+ #setup -q -n dlt-2.11.0
  
  
 }
@@ -83,7 +86,7 @@ do_compile() {
 }
 
 do_install() {
- echo export RPM_BUILD_ROOT=${D}
+ export RPM_BUILD_ROOT=${D}
  cd ${S}
  LANG=C
  export LANG
@@ -125,6 +128,7 @@ dlt-dev_files += "${prefix}/lib/pkgconfig/*.pc"
 dlt-bin_files = ""
 dlt-bin_files += "${prefix}/bin/dlt-adaptor*"
 dlt-bin_files += "${prefix}/bin/dlt-convert"
+dlt-bin_files += "${prefix}/bin/dlt-dbus"
 dlt-bin_files += "${prefix}/bin/dlt-receive"
 dlt-bin_files += "${prefix}/bin/dlt-system"
 dlt-bin_files += "${prefix}/bin/dlt-control"
@@ -132,8 +136,11 @@ dlt-bin_files += "${sysconfdir}/dlt-system.conf"
 dlt-bin_files += "${prefix}/lib/systemd/system/dlt-adaptor-udp.service"
 dlt-bin_files += "${prefix}/lib/systemd/system/dlt-receive.service"
 dlt-bin_files += "${prefix}/lib/systemd/system/dlt-system.service"
+dlt-bin_files += "${prefix}/lib/systemd/system/dlt-dbus.service"
+dlt-bin_files += "${sysconfdir}/dlt-dbus.conf"
 CONFFILES_dlt-bin = ""
 CONFFILES_dlt-bin += "${sysconfdir}/dlt-system.conf"
+CONFFILES_dlt-bin += "${sysconfdir}/dlt-dbus.conf"
 
 dlt-daemon_files = ""
 dlt-daemon_files += "${prefix}/bin/dlt-daemon"
index b7504d1..9c36678 100644 (file)
@@ -4,7 +4,7 @@ PRIORITY = "10"
 
 LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
 
-SRC_URI += "git://review.tizen.org/profile/ivi/dlt-daemon;tag=9b6cc0899dae31aa158de56f68b98fa9dc4cf99c;nobranch=1"
+SRC_URI += "git://review.tizen.org/profile/ivi/dlt-daemon;tag=98d19103951eec42611896e5115fe8ebb584fa88;nobranch=1"
 
 BBCLASSEXTEND += " native "