diff options
Diffstat (limited to 'recipes-desktop/kzdesktop/kzdesktop.inc')
-rw-r--r-- | recipes-desktop/kzdesktop/kzdesktop.inc | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-desktop/kzdesktop/kzdesktop.inc b/recipes-desktop/kzdesktop/kzdesktop.inc new file mode 100644 index 0000000..69930a1 --- /dev/null +++ b/recipes-desktop/kzdesktop/kzdesktop.inc @@ -0,0 +1,28 @@ +DESCRIPTION = "XDG Free Desktop Qt implementation" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=84657d0be71d6615481bbbde593d3c88" + +inherit kazoe-project qt6-cmake systemd + +DEPENDS += " qtwayland qtdeclarative qtdeclarative-native qtwayland-native kzxdg " +RDEPENDS:${PN} += " qtvirtualkeyboard " + +SYSTEMD_PACKAGES = "${PN}" + + +do_install:append() { + install -d ${D}/var/lib/systemd/linger + touch ${D}/var/lib/systemd/linger/${KAZOE_USER} + + if [ "u${KAZOE_USER}" = "uroot" ] + then + install -d ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants + ln -s /usr/lib/systemd/user/desktopmgr.service ${D}${ROOT_HOME}/.config/systemd/user/default.target.wants/desktopmgr.service + else + install -d ${D}/home/${KAZOE_USER}/.config/systemd/user/default.target.wants + ln -s /usr/lib/systemd/user/desktopmgr.service ${D}/home/${KAZOE_USER}/.config/systemd/user/default.target.wants/desktopmgr.service + fi +} + +FILES:${PN} += " ${ROOT_HOME} /usr/lib/qt6/qml/org/kazoe/xdg /home/${KAZOE_USER} ${systemd_user_unitdir} " +FILES:${PN}-dev += "/usr/share/dbus-1/interfaces" |