aboutsummaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorLuciano Degni <degni.public@gmail.com>2022-01-07 20:51:15 +0100
committerLuciano Degni <degni.public@gmail.com>2022-01-07 20:51:15 +0100
commitbc50f93af8fd107173ff0b4fbb034cf2d41f927a (patch)
tree804c694d61386ebe11ac7fdc0d50e821d69f39fd /x11-wm
parentx11-wm/leftwm: add use and change deps format (diff)
downloadguru-bc50f93af8fd107173ff0b4fbb034cf2d41f927a.tar.gz
guru-bc50f93af8fd107173ff0b4fbb034cf2d41f927a.tar.bz2
guru-bc50f93af8fd107173ff0b4fbb034cf2d41f927a.zip
x11-wm/leftwm: add use and change deps format
Signed-off-by: Luciano Degni <degni.public@gmail.com>
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/leftwm/leftwm-0.2.10.ebuild24
1 files changed, 18 insertions, 6 deletions
diff --git a/x11-wm/leftwm/leftwm-0.2.10.ebuild b/x11-wm/leftwm/leftwm-0.2.10.ebuild
index bb1ada236..199114594 100644
--- a/x11-wm/leftwm/leftwm-0.2.10.ebuild
+++ b/x11-wm/leftwm/leftwm-0.2.10.ebuild
@@ -158,15 +158,26 @@ LICENSE="
"
SLOT="0"
KEYWORDS="~amd64"
-IUSE="systemd"
+IUSE="systemd xinerama doc"
DEPEND="
- x11-libs/libXinerama:0=
- x11-apps/xrandr:0=
- x11-base/xorg-server:0=
+ x11-base/xorg-server[xorg,udev]
+ x11-apps/xrandr
+ xinerama? (
+ x11-libs/libXinerama
+ )
>=dev-lang/rust-1.52.0
+ systemd? (
+ sys-apps/systemd
+ )
+"
+BDEPEND="
+ $DEPEND
+"
+RDEPEND="
+ $DEPEND
+ !x11-wm/$PN-bin
"
-RDEPEND="${DEPEND}"
QA_FLAGS_IGNORED="usr/bin/.*"
@@ -177,7 +188,7 @@ src_compile() {
}
src_install() {
- dodoc README.md CHANGELOG
+ use doc && dodoc README.md CHANGELOG
make_desktop_entry leftwm.desktop /usr/share/xsessions/
cd target/release || die
dobin leftwm{,-worker,-state,-check,-command}
@@ -185,6 +196,7 @@ src_install() {
pkg_postinst() {
xdg_desktop_database_update
+ elog "Emerge 'x11-misc/leftwm-theme' to manage themes for $PN"
}
pkg_postrm() {