gui-apps/ReGreet: fix indentation tabs instead of spaces

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2023-07-08 13:51:54 +01:00
parent f6ecf8ed1a
commit 30f902e8c9

View File

@@ -13,10 +13,10 @@ HOMEPAGE="https://github.com/rharish101/ReGreet"
LICENSE="GPL-3"
SLOT="0"
DEPEND="x11-libs/gtk+:3
gtk4? ( gui-libs/gtk )
cage? ( gui-wm/cage )
sway? ( gui-wm/sway )
|| ( gui-wm/cage gui-wm/sway )
gtk4? ( gui-libs/gtk )
cage? ( gui-wm/cage )
sway? ( gui-wm/sway )
|| ( gui-wm/cage gui-wm/sway )
"
RDEPEND="
@@ -30,39 +30,39 @@ IUSE="gtk4 logs cage sway"
REQUIRED_USE="|| ( cage sway ) cage? ( !sway ) sway? ( !cage )"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack
git-r3_src_unpack
cargo_live_src_unpack
}
src_configure() {
if use gtk4; then
local myfeatures=(
gtk4_8
)
fi
cargo_src_configure
if use gtk4; then
local myfeatures=(
gtk4_8
)
fi
cargo_src_configure
}
src_compile() {
cargo_src_compile
cargo_src_compile
}
src_install() {
newbin "${WORKDIR}/${P}/target/release/regreet regreet"
if use cage; then
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"
echo "Restart cage service to verify if works (Only activate on TTY1)"
fi
newbin ${WORKDIR}/${P}/target/release/regreet regreet
if use cage; then
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
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"
systemd-tmpfiles --create "$PWD/systemd-tmpfiles.conf"
fi
if use logs; then
insinto /etc/tmpfiles.d/ && newins ${WORKDIR}/${P}/systemd-tmpfiles.conf regreet.conf
systemd-tmpfiles --create "$PWD/systemd-tmpfiles.conf"
fi
}