Brad Bishop | e42b3e3 | 2020-01-15 22:08:42 -0500 | [diff] [blame] | 1 | DESCRIPTION = "D-Bus interfaces for querying and manipulating user account information" |
| 2 | HOMEPAGE = "https://www.freedesktop.org/wiki/Software/AccountsService/" |
| 3 | LICENSE = "GPLv3" |
| 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" |
| 5 | |
| 6 | DEPENDS = " \ |
| 7 | dbus \ |
| 8 | polkit \ |
| 9 | " |
| 10 | |
| 11 | inherit meson gobject-introspection gtk-doc features_check systemd |
| 12 | |
| 13 | REQUIRED_DISTRO_FEATURES = "polkit" |
| 14 | |
| 15 | SRC_URI = "https://www.freedesktop.org/software/${BPN}/${BPN}-${PV}.tar.xz" |
| 16 | SRC_URI_append_libc-musl = " \ |
| 17 | file://0001-musl-Hack-to-fix-build.patch \ |
| 18 | file://0002-musl-add-missing-fgetspent_r.patch \ |
| 19 | " |
| 20 | SRC_URI[md5sum] = "6e4c6fbd490260cfe17de2e76f5d803a" |
| 21 | SRC_URI[sha256sum] = "ff2b2419a7e06bd9cb335ffe391c7409b49a0f0130b890bd54692a3986699c9b" |
| 22 | |
| 23 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 24 | |
| 25 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" |
| 26 | PACKAGECONFIG[systemd] = "-Dsystemd=true, -Dsystemd=false -Dsystemdsystemunitdir='no', systemd" |
| 27 | |
| 28 | SYSTEMD_SERVICE_${PN} = "accounts-daemon.service" |
| 29 | |
| 30 | FILES_${PN} += " \ |
| 31 | ${datadir}/dbus-1 \ |
| 32 | ${datadir}/polkit-1 \ |
| 33 | " |