mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 14:05:06 +00:00
Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
29 lines
985 B
BlitzBasic
29 lines
985 B
BlitzBasic
SUMMARY = "Makes power profiles handling available over D-Bus"
|
|
HOMEPAGE = "https://gitlab.freedesktop.org/upower/power-profile-daemon"
|
|
LICENSE = "GPL-3.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|
|
|
DEPENDS = " \
|
|
glib-2.0 \
|
|
polkit \
|
|
upower \
|
|
libgudev \
|
|
"
|
|
|
|
inherit meson pkgconfig systemd features_check
|
|
|
|
REQUIRED_DISTRO_FEATURES = "polkit"
|
|
|
|
EXTRA_OEMESON = "-Dtests=false"
|
|
|
|
SRCREV = "5b4994c8a91290481bef87a5bae95391d0ec677f"
|
|
SRC_URI = "git://gitlab.freedesktop.org/upower/power-profiles-daemon;branch=main;protocol=https"
|
|
|
|
do_install:append() {
|
|
install -d ${D}${sysconfdir}/tmpfiles.d
|
|
echo "d ${localstatedir}/lib/power-profiles-daemon 700 root root - -" > ${D}${sysconfdir}/tmpfiles.d/power-profiles-daemon.conf
|
|
sed -i -e 's|After=multi-user.target |After=|g' ${D}${systemd_system_unitdir}/power-profiles-daemon.service
|
|
}
|
|
|
|
FILES:${PN} += "${sysconfdir}/tmpfiles.d ${datadir}/dbus-1 ${datadir}/polkit-1 ${systemd_system_unitdir}"
|