gui-apps/ReGreet: improve ebuild and fix metadata

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
This commit is contained in:
Gonçalo Negrier Duarte
2023-07-07 23:41:32 +01:00
parent 7fb35f6405
commit c4b09bbed4
2 changed files with 9 additions and 9 deletions

View File

@@ -13,22 +13,22 @@ 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="
${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 )"
src_unpack() {
git-r3_src_unpack
cargo_live_src_unpack

View File

@@ -5,7 +5,7 @@
<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>
<flag name="logs">Compile logs support ReGreet (debug)</flag>
</use>
<upstream>
<remote-id type="github">rharish101/ReGreet</remote-id>