summaryrefslogtreecommitdiff
path: root/meta-moblin/packages/packagekit/packagekit_0.5.6.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:22:36 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-29 15:22:36 +0000
commit2f280c1681e0ccc244cea80412f4f0f468e7a99c (patch)
tree4989dc36889a0e19d27257eed1616744349471c1 /meta-moblin/packages/packagekit/packagekit_0.5.6.bb
parent7e38b6f73b400f79af03b17e84b41b22f80505eb (diff)
downloadopenembedded-core-2f280c1681e0ccc244cea80412f4f0f468e7a99c.tar.gz
openembedded-core-2f280c1681e0ccc244cea80412f4f0f468e7a99c.tar.bz2
openembedded-core-2f280c1681e0ccc244cea80412f4f0f468e7a99c.zip
packagekit: Use 0.5.6 and gnome-packagekit 2.28.2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-moblin/packages/packagekit/packagekit_0.5.6.bb')
-rw-r--r--meta-moblin/packages/packagekit/packagekit_0.5.6.bb57
1 files changed, 57 insertions, 0 deletions
diff --git a/meta-moblin/packages/packagekit/packagekit_0.5.6.bb b/meta-moblin/packages/packagekit/packagekit_0.5.6.bb
new file mode 100644
index 0000000000..6cd1101122
--- /dev/null
+++ b/meta-moblin/packages/packagekit/packagekit_0.5.6.bb
@@ -0,0 +1,57 @@
+DESCRIPTION = "PackageKit package management abstraction"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "gtk+ python polkit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1) connman"
+RDEPENDS_${PN} = "opkg"
+
+inherit gnome autotools_stage
+
+SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
+ file://configurefix.patch;patch=1 \
+ file://opkgfixes.patch;patch=1"
+PR = "r1"
+
+S = "${WORKDIR}/PackageKit-${PV}"
+
+EXTRA_OECONF = "--with-security-framework=dummy \
+ --with-default-backend=opkg \
+ --enable-opkg \
+ --disable-tests \
+ --disable-qt \
+ --disable-gstreamer-plugin \
+ --disable-local \
+ --disable-networkmanager \
+ ac_cv_path_XMLTO=no \
+ "
+
+do_configure_prepend() {
+ mkdir -p m4
+ echo "EXTRA_DIST=" > gtk-doc.make
+}
+
+do_configure_append() {
+ for i in $(find . -name Makefile) ; do
+ sed -i -e s:${STAGING_DIR_NATIVE}::g \
+ -e s:${bindir}/mkdir:${STAGING_BINDIR_NATIVE}/mkdir:g \
+ -e s:/usr/bin/intltool-merge:${STAGING_BINDIR_NATIVE}/intltool-merge:g \
+ $i
+ done
+}
+
+
+PACKAGES =+ "${PN}-website"
+FILES_${PN}-website = "${datadir}/PackageKit/website"
+
+PACKAGES =+ "${PN}-python"
+FILES_${PN}-python = "${libdir}/python*"
+
+PACKAGES =+ "${PN}-gtkmodule"
+FILES_${PN}-gtkmodule = "${libdir}/gtk-2.0/*/*.so"
+
+FILES_${PN} += "${libdir}/packagekit-backend/*.so ${libdir}/pm-utils ${datadir}/dbus-1/system-services/ ${datadir}/PolicyKit ${datadir}/PackageKit"
+FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so ${libdir}/gtk-2.0/*/.debug"
+FILES_${PN}-dev += "${libdir}/packagekit-backend/*a ${libdir}/gtk-2.0/*/*a"
+
+
+