Update app-core recipe 75/22875/2
authorKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Thu, 12 Jun 2014 08:54:36 +0000 (10:54 +0200)
committerKévin THIERRY <kevin.thierry@open.eurogiciel.org>
Mon, 16 Jun 2014 09:30:17 +0000 (11:30 +0200)
* Add pre/post install/uninstall scripts.
* New generated recipe from recent spec file.

Change-Id: I5dbb0e07cb61f22a90eee4c48e8565b32c4dadaa
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
recipes-tizen/app-core/app-core.inc
recipes-tizen/app-core/app-core_git.bb

index 76f04ce..c850b40 100644 (file)
@@ -1,7 +1,7 @@
 DESCRIPTION = "Application basic"
 HOMEPAGE = "http://nohomepage.org"
-SECTION = "Application Framework"
-LICENSE = "Apache License, Version 2.0"
+SECTION = "Application Framework/Libraries"
+LICENSE = "Apache-2.0"
 
 SRC_URI = ""
 
@@ -55,6 +55,7 @@ DEPENDS += "aul-1"
 DEPENDS_append_class-native = " cmake-native"
 DEPENDS_append_class-target = " cmake-native"
 DEPENDS += "librua"
+DEPENDS += "tizen-platform-config"
 DEPENDS += "dlog"
 DEPENDS += "glib-2.0"
 DEPENDS += "libslp-sensor"
@@ -69,6 +70,7 @@ do_prep() {
  cp ${S}/packaging/app-core.manifest .
  
  
 }
 do_patch_append() {
     bb.build.exec_func('do_prep', d)
@@ -88,6 +90,7 @@ do_compile() {
  LD_AS_NEEDED=1; export LD_AS_NEEDED ; 
  
  
    CFLAGS="${CFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CFLAGS ; 
    CXXFLAGS="${CXXFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export CXXFLAGS ; 
    FFLAGS="${FFLAGS:--O2 -g -m64 -fmessage-length=0 -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables}" ; export FFLAGS ; 
@@ -108,6 +111,7 @@ do_compile() {
  
  
  
 }
 
 do_install() {
@@ -132,13 +136,34 @@ do_install() {
  install -d ${D}/lib/systemd/user/core-efl.target.wants
  install -m0644 ${S}/packaging/core-efl-wayland.target ${D}/lib/systemd/user/core-efl.target
  
- mkdir -p ${D}/usr/share/license
- cp LICENSE ${D}/usr/share/license/app-core
  
  
 }
 
+pkg_postinst_app-core-common() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postinst_app-core-efl() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_app-core-efl() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
+pkg_postrm_app-core-common() {
+    #!/bin/sh -e
+
+    /sbin/ldconfig
+}
+
 PACKAGES += " app-core-efl-dev "
 PACKAGES += " app-core-efl "
 PACKAGES += " app-core-common "
@@ -159,7 +184,6 @@ app-core-common_files += "app-core.manifest"
 app-core-common_files += "${prefix}/lib/libappcore-common.so.*"
 app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target"
 app-core-common_files += "${prefix}/lib/systemd/user/core-efl.target.wants/"
-app-core-common_files += "/usr/share/license/app-core"
 
 app-core-common-dev_files = ""
 app-core-common-dev_files += "app-core.manifest"
index ce08389..e095494 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/platform/core/appfw/app-core;tag=d5761f6d3560bea795bc7025493accf4ead9684c;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/core/appfw/app-core;tag=b772c8ca27263c3f2d5f23340000bb79081123ec;nobranch=1"
 
 BBCLASSEXTEND += " native "