commit: 3cf6c1f189b1c0132cc8a3ffd3627623b794005a Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com> AuthorDate: Fri Jul 7 10:35:06 2023 +0000 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me> CommitDate: Fri Jul 7 10:35:06 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3cf6c1f1
gui-apps/ReGreet: fix spacing and metadata Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com> gui-apps/ReGreet/ReGreet-9999.ebuild | 16 ++++++++-------- gui-apps/ReGreet/metadata.xml | 7 ++++--- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/gui-apps/ReGreet/ReGreet-9999.ebuild b/gui-apps/ReGreet/ReGreet-9999.ebuild index 495666263..1f0457a68 100644 --- a/gui-apps/ReGreet/ReGreet-9999.ebuild +++ b/gui-apps/ReGreet/ReGreet-9999.ebuild @@ -19,11 +19,11 @@ DEPEND="x11-libs/gtk+:3 || ( gui-wm/cage gui-wm/sway ) " RDEPEND=" - ${DEPEND} - gui-libs/greetd + ${DEPEND} + gui-libs/greetd " BDEPEND=" - virtual/rust + virtual/rust " IUSE="gtk4 logs cage sway" REQUIRED_USE="|| ( cage sway ) cage? ( !sway ) sway? ( !cage )" @@ -48,21 +48,21 @@ src_compile() { } src_install() { - newbin ${WORKDIR}/${P}/target/release/regreet regreet + newbin "${WORKDIR}/${P}/target/release/regreet regreet" if use cage; then - insinto /etc/greetd/ && newins ${FILESDIR}/config-cage.toml config.toml + insinto /etc/greetd/ && newins "${FILESDIR}/config-cage.toml config.toml" echo "Restart cage service to verify if works (Only activate on TTY1)" fi if use sway; then - insinto /etc/greetd/ && newins ${FILESDIR}/config-sway.toml config.toml - insinto /etc/greetd/ && doins ${FILESDIR}/sway-config + insinto /etc/greetd/ && newins "${FILESDIR}/config-sway.toml config.toml" + insinto /etc/greetd/ && doins "${FILESDIR}/sway-config" echo "Restart cage service to verify if works (Only activate on TTY1)" fi } src_post_install () { if use logs; then - insinto /etc/tmpfiles.d/ && newins ${WORKDIR}/${P}/systemd-tmpfiles.conf regreet.conf + insinto /etc/tmpfiles.d/ && newins "${WORKDIR}/${P}/systemd-tmpfiles.conf regreet.conf" systemd-tmpfiles --create "$PWD/systemd-tmpfiles.conf" fi } \ No newline at end of file diff --git a/gui-apps/ReGreet/metadata.xml b/gui-apps/ReGreet/metadata.xml index 23d69ba06..5cac65605 100644 --- a/gui-apps/ReGreet/metadata.xml +++ b/gui-apps/ReGreet/metadata.xml @@ -5,8 +5,9 @@ <flag name="gtk4">Compile with support for gtk4</flag> <flag name="cage">Use cage to start ReGreet</flag> <flag name="sway">Use sway to start ReGreet</flag> + <flag name="logs">Compile ReGreet with logs enable (debug)</flag> </use> - <upstream> - <remote-id type="github">rharish101/ReGreet</remote-id> - </upstream> + <upstream> + <remote-id type="github">rharish101/ReGreet</remote-id> + </upstream> </pkgmetadata>