diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2012-03-05 08:38:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-05 10:34:36 -0800 |
commit | f8c0e6e79574a2a922ae3bd5757b02e7573c48ac (patch) | |
tree | 651e28ea3ef9d890c3f9a652ae2e049830dd78c2 /meta/recipes-extended | |
parent | b1aeaa8b0dcf27ef8dcd87279901c6f5817d9e94 (diff) | |
download | poky-f8c0e6e79574a2a922ae3bd5757b02e7573c48ac.tar.gz |
polkit 0.104: convert pam code to PACKAGECONFIG and adhere to OE recipe styleguide
(From OE-Core rev: 7a6fcc7f79445e5f290dd499c223619a2a426f78)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r-- | meta/recipes-extended/polkit/polkit_0.104.bb | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/meta/recipes-extended/polkit/polkit_0.104.bb b/meta/recipes-extended/polkit/polkit_0.104.bb index 2737a4a805..5dc82c5df6 100644 --- a/meta/recipes-extended/polkit/polkit_0.104.bb +++ b/meta/recipes-extended/polkit/polkit_0.104.bb | |||
@@ -6,28 +6,33 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \ | |||
6 | file://src/polkit/polkit.h;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4 \ | 6 | file://src/polkit/polkit.h;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4 \ |
7 | file://docs/polkit/html/license.html;md5=d85a36709a446c10f4ee123f9dda0e38" | 7 | file://docs/polkit/html/license.html;md5=d85a36709a446c10f4ee123f9dda0e38" |
8 | 8 | ||
9 | DEPENDS = "expat dbus-glib eggdbus intltool-native" | ||
10 | |||
11 | PACKAGECONFIG = "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}" | ||
12 | PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=none,libpam,libpam" | ||
13 | |||
14 | PR = "r3" | ||
15 | |||
16 | PAM_SRC_URI = "file://polkit-1_pam.patch" | ||
9 | SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ | 17 | SRC_URI = "http://hal.freedesktop.org/releases/polkit-${PV}.tar.gz \ |
10 | file://introspection.patch \ | 18 | file://introspection.patch \ |
11 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)}" | 19 | ${@base_contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \ |
20 | " | ||
12 | 21 | ||
13 | SRC_URI[md5sum] = "e380b4c6fb1e7bccf854e92edc0a8ce1" | 22 | SRC_URI[md5sum] = "e380b4c6fb1e7bccf854e92edc0a8ce1" |
14 | SRC_URI[sha256sum] = "6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9" | 23 | SRC_URI[sha256sum] = "6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9" |
15 | 24 | ||
16 | PAM_SRC_URI = "file://polkit-1_pam.patch" | 25 | EXTRA_OECONF = "--with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection" |
17 | PR = "r2" | ||
18 | DEPENDS = "libpam expat dbus-glib eggdbus intltool-native" | ||
19 | RDEPENDS_${PN} = "libpam" | ||
20 | EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --disable-man-pages --disable-gtk-doc --disable-introspection" | ||
21 | 26 | ||
22 | inherit autotools pkgconfig | 27 | inherit autotools pkgconfig |
23 | 28 | ||
29 | do_install_append() { | ||
30 | rm -f ${D}${libdir}/${PN}-1/extensions/*.a | ||
31 | } | ||
32 | |||
24 | FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \ | 33 | FILES_${PN} += "${libdir}/${PN}-1/extensions/*.so \ |
25 | ${datadir}/${PN}-1/actions/* \ | 34 | ${datadir}/${PN}-1/actions/* \ |
26 | ${datadir}/dbus-1/system-services/*" | 35 | ${datadir}/dbus-1/system-services/*" |
27 | FILES_${PN}-dbg += "${libdir}/${PN}-1/extensions/.debug/*.so" | 36 | FILES_${PN}-dbg += "${libdir}/${PN}-1/extensions/.debug/*.so" |
28 | FILES_${PN}-dev += "${libdir}/${PN}-1/extensions/*.la " | 37 | FILES_${PN}-dev += "${libdir}/${PN}-1/extensions/*.la " |
29 | 38 | ||
30 | do_install_append() { | ||
31 | rm -f ${D}${libdir}/${PN}-1/extensions/*.a | ||
32 | } | ||
33 | |||