summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-09-09 19:44:57 +0200
committerLars Wendler <polynomial-c@gentoo.org>2020-09-10 07:33:19 +0200
commit39820c0d0041648f1cf5714ee4402f20e9ac16d8 (patch)
tree769baabb9840ce90b1efb3eb2ff79bfc29e4ef0a /app-misc/g15daemon/g15daemon-9999.ebuild
parentdev-ruby/rails: add 6.0.3.3 (diff)
downloadgentoo-39820c0d0041648f1cf5714ee4402f20e9ac16d8.tar.gz
gentoo-39820c0d0041648f1cf5714ee4402f20e9ac16d8.tar.bz2
gentoo-39820c0d0041648f1cf5714ee4402f20e9ac16d8.zip
app-misc/g15daemon: add systemd unit
This is what I have had running on my system for almost 10 years now. Closes: https://bugs.gentoo.org/741458 Signed-off-by: Marek Szuba <marecki@gentoo.org> Package-Manager: Portage-3.0.6, Repoman-3.0.1 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'app-misc/g15daemon/g15daemon-9999.ebuild')
-rw-r--r--app-misc/g15daemon/g15daemon-9999.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/app-misc/g15daemon/g15daemon-9999.ebuild b/app-misc/g15daemon/g15daemon-9999.ebuild
index 23fb3430ee40..71c34ecf83b2 100644
--- a/app-misc/g15daemon/g15daemon-9999.ebuild
+++ b/app-misc/g15daemon/g15daemon-9999.ebuild
@@ -7,7 +7,7 @@ GENTOO_DEPEND_ON_PERL="no"
ESVN_PROJECT=${PN}/trunk
ESVN_REPO_URI="https://svn.code.sf.net/p/${PN}/code/trunk/${PN}-wip"
-inherit autotools flag-o-matic linux-info perl-module subversion toolchain-funcs udev
+inherit autotools flag-o-matic linux-info perl-module subversion systemd toolchain-funcs udev
DESCRIPTION="Takes control of the G15 keyboard, through the linux kernel uinput device driver"
HOMEPAGE="https://sourceforge.net/projects/g15daemon/"
@@ -125,6 +125,7 @@ src_install() {
newconfd "${FILESDIR}/${PN}-1.2.7.confd" ${PN}
newinitd "${FILESDIR}/${PN}-1.9.5.3.initd" ${PN}
+ systemd_dounit "${FILESDIR}/${PN}.service"
dobin "${FILESDIR}/g15daemon-hotplug"
udev_dorules "${FILESDIR}/99-g15daemon.rules"