gui-apps/lan-mouse: Install desktop,icon,service files

Signed-off-by: DMLhope <605811524@qq.com>
Closes: https://github.com/gentoo/guru/pull/173
Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
DMLhope
2024-04-30 11:09:24 +08:00
committed by David Roman
parent abf1283d4e
commit 326dfe4e8b

View File

@@ -270,7 +270,14 @@ CRATES="
zvariant_utils@1.1.0
"
inherit cargo
inherit cargo desktop systemd xdg
DEPEND="
gui-libs/libadwaita
gui-libs/gtk
x11-themes/hicolor-icon-theme
"
RDEPEND="${DEPEND}"
DESCRIPTION="Software KVM Switch / mouse & keyboard sharing software for Local Area Networks"
HOMEPAGE="https://github.com/feschber/lan-mouse"
@@ -287,3 +294,10 @@ LICENSE+="
"
SLOT="0"
KEYWORDS="~amd64"
src_install() {
cargo_src_install
doicon -s scalable resources/de.feschber.LanMouse.svg
domenu de.feschber.LanMouse.desktop
systemd_douserunit service/lan-mouse.service
}