2010-11-18 23:44:37 +00:00
SUMMARY = " PolicyKit Authorization Framework "
2010-06-10 07:00:25 +00:00
DESCRIPTION = " The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes. "
2013-01-05 06:22:22 +00:00
HOMEPAGE = " http://www.freedesktop.org/wiki/Software/polkit "
2010-06-10 07:00:25 +00:00
LICENSE = " LGPLv2+ "
LIC_FILES_CHKSUM = " file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
2012-10-29 17:36:37 +00:00
file : / / src / polkit / polkit . h ;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4"
2010-01-29 15:20:02 +00:00
2012-07-27 12:00:22 +00:00
DEPENDS = " expat glib-2.0 intltool-native gobject-introspection-stub "
2012-03-05 07:38:29 +00:00
PACKAGECONFIG = " ${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} "
2012-03-05 20:57:17 +00:00
PACKAGECONFIG [ pam ] = " --with-authfw=pam,--with-authfw=shadow,libpam,libpam "
2012-03-05 07:38:29 +00:00
2012-12-14 15:20:02 +00:00
PR = " r8 "
2012-03-05 07:38:29 +00:00
PAM_SRC_URI = " file://polkit-1_pam.patch "
2013-01-05 06:22:22 +00:00
SRC_URI = " http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
2012-03-05 07:38:29 +00:00
$ { @ base_contains ( ' DISTRO_FEATURES ' , ' pam ' , ' $ { PAM_SRC_URI } ' , ' ' , d ) } \
2012-03-05 07:38:30 +00:00
file : / / 0001 - PolkitUnixSession - Set - error - if - we - cannot - find - a - sess . patch \
file : / / 0002 - PolkitUnixSession - Actually - return - TRUE - if - a - session - .patch \
2012-03-05 07:38:29 +00:00
"
2011-07-26 09:08:02 +00:00
2012-01-21 14:19:02 +00:00
SRC_URI [ md5sum ] = " e380b4c6fb1e7bccf854e92edc0a8ce1 "
SRC_URI [ sha256sum ] = " 6b0a13d8381e4a7b7e37c18a54595191b50757e0fcd186cd9918e9ad0f18c7f9 "
2011-12-22 04:15:28 +00:00
2012-07-19 14:26:21 +00:00
EXTRA_OECONF = " --with-os-type=moblin --disable-man-pages --disable-introspection "
2010-01-29 15:20:02 +00:00
2012-07-19 14:26:21 +00:00
inherit autotools gtk - doc pkgconfig
2010-11-18 12:03:22 +00:00
2012-03-05 07:38:29 +00:00
do_install_append ( ) {
2012-12-14 15:20:02 +00:00
rm - f $ { D } $ { libdir } / $ { BPN } - 1 / extensions / * .a
2012-03-05 07:38:29 +00:00
}
2012-12-14 15:20:02 +00:00
FILES_ $ { PN } + = " ${libdir}/${BPN}-1/extensions/*.so \
$ { datadir } / $ { BPN } - 1 / actions / * \
2010-11-18 12:03:22 +00:00
$ { datadir } / dbus - 1 / system - services / * "
2012-12-14 15:20:02 +00:00
FILES_ $ { PN } - dbg + = " ${libdir}/${BPN}-1/extensions/.debug/*.so "
FILES_ $ { PN } - dev + = " ${libdir}/${BPN}-1/extensions/*.la "
2011-09-21 18:39:55 +00:00