From 8a5c4a43744c834f3522783c9ad5908bbb2ec890 Mon Sep 17 00:00:00 2001 From: John Lee Date: Mon, 10 Mar 2008 08:19:11 +0000 Subject: [PATCH] packagekit: add recipe for packagekit * PackageKit is a system designed to make installing and updating software on your computer easier. The primary design goal is to unify all the software graphical tools used in different distributions, and use some of the latest technology like PolicyKit to make the process suck less. --- packages/packagekit/.mtn2git_empty | 0 packages/packagekit/files/.mtn2git_empty | 0 .../files/disable-docbook2man.patch | 12 +++++++++ packages/packagekit/packagekit_git.bb | 27 +++++++++++++++++++ 4 files changed, 39 insertions(+) create mode 100644 packages/packagekit/.mtn2git_empty create mode 100644 packages/packagekit/files/.mtn2git_empty create mode 100644 packages/packagekit/files/disable-docbook2man.patch create mode 100644 packages/packagekit/packagekit_git.bb diff --git a/packages/packagekit/.mtn2git_empty b/packages/packagekit/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/packagekit/files/.mtn2git_empty b/packages/packagekit/files/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/packagekit/files/disable-docbook2man.patch b/packages/packagekit/files/disable-docbook2man.patch new file mode 100644 index 0000000000..0c7d4239d4 --- /dev/null +++ b/packages/packagekit/files/disable-docbook2man.patch @@ -0,0 +1,12 @@ +Index: git/configure.ac +=================================================================== +--- git.orig/configure.ac 2008-02-20 17:57:44.000000000 +0800 ++++ git/configure.ac 2008-02-20 17:58:30.000000000 +0800 +@@ -115,6 +115,7 @@ + if test "$DOCBOOK2MAN" = "no" ; then + AC_MSG_WARN([docbook2man not found, will not be able to build man documentation]) + fi ++DOCBOOK2MAN="no" + AM_CONDITIONAL(HAVE_DOCBOOK2MAN, [test "$DOCBOOK2MAN" != "no"]) + + dnl --------------------------------------------------------------------------- diff --git a/packages/packagekit/packagekit_git.bb b/packages/packagekit/packagekit_git.bb new file mode 100644 index 0000000000..d4055ead63 --- /dev/null +++ b/packages/packagekit/packagekit_git.bb @@ -0,0 +1,27 @@ +DESCRIPTION = "PackageKit package management abstraction" +SECTION = "libs" +PRIORITY = "optional" +LICENSE = "GPL" +DEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool" +RDEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 opkg" +PV = "0.1+git${SRCREV}" +PR = "r7" + +SRC_URI = "git://anongit.freedesktop.org/git/packagekit;protocol=git \ + file://disable-docbook2man.patch;patch=1" + +SRCREV = "${AUTOREV}" +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +EXTRA_OECONF = "--with-security-framework=dummy --with-default-backend=opkg --enable-opkg" + +do_configure_prepend() { + echo "EXTRA_DIST=" > gtk-doc.make +} +do_stage () { + autotools_stage_all +} + +FILES_${PN} += "${libdir}/packagekit-backend/*.so ${datadir}/dbus-1/system-services/" -- 2.39.5