diff options
| -rw-r--r-- | meta/recipes-support/consolekit/consolekit_0.4.5.bb | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/meta/recipes-support/consolekit/consolekit_0.4.5.bb b/meta/recipes-support/consolekit/consolekit_0.4.5.bb index e510c451b8..f6a554f87d 100644 --- a/meta/recipes-support/consolekit/consolekit_0.4.5.bb +++ b/meta/recipes-support/consolekit/consolekit_0.4.5.bb | |||
| @@ -8,12 +8,7 @@ LICENSE = "GPLv2+" | |||
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ |
| 9 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" | 9 | file://src/main.c;endline=21;md5=0a994e09769780220163255d8f9071c3" |
| 10 | 10 | ||
| 11 | POLKIT = "polkit" | 11 | DEPENDS = "glib-2.0 dbus virtual/libx11" |
| 12 | POLKIT_libc-uclibc = "" | ||
| 13 | POLKITCONF = "" | ||
| 14 | POLKITCONF_libc-uclibc = "--disable-policykit" | ||
| 15 | |||
| 16 | DEPENDS = "glib-2.0 dbus ${POLKIT} ${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} virtual/libx11" | ||
| 17 | RDEPENDS_${PN} += "base-files" | 12 | RDEPENDS_${PN} += "base-files" |
| 18 | 13 | ||
| 19 | inherit gnome | 14 | inherit gnome |
| @@ -25,9 +20,13 @@ SRC_URI[sha256sum] = "43e0780c53078e125efcec3f847e484dc3533e49b408ce6a0ab1b22368 | |||
| 25 | 20 | ||
| 26 | S = "${WORKDIR}/ConsoleKit-${PV}" | 21 | S = "${WORKDIR}/ConsoleKit-${PV}" |
| 27 | 22 | ||
| 28 | EXTRA_OECONF = "${POLKITCONF} --with-systemdsystemunitdir=${systemd_unitdir}/system/ \ | 23 | PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \ |
| 29 | ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam-module --with-pam-module-dir=${base_libdir}/security', '--disable-pam-module', d)} \ | 24 | ${@base_contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" |
| 30 | " | 25 | |
| 26 | PACKAGECONFIG[pam] = "--enable-pam-module --with-pam-module-dir=${base_libdir}/security,--disable-pam-module,libpam" | ||
| 27 | # No option to turn it on or off, so rely on the build dependency for now. | ||
| 28 | PACKAGECONFIG[policykit] = ",,polkit" | ||
| 29 | PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--with-systemdsystemunitdir=" | ||
| 31 | 30 | ||
| 32 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ | 31 | FILES_${PN} += "${localstatedir}/log/ConsoleKit ${exec_prefix}/lib/ConsoleKit \ |
| 33 | ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ | 32 | ${libdir}/ConsoleKit ${systemd_unitdir} ${base_libdir} \ |
| @@ -37,4 +36,3 @@ FILES_${PN}-dbg += "${base_libdir}/security/.debug" | |||
| 37 | PACKAGES =+ "pam-plugin-ck-connector" | 36 | PACKAGES =+ "pam-plugin-ck-connector" |
| 38 | FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so" | 37 | FILES_pam-plugin-ck-connector += "${base_libdir}/security/*.so" |
| 39 | RDEPENDS_pam-plugin-ck-connector += "${PN}" | 38 | RDEPENDS_pam-plugin-ck-connector += "${PN}" |
| 40 | |||
