summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/consolekit/consolekit_0.4.6.bb
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2013-07-23 11:17:15 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-29 13:09:02 +0100
commit577c42eb929b06b61a2e5db3400f379e6e5960ed (patch)
tree6bfd25ef1834d7afe750789e4f9f1d30204b1b6b /meta/recipes-support/consolekit/consolekit_0.4.6.bb
parent3e3ab8e02da7f56a87759acbb3e51ccb76448854 (diff)
downloadpoky-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.bb42
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 @@
1DESCRIPTION = "ConsoleKit is a framework for defining and tracking users, login sessions, and seats."
2HOMEPAGE="http://www.freedesktop.org/wiki/Software/ConsoleKit"
3BUGTRACKER="https://bugs.freedesktop.org/buglist.cgi?query_format=specific&product=ConsoleKit"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
7 file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3"
8
9DEPENDS = "glib-2.0 dbus dbus-glib virtual/libx11"
10RDEPENDS_${PN} += "base-files"
11
12inherit autotools pkgconfig
13
14SRC_URI = "http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-${PV}.tar.xz \
15 file://sepbuildfix.patch"
16
17SRC_URI[md5sum] = "611792b4d616253a5bdec9175f8b7678"
18SRC_URI[sha256sum] = "b41d17e06f80059589fbeefe96ad07bcc564c49e65516da1caf975146475565c"
19
20S = "${WORKDIR}/ConsoleKit-${PV}"
21
22PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
23 ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}"
24
25PACKAGECONFIG[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.
27PACKAGECONFIG[policykit] = ",,polkit"
28PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir="
29
30FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \
31 ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \
32 ${datadir}/dbus-1 ${datadir}/PolicyKit ${datadir}/polkit*"
33FILES_${PN}-dbg += "${base_libdir}/security/.debug"
34
35PACKAGES =+ "pam-plugin-ck-connector"
36FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so"
37RDEPENDS_pam-plugin-ck-connector += "${PN}"
38
39do_install_append() {
40 # Remove /var/run from package as console-kit-daemon will populate it on startup
41 rm -fr "${D}${localstatedir}/run"
42}