From 0c50cd6afa04321d6cd5c1f8bdebdc2fbca40802 Mon Sep 17 00:00:00 2001 From: Markus Volk Date: Wed, 1 Feb 2023 09:31:20 +0100 Subject: [PATCH] azote: add .azotebg file azote will not work, if it doesn' exist --- recipes-gtk/nwg-shell/azote_git.bb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/recipes-gtk/nwg-shell/azote_git.bb b/recipes-gtk/nwg-shell/azote_git.bb index 29c9ec5..23b10ee 100644 --- a/recipes-gtk/nwg-shell/azote_git.bb +++ b/recipes-gtk/nwg-shell/azote_git.bb @@ -22,7 +22,7 @@ RDEPENDS:${PN} = " \ wlr-randr \ " -inherit setuptools3 +inherit setuptools3 main-user S = "${WORKDIR}/git" PV = "1.9.7" @@ -33,15 +33,18 @@ do_configure:prepend() { } do_install:append() { - install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications + install -d ${D}${bindir} ${D}${datadir}/azote ${D}${datadir}/pixmaps ${D}${datadir}/applications ${D}${MAIN_USER_HOMEDIR} install -m 755 ${S}/distrib/azote ${D}${bindir} install -m 644 ${S}/distrib/azote.desktop ${D}${datadir}/applications install -m 644 ${S}/distrib/azote.svg ${D}${datadir}/pixmaps install -m 644 ${S}/distrib/indicator_active.png ${D}${datadir}/azote install -m 644 ${S}/distrib/indicator_attention.png ${D}${datadir}/azote + touch ${D}${MAIN_USER_HOMEDIR}/.azotebg + chown ${MAIN_USER_NAME}:${MAIN_USER_NAME} -R ${D}${MAIN_USER_HOMEDIR} } FILES:${PN}:append = " \ ${datadir} \ ${bindir} \ + ${MAIN_USER_HOMEDIR} \ "