summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-09-21 14:13:03 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-09-21 14:19:25 +0200
commitac0a308e2cc557390fd5db85673c1bb4eced3b46 (patch)
treede2e26e7bd706970b284a9d18636b0fd9d3cd8e7 /sys-apps/openrazer
parentsys-apps/razercommander: update desktop/icon cache (diff)
downloadgentoo-ac0a308e2cc557390fd5db85673c1bb4eced3b46.tar.gz
gentoo-ac0a308e2cc557390fd5db85673c1bb4eced3b46.tar.bz2
gentoo-ac0a308e2cc557390fd5db85673c1bb4eced3b46.zip
sys-apps/openrazer: print short OpenRazer setup info
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sys-apps/openrazer')
-rw-r--r--sys-apps/openrazer/openrazer-3.4.0-r1.ebuild (renamed from sys-apps/openrazer/openrazer-3.4.0.ebuild)11
1 files changed, 9 insertions, 2 deletions
diff --git a/sys-apps/openrazer/openrazer-3.4.0.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
index 35081c80dc4b..08687a20fd3b 100644
--- a/sys-apps/openrazer/openrazer-3.4.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit desktop systemd udev xdg-utils distutils-r1 python-r1 linux-mod
+inherit desktop readme.gentoo-r1 systemd udev xdg-utils distutils-r1 python-r1 linux-mod
DESCRIPTION="Drivers and user-space daemon to control Razer devices on GNU/Linux"
HOMEPAGE="https://openrazer.github.io/
@@ -46,7 +46,10 @@ BDEPEND="
DOCS=( README.md )
-# This is a bit weird, but it's end result is what we want.
+DOC_CONTENTS="To successfully use OpenRazer: load desired kernel module
+(razeraccessory, razerkbd, razerkraken and/or razermouse),
+add Your user to the \"plugdev\" group and start the \"openrazer-daemon\"."
+
BUILD_TARGETS="clean driver"
BUILD_PARAMS="-C ${S} SUBDIRS=${S}/driver KERNELDIR=${KERNEL_DIR}"
MODULE_NAMES="
@@ -93,6 +96,8 @@ src_compile() {
if use daemon ; then
emake -C "${S}"/daemon PREFIX=/usr service
fi
+
+ readme.gentoo_create_doc
}
src_test() {
@@ -132,6 +137,8 @@ pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
fi
+
+ readme.gentoo_print_elog
}
pkg_postrm() {