diff options
author | Saul Wold <sgw@linux.intel.com> | 2013-07-23 11:17:15 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-29 13:09:02 +0100 |
commit | 577c42eb929b06b61a2e5db3400f379e6e5960ed (patch) | |
tree | 6bfd25ef1834d7afe750789e4f9f1d30204b1b6b /meta/recipes-support/consolekit/consolekit_0.4.6.bb | |
parent | 3e3ab8e02da7f56a87759acbb3e51ccb76448854 (diff) | |
download | poky-577c42eb929b06b61a2e5db3400f379e6e5960ed.tar.gz |
consolekit: Update to 0.4.6
(From OE-Core rev: 6faa9c4e139cd1cf3feaef18cdd6c4c9d4f8173a)
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/consolekit/consolekit_0.4.6.bb')
-rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.6.bb | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.6.bb b/meta/recipes-support/consolekit/consolekit_0.4.6.bb new file mode 100644 index 0000000000..63da028f81 --- /dev/null +++ b/meta/recipes-support/consolekit/consolekit_0.4.6.bb | |||
@@ -0,0 +1,42 @@ | |||
1 | DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats." | ||
2 | HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit" | ||
3 | BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit" | ||
4 | |||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
7 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" | ||
8 | |||
9 | DEPENDS = "glib-2.0 dbus dbus-glib virtual/libx11" | ||
10 | RDEPENDS_${PN} += "base-files" | ||
11 | |||
12 | inherit autotools pkgconfig | ||
13 | |||
14 | SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \ | ||
15 | file://sepbuildfix.patch" | ||
16 | |||
17 | SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678" | ||
18 | SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c" | ||
19 | |||
20 | S = "${WORKDIR}/ConsoleKit-${PV}" | ||
21 | |||
22 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ | ||
23 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" | ||
24 | |||
25 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" | ||
26 | # No option to turn it on or off, so rely on the build dependency for now. | ||
27 | PACKAGECONFIG[policykit] = ",,polkit" | ||
28 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" | ||
29 | |||
30 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ | ||
31 | ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ | ||
32 | ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*" | ||
33 | FILES_${PN}-dbg += "${base_libdir}/security/.debug" | ||
34 | |||
35 | PACKAGES =+ "pam-plugin-ck-connector" | ||
36 | FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so" | ||
37 | RDEPENDS_pam-plugin-ck-connector += "${PN}" | ||
38 | |||
39 | do_install_append() { | ||
40 | # Remove /var/run from package as console-kit-daemon will populate it on startup | ||
41 | rm -fr "${D}${localstatedir}/run" | ||
42 | } | ||