meta-openembedded/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
Alexander Kanavin fc78d37ff0
meta-openembedded/all: adapt to UNPACKDIR changes
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>
2025-06-25 06:44:52 -07:00

26 lines
814 B
BlitzBasic

SUMMARY = "Generic Linux command-line automation tool (no X!)"
DESCRIPTION = "ydotool is not limited to Wayland. You can use it on anything as long as it accepts keyboard/mouse/whatever input."
LICENSE = "AGPL-3.0-or-later"
LIC_FILES_CHKSUM = "file://LICENSE;md5=eb1e647870add0502f8f010b19de32af"
PV = "1.0.4+git"
SRC_URI = "git://github.com/ReimuNotMoe/ydotool;protocol=https;branch=master"
SRCREV = "0c295346d55afcc6aebaaee564333b3e1efabcbd"
inherit cmake systemd
EXTRA_OECMAKE = "\
-DBUILD_DOCS=OFF \
"
do_install:append() {
if ! ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
rm -rf ${D}${systemd_user_unitdir}
rmdir ${D}${nonarch_libdir}/systemd ${D}${nonarch_libdir}
fi
}
SYSTEMD_SERVICE:${PN} = "ydotoold.service"
SYSTEMD_AUTO_ENABLE = "disable"