mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-09-23 11:21:11 +00:00
smolkit: Add low-footprint drop-in replacement for polkit
smolkit is a drop-in replacement for a subset of polkit's interface, which is low-footprint in the sense of not needing to have a javascript engine available to do its job. polkit has this disadvantage and even with a small javascript engine like duktape, it is not worth to have turing-complete configuration where you could also use static JSON on some embedded devices. Signed-off-by: Tillmann Severin <tillmann.severin@bmw.de> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "low-footprint drop-in polkit replacement"
|
||||
HOMEPAGE = "https://github.com/bmwcarit/smolkit"
|
||||
DESCRIPTION = "\
|
||||
Service that implements a subset of polkit's D-Bus interface with a static configuration language. \
|
||||
"
|
||||
|
||||
LICENSE = "Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57"
|
||||
|
||||
inherit cmake features_check pkgconfig
|
||||
|
||||
DEPENDS = "\
|
||||
rapidjson \
|
||||
sdbus-c++ \
|
||||
"
|
||||
|
||||
CONFLICT_DISTRO_FEATURES = "polkit"
|
||||
REQUIRED_DISTRO_FEATURES = "smolkit"
|
||||
|
||||
PV = "0.2+git"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/bmwcarit/${BPN}.git;protocol=https;branch=main \
|
||||
"
|
||||
SRCREV = "46bbfd5c922a8d03a534398ee129ded822dfcafe"
|
||||
|
||||
S = "${UNPACKDIR}/${BB_GIT_DEFAULT_DESTSUFFIX}"
|
||||
Reference in New Issue
Block a user