From: Kévin THIERRY Date: Thu, 12 Jun 2014 08:54:36 +0000 (+0200) Subject: meta-tizen: Update app-core recipe X-Git-Tag: rev_ivi_2015_02_04~539 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=28331d41f34e800ad77f5f6e1d6a91e3bcfd1bf9;p=scm%2Fbb%2Ftizen-distro.git meta-tizen: Update app-core recipe * Add pre/post install/uninstall scripts. * New generated recipe from recent spec file. Change-Id: I5dbb0e07cb61f22a90eee4c48e8565b32c4dadaa (From meta-tizen rev: 67e649413fa94985bf713124f0e40cf385a88ea8) Signed-off-by: Kévin THIERRY Signed-off-by: Patrick Ohly --- diff --git a/meta-tizen/recipes-tizen/app-core/app-core.inc b/meta-tizen/recipes-tizen/app-core/app-core.inc index 76f04ce..c850b40 100644 --- a/meta-tizen/recipes-tizen/app-core/app-core.inc +++ b/meta-tizen/recipes-tizen/app-core/app-core.inc @@ -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" diff --git a/meta-tizen/recipes-tizen/app-core/app-core_git.bb b/meta-tizen/recipes-tizen/app-core/app-core_git.bb index ce08389..e095494 100644 --- a/meta-tizen/recipes-tizen/app-core/app-core_git.bb +++ b/meta-tizen/recipes-tizen/app-core/app-core_git.bb @@ -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 "