forked from brl/citadel
Bruce Leidl
4c3baa433b
Updated Recipes * dash-to-panel 40 * dconf 0.38.0 * gdm 3.38.0 * glib 2.66.1 * gjs 1.66.0 * gnome-autoar 0.2.4 * gnome-backgrounds 3.38.0 * gnome-bluetooth 3.34.3 * gnome-control-center 3.38.1 * gnome-screenshot 3.38.0 * gnome-shell 3.38.1 * gnome-session 3.38.0 * gnome-settings-daemon 3.38.0 * gnome-terminal 3.38.0 * gnome-usage 3.38.0 * graphene 1.10.2 * gsettings-desktop-schema 3.38.0 * gvfs 1.46.1 * iwd 1.9 * libgee 0.20.3 * libgtop 2.40.0 * libgweather 3.36.1 * mkpasswd 5.5.7 * mozjs 78.0.1 * mutter 3.38.1 * nautilus 3.38.1 * networkmanager 1.26.4 * polkit 0.118 * tracker 3.0.1 * vte 0.62.0 Removed because recipes exist in poky with adequate version * atk, at-spi * clutter * clutter-gtk * cogl * ell * gcr * itstool * libinput * pango Other removed recipes * systemd-initrd No longer using a separate systemd recipe for initramfs * caribou What even is this * gnome-tweaks Not used * mozjs Polkit no longer requires an ancient mozjs * mozjs68 Upgraded to mozjs78
62 lines
2.5 KiB
BlitzBasic
62 lines
2.5 KiB
BlitzBasic
SUMMARY = "PolicyKit Authorization Framework"
|
|
DESCRIPTION = "The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
|
|
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit"
|
|
LICENSE = "LGPLv2+"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
|
|
file://src/polkit/polkit.h;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4"
|
|
|
|
DEPENDS = "expat glib-2.0 intltool-native mozjs78"
|
|
|
|
inherit autotools gtk-doc pkgconfig useradd systemd gobject-introspection
|
|
|
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
|
|
|
PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', \
|
|
bb.utils.contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d), d)} \
|
|
"
|
|
|
|
PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam"
|
|
PACKAGECONFIG[systemd] = "--enable-libsystemd-login=yes --with-systemdsystemunitdir=${systemd_unitdir}/system/,--enable-libsystemd-login=no --with-systemdsystemunitdir=,systemd"
|
|
# there is no --enable/--disable option for consolekit and it's not picked by shlibs, so add it to RDEPENDS
|
|
PACKAGECONFIG[consolekit] = ",,,consolekit"
|
|
|
|
PAM_SRC_URI = "file://polkit-1_pam.patch"
|
|
SRC_URI = "http://www.freedesktop.org/software/polkit/releases/polkit-${PV}.tar.gz \
|
|
${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
|
|
"
|
|
SRC_URI[sha256sum] = "6d54e984e7072339f0d3147179e16e34e5fe0705158f259a765d772dcf78956b"
|
|
SRC_URI[md5] = "ae3f2a742740069922589ad20ffd54d2"
|
|
|
|
|
|
EXTRA_OECONF = "--with-os-type=moblin \
|
|
--disable-man-pages \
|
|
--disable-libelogind \
|
|
--enable-libsystemd-login \
|
|
"
|
|
|
|
do_configure_prepend() {
|
|
export LIBJS_CFLAGS="-include ${STAGING_INCDIR}/mozjs-78/js/RequiredDefines.h -isystem ${STAGING_INCDIR}/mozjs-78"
|
|
}
|
|
do_compile_prepend () {
|
|
export GIR_EXTRA_LIBS_PATH="${B}/src/polkit/.libs"
|
|
}
|
|
|
|
PACKAGES =+ "${PN}-examples"
|
|
|
|
FILES_${PN}_append = " \
|
|
${libdir}/${BPN}-1 \
|
|
${nonarch_libdir}/${BPN}-1 \
|
|
${datadir}/dbus-1 \
|
|
${datadir}/${BPN}-1 \
|
|
${datadir}/gettext \
|
|
"
|
|
|
|
FILES_${PN}-examples = "${bindir}/*example*"
|
|
|
|
USERADD_PACKAGES = "${PN}"
|
|
USERADD_PARAM_${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 polkitd"
|
|
|
|
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
|
|
SYSTEMD_AUTO_ENABLE = "disable"
|