system-config-printer: Add packageconfig for polkit

Signed-off-by: Markus Volk <f_l_k@t-online.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Markus Volk 2023-11-25 15:03:17 +01:00 committed by Khem Raj
parent 304fd6a06e
commit 092502feed
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -13,8 +13,9 @@ REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
DEPENDS = "cups glib-2.0 libusb xmlto-native desktop-file-utils-native autoconf-archive-native"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd polkit', d)}"
PACKAGECONFIG[systemd] = ",--without-systemdsystemunitdir,systemd"
PACKAGECONFIG[polkit] = ",,,cups-pk-helper"
do_configure:prepend() {
# This file is not provided if fetching from git but required for configure