summaryrefslogtreecommitdiff
path: root/recipes/packagekit
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-01-07 13:22:49 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-01-07 13:22:49 +0100
commit676b651a8b7e1ed9d1a4ab15814fa93c9ef37c4f (patch)
treebde58df2bfcd26038ca67e511873cbdfdebd8649 /recipes/packagekit
parent52ac7118530832cfcc490879c8f3c802179312b0 (diff)
packagekit: add version 0.5.2 from SHR
Diffstat (limited to 'recipes/packagekit')
-rw-r--r--recipes/packagekit/packagekit_0.5.2.bb60
1 files changed, 60 insertions, 0 deletions
diff --git a/recipes/packagekit/packagekit_0.5.2.bb b/recipes/packagekit/packagekit_0.5.2.bb
new file mode 100644
index 0000000000..5cc4d9ecb8
--- /dev/null
+++ b/recipes/packagekit/packagekit_0.5.2.bb
@@ -0,0 +1,60 @@
+DESCRIPTION = "PackageKit package management abstraction"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "gtk+ python cppunit dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
+RDEPENDS_${PN} = "${IPKG_VARIANT}"
+
+inherit gnome autotools_stage
+
+SRC_URI = "http://www.packagekit.org/releases/PackageKit-${PV}.tar.gz \
+ "
+
+PR = "r0"
+PE = "2"
+
+S = "${WORKDIR}/PackageKit-${PV}"
+
+EXTRA_OECONF = "--with-security-framework=dummy \
+ --with-default-backend=opkg \
+ --enable-opkg \
+ --enable-dummy \
+ --disable-networkmanager \
+ --disable-connman \
+ --disable-tests \
+ --disable-qt \
+ --disable-gstreamer-plugin \
+ --disable-local \
+ --disable-strict \
+ ac_cv_path_XMLTO=no \
+ "
+
+
+do_configure_prepend() {
+ mkdir -p m4
+ echo "EXTRA_DIST=" > gtk-doc.make
+ sed -i -e s:0\.1\.5:0\.1\.6:g configure.ac
+}
+
+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"