From 519b7c0dd398aaa3e0f3b32fdacbc44759480aac Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 7 Oct 2010 21:38:47 +0100 Subject: pulseaudio: Add back after it was lost in meta-moblin removal (and dependencies) Signed-off-by: Richard Purdie --- meta/recipes-tbd/consolekit/consolekit_0.3.0.bb | 15 +++++++++++++++ meta/recipes-tbd/consolekit/files/nopolkit.patch | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 meta/recipes-tbd/consolekit/consolekit_0.3.0.bb create mode 100644 meta/recipes-tbd/consolekit/files/nopolkit.patch (limited to 'meta/recipes-tbd/consolekit') diff --git a/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb b/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb new file mode 100644 index 0000000000..fcd735d7ad --- /dev/null +++ b/meta/recipes-tbd/consolekit/consolekit_0.3.0.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." +LICENSE = "GPLv2" +DEPENDS = "dbus" + +inherit gnome + +SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \ + file://nopolkit.patch;patch=1" +S = "${WORKDIR}/ConsoleKit-${PV}" + +FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit" + + + + diff --git a/meta/recipes-tbd/consolekit/files/nopolkit.patch b/meta/recipes-tbd/consolekit/files/nopolkit.patch new file mode 100644 index 0000000000..bebbcaffff --- /dev/null +++ b/meta/recipes-tbd/consolekit/files/nopolkit.patch @@ -0,0 +1,16 @@ +Index: ConsoleKit-0.3.0/configure.ac +=================================================================== +--- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100 ++++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100 +@@ -55,10 +55,7 @@ + gthread-2.0 >= $GLIB_REQUIRED_VERSION + ) + +-PKG_CHECK_MODULES(POLKIT, +- polkit >= $POLKIT_REQUIRED_VERSION, +- have_polkit=yes, +- have_polkit=no) ++have_polkit=no + if test "x$have_polkit" = "xyes" ; then + AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) + fi -- cgit v1.2.3