25 lines
988 B
TOML
25 lines
988 B
TOML
[package]
|
|
name = "polkit"
|
|
version = "125"
|
|
description = "Authorization framework"
|
|
url = "https://github.com/polkit-org/polkit"
|
|
license = "LGPL-2.0"
|
|
|
|
[source]
|
|
url = "https://github.com/polkit-org/polkit/archive/${version}/polkit-${version}.tar.gz"
|
|
sha256 = "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"
|
|
|
|
[dependencies]
|
|
run = ["glib", "dbus", "duktape", "expat"]
|
|
build = ["meson", "ninja", "pkg-config", "gettext", "perl"]
|
|
|
|
[build]
|
|
system = "meson"
|
|
# Session tracking disabled — we use seatd for seat management instead of
|
|
# elogind/systemd-logind. polkit still works for password prompts via the
|
|
# lxqt-policykit-agent (started in .zprofile). Active session detection
|
|
# falls back to checking if the requesting process is on the active VT.
|
|
configure = """meson setup build --prefix=/usr --buildtype=release -Dsession_tracking=disabled -Dsystemdsystemunitdir=no -Djs_engine=duktape"""
|
|
make = """ninja -C build"""
|
|
install = """DESTDIR=${PKG} ninja -C build install"""
|