summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-09-21 15:47:13 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-09-21 16:06:25 +0200
commit141629cdb614260029be3def0a7241e3b460bac3 (patch)
tree197a1be91e6cee940f9fb6fc9e97c43a160bf6f1 /sys-apps/openrazer
parentdev-java/jackson-dataformat-xml: add 2.13.4 (diff)
downloadgentoo-141629cdb614260029be3def0a7241e3b460bac3.tar.gz
gentoo-141629cdb614260029be3def0a7241e3b460bac3.tar.bz2
gentoo-141629cdb614260029be3def0a7241e3b460bac3.zip
sys-apps/openrazer: correct dbus and systemd directories
and do not install the autostart menu desktop file Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'sys-apps/openrazer')
-rw-r--r--sys-apps/openrazer/openrazer-3.4.0-r2.ebuild (renamed from sys-apps/openrazer/openrazer-3.4.0-r1.ebuild)13
1 files changed, 6 insertions, 7 deletions
diff --git a/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild b/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
index 08687a20fd3b..1af09bba0ae3 100644
--- a/sys-apps/openrazer/openrazer-3.4.0-r1.ebuild
+++ b/sys-apps/openrazer/openrazer-3.4.0-r2.ebuild
@@ -5,7 +5,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
-inherit desktop readme.gentoo-r1 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/
@@ -117,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
}