DEPENDS += "sqlite3"
DEPENDS += "ecore"
DEPENDS += "libprivilege-control"
+DEPENDS += "tizen-platform-config"
do_prep() {
cd ${S}
find ${D} -regex ".*\.a$" | xargs rm -f --
# Create database
- mkdir -p ${D}/opt/dbspace
- sqlite3 ${D}/opt/dbspace/.appsvc.db < data/appsvc_db.sql
+ mkdir -p ${D}/usr/dbspace
+ sqlite3 ${D}/usr/dbspace/.appsvc.db < data/appsvc_db.sql
mkdir -p ${D}/usr/share/license
cp LICENSE ${D}/usr/share/license/app-svc
}
+pkg_postinst_${PN}() {
+ #!/bin/sh -e
+
+ /sbin/ldconfig
+}
+
+pkg_postrm_${PN}() {
+ #!/bin/sh -e
+
+ /sbin/ldconfig
+}
+
app-svc_files = ""
app-svc_files += "app-svc.manifest"
-app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db"
-app-svc_files += "%verify(not md5 mtime size) %attr(664,root,app) /opt/dbspace/.appsvc.db-journal"
+app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) /usr/dbspace/.appsvc.db"
+app-svc_files += "%verify(not md5 mtime size) %attr(664,root,users) /usr/dbspace/.appsvc.db-journal"
app-svc_files += "/usr/bin/appsvc_test"
app-svc_files += "${prefix}/lib/libappsvc.so.0"
app-svc_files += "${prefix}/lib/libappsvc.so.0.1.0"
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=9b9315bfadc5764fabbf8c310db051dc30648fba;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/core/appfw/app-svc;tag=20a5461703eabca371b655ec968ed0175e06ea25;nobranch=1"
BBCLASSEXTEND += " native "