diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-07 21:38:47 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-10-07 21:38:47 +0100 |
commit | 519b7c0dd398aaa3e0f3b32fdacbc44759480aac (patch) | |
tree | 93b9dce1687b9e4bc47c4a42ba6de881c737ae8b /meta/recipes-tbd/consolekit | |
parent | 02445fca7b6d222c94a6bb3efd35d094025ae5fb (diff) | |
download | poky-519b7c0dd398aaa3e0f3b32fdacbc44759480aac.tar.gz |
pulseaudio: Add back after it was lost in meta-moblin removal (and dependencies)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-tbd/consolekit')
-rw-r--r-- | meta/recipes-tbd/consolekit/consolekit_0.3.0.bb | 15 | ||||
-rw-r--r-- | meta/recipes-tbd/consolekit/files/nopolkit.patch | 16 |
2 files changed, 31 insertions, 0 deletions
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 @@ | |||
1 | DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." | ||
2 | LICENSE = "GPLv2" | ||
3 | DEPENDS = "dbus" | ||
4 | |||
5 | inherit gnome | ||
6 | |||
7 | SRC_URI = "http://people.freedesktop.org/~mccann/dist/ConsoleKit-${PV}.tar.bz2 \ | ||
8 | file://nopolkit.patch;patch=1" | ||
9 | S = "${WORKDIR}/ConsoleKit-${PV}" | ||
10 | |||
11 | FILES_${PN} += "${libdir}/ConsoleKit ${datadir}/dbus-1 ${datadir}/PolicyKit" | ||
12 | |||
13 | |||
14 | |||
15 | |||
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 @@ | |||
1 | Index: ConsoleKit-0.3.0/configure.ac | ||
2 | =================================================================== | ||
3 | --- ConsoleKit-0.3.0.orig/configure.ac 2009-05-22 12:53:27.000000000 +0100 | ||
4 | +++ ConsoleKit-0.3.0/configure.ac 2009-05-22 12:53:56.000000000 +0100 | ||
5 | @@ -55,10 +55,7 @@ | ||
6 | gthread-2.0 >= $GLIB_REQUIRED_VERSION | ||
7 | ) | ||
8 | |||
9 | -PKG_CHECK_MODULES(POLKIT, | ||
10 | - polkit >= $POLKIT_REQUIRED_VERSION, | ||
11 | - have_polkit=yes, | ||
12 | - have_polkit=no) | ||
13 | +have_polkit=no | ||
14 | if test "x$have_polkit" = "xyes" ; then | ||
15 | AC_DEFINE(HAVE_POLKIT, [], [Define if we have polkit]) | ||
16 | fi | ||