RDEPENDS_${PN}-client += "shared-mime-info"
RDEPENDS_${PN}-client += "pkgmgr"
-#RDEPENDS of pkgmgr (${PN})
-RDEPENDS_${PN} += "libcap"
-RDEPENDS_${PN} += "shadow"
-
#RDEPENDS of pkgmgr-server (${PN}-server)
RDEPENDS_${PN}-server += "pkgmgr"
DEPENDS += "smack"
DEPENDS += "bundle"
DEPENDS += "ecore"
+DEPENDS_append_class-native = " fdupes-native"
+DEPENDS_append_class-target = " fdupes-native"
DEPENDS += "tizen-platform-config"
DEPENDS += "dbus-glib"
${EXTRA_OECMAKE} . \
-DX11_SUPPORT=Off
- make -j16
+ oe_runmake -j16
mkdir -p ${D}${sysconfdir}/package-manager/backend
mkdir -p ${D}${sysconfdir}/package-manager/backendlib
- mkdir -p ${D}/etc/opt/upgrade
+ mkdir -p ${D}${sysconfdir}/opt/upgrade
mkdir -p ${D}${sysconfdir}/package-manager/server
#find_lang package-manager
+ _target="";
+ _symlinks=0;
+
+ fdupes -q -n -r ${D} |
+ while read _file; do
+ if test -z "$_target" ; then
+ _target="$_file";
+ else
+ if test -z "$_file" ; then
+ _target="";
+ continue ;
+ fi ;
+ if test "$_symlinks" = 1; then
+ ln -sf "${_target#${D}}" "$_file";
+ else
+ ln -f "$_target" "$_file";
+ fi ;
+ fi ;
+ done
+
+
}
pkg_postinst_pkgmgr-installer() {
[ "x$D" == "x" ] && ldconfig
# For pkgmgr-install:
# Update mime database to support package mime types
- update-mime-database /usr/share/mime
+ update-mime-database $D${prefix}/share/mime
}
LIC_FILES_CHKSUM ??= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
-SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=c44df8e20261ddc2905fdd1ee3badbd5810361d6;nobranch=1"
+SRC_URI += "git://review.tizen.org/platform/core/appfw/slp-pkgmgr;tag=6f045429815c83046d9e44f3f1005122fb78bc16;nobranch=1"
BBCLASSEXTEND += " native "