blob: 439958c7d24570effb0d1b960c97a47896a4885c [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001DESCRIPTION = "D-Bus interfaces for querying and manipulating user account information"
2HOMEPAGE = "https://www.freedesktop.org/wiki/Software/AccountsService/"
Andrew Geissler9aee5002022-03-30 16:27:02 +00003LICENSE = "GPL-3.0-only"
Brad Bishope42b3e32020-01-15 22:08:42 -05004LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
5
6DEPENDS = " \
7 dbus \
8 polkit \
9"
10
Patrick Williamsde0582f2022-04-08 10:23:27 -050011inherit meson gobject-introspection gtk-doc features_check systemd vala
Brad Bishope42b3e32020-01-15 22:08:42 -050012
13REQUIRED_DISTRO_FEATURES = "polkit"
14
Patrick Williamsde0582f2022-04-08 10:23:27 -050015SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz"
Patrick Williams213cb262021-08-07 19:21:33 -050016SRC_URI:append:libc-musl = " \
Brad Bishope42b3e32020-01-15 22:08:42 -050017 file://0001-musl-Hack-to-fix-build.patch \
18 file://0002-musl-add-missing-fgetspent_r.patch \
19"
Patrick Williamsde0582f2022-04-08 10:23:27 -050020SRC_URI[sha256sum] = "909997a76919fe7dc138a9a01cea70bd622d5a932dbc9fb13010113023a7a391"
Brad Bishope42b3e32020-01-15 22:08:42 -050021
22GTKDOC_MESON_OPTION = "gtk_doc"
23
24PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
Patrick Williamsde0582f2022-04-08 10:23:27 -050025PACKAGECONFIG[systemd] = ", -Dsystemdsystemunitdir='no', systemd"
Brad Bishope42b3e32020-01-15 22:08:42 -050026
Patrick Williams213cb262021-08-07 19:21:33 -050027SYSTEMD_SERVICE:${PN} = "accounts-daemon.service"
Brad Bishope42b3e32020-01-15 22:08:42 -050028
Patrick Williams213cb262021-08-07 19:21:33 -050029FILES:${PN} += " \
Brad Bishope42b3e32020-01-15 22:08:42 -050030 ${datadir}/dbus-1 \
31 ${datadir}/polkit-1 \
32"