summaryrefslogtreecommitdiff
path: root/sys-apps/openrazer
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-09-21 17:26:21 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-09-21 17:26:21 +0100
commit1c724102ee86c2c9fc156106acc870f69a4764c3 (patch)
tree764c8508307b679f73b5da39393ff9f98a89f2d6 /sys-apps/openrazer
parent944021dc3fb629a9c074228bf7da9f7ddf7a0caa (diff)
gentoo auto-resync : 21:09:2022 - 17:26:21
Diffstat (limited to 'sys-apps/openrazer')
-rw-r--r--sys-apps/openrazer/Manifest2
-rw-r--r--sys-apps/openrazer/openrazer-3.4.0-r2.ebuild (renamed from sys-apps/openrazer/openrazer-3.4.0.ebuild)22
2 files changed, 15 insertions, 9 deletions
diff --git a/sys-apps/openrazer/Manifest b/sys-apps/openrazer/Manifest
index 0cf0c71b1541..9eeb9bb042f5 100644
--- a/sys-apps/openrazer/Manifest
+++ b/sys-apps/openrazer/Manifest
@@ -1,3 +1,3 @@
DIST openrazer-3.4.0.tar.gz 233490 BLAKE2B dc5236e75b998c72c4ebc2420d2c5f3d996af19e87d91d4d76dca7098c6120a12b642c314eca037973f140e4679ab42d0f25ce5225bc97d9839468f8325de56b SHA512 ba9efb3ce2736365e453328e81683368df0ef894ac44ac79c7b34c5bd782b9394170a9528d58db954da880f18a5e72a3d84810ec11b5b34845eee7daa9babd22
-EBUILD openrazer-3.4.0.ebuild 3294 BLAKE2B 8253b37f95e30dd0d309b666ec5139bc3bc60963eef0ab81c99b7cf3d37bb2abdd4e6c0f6d58574ae007a397b487cd5769f041c1942bedefd8eee00ca546dbb2 SHA512 e6f0f3c026502da203f244f3edaa400727571ca42abb686b0387cf6b95937bf1cc55e566f6022b17949df8bf1656ad8edb8327f13b7b5a2823f95e6f59be8416
+EBUILD openrazer-3.4.0-r2.ebuild 3426 BLAKE2B ead553a9c12b6c46a7baceff200c37a821d22ef3fc42418b444827e3f8d0624e9cf37c91e62cb0fae26ac5c6054f41a981a03f45b10ea35d53e48f4f8f2a5875 SHA512 de8ab988322ce0826a387afd1c2bb8d7d42b1f59e9dd7f9b80b4b6d7e6b0100b427df43e9b3f1974085c9dc6b4076dd18790771cba6979fbfee7b980230cf1c3
MISC metadata.xml 557 BLAKE2B c7d8fe83eb9f1d3d5361d816e6bad6abd2eea172e743a3482b1e67bb77019251b26b2ecb7d9d8e7efd4ada69990ea07735446771a836a64bd110cac6b72a626a SHA512 87490d202ae606a8f4d1fe63e5631c7eae1ae13f0705dc6553f79b351d6181183cc81c69b5740647298a48e35db407821835c8309db725b609f4bcfd8d0bdd56
diff --git a/sys-apps/openrazer/openrazer-3.4.0.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
index 35081c80dc4b..1af09bba0ae3 100644
--- a/sys-apps/openrazer/openrazer-3.4.0.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r2.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 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() {
@@ -112,15 +117,14 @@ src_install() {
newins "${S}"/daemon/resources/razer.conf razer.conf.example
if use daemon ; then
- # systemd units
- systemd_dounit "${S}"/daemon/org.razer.service
- systemd_dounit "${S}"/daemon/${PN}-daemon.service
+ # dbus service
+ insinto /usr/share/dbus-1/services
+ doins "${S}"/daemon/org.razer.service
+ # systemd unit
+ systemd_douserunit "${S}"/daemon/${PN}-daemon.service
# Manpages
doman "${S}"/daemon/resources/man/${PN}-daemon.8
doman "${S}"/daemon/resources/man/razer.conf.5
- # Autostart menu
- newicon logo/${PN}-chroma.svg ${PN}-daemon.svg
- domenu "${S}"/install_files/desktop/${PN}-daemon.desktop
fi
}
@@ -132,6 +136,8 @@ pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
fi
+
+ readme.gentoo_print_elog
}
pkg_postrm() {