diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2019-06-27 09:42:43 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2019-06-27 12:45:46 +0200 |
commit | e0774359d57ca28fe1ce03cc961112bafe21c101 (patch) | |
tree | b760a9f18a13a29ffddde735f2e487f3c2b8ee9a /app-misc/g810-led | |
parent | net-analyzer/mrtg: Old (diff) | |
download | gentoo-e0774359d57ca28fe1ce03cc961112bafe21c101.tar.gz gentoo-e0774359d57ca28fe1ce03cc961112bafe21c101.tar.bz2 gentoo-e0774359d57ca28fe1ce03cc961112bafe21c101.zip |
app-misc/g810-led: Bump to 0.3.5
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-misc/g810-led')
-rw-r--r-- | app-misc/g810-led/Manifest | 1 | ||||
-rw-r--r-- | app-misc/g810-led/g810-led-0.3.5.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest index 9155947ee579..16dfd0e974d1 100644 --- a/app-misc/g810-led/Manifest +++ b/app-misc/g810-led/Manifest @@ -1 +1,2 @@ DIST g810-led-0.3.4.tar.gz 34549 BLAKE2B 7816fc7d9892f0e7bde5369612c1b251b2b64846b68ddc795b4ca777b6369ef3e8a0a70b797883edb5d220af6a4905e55ceb24c53dbba307cf8589fe7c2cf232 SHA512 3ec460f6994adcf58c2fa024433544c83bac789981f31605ba4e4eeec255864e00fe2bcd485c1867fce9d2df9ab7313f88cbd7bcc1bab8d805dc560955386b59 +DIST g810-led-0.3.5.tar.gz 34543 BLAKE2B 6f5a946beea269d684bccaab5102f53b638f5ef66557809e50783fc0ce0ec508f2c8486b1da59347d4fb7099d4fee06bf364cafee2fe74fee88cce7860638a8e SHA512 25ed0a65b6c08de19a86c460a78a4b5a06e6e70e312840f7940317d71a3fbea723ce0926500258afbd4bccc534117228b2e800a54388bb70e00431bf8ae1668c diff --git a/app-misc/g810-led/g810-led-0.3.5.ebuild b/app-misc/g810-led/g810-led-0.3.5.ebuild new file mode 100644 index 000000000000..2e51fcb5d4f2 --- /dev/null +++ b/app-misc/g810-led/g810-led-0.3.5.ebuild @@ -0,0 +1,47 @@ +# Copyright 2018-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd udev eutils + +DESCRIPTION="Led controller for Logitech G- Keyboards" +HOMEPAGE="https://github.com/MatMoul/g810-led" +SRC_URI="https://github.com/MatMoul/g810-led/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+hidapi" + +RDEPEND=" + hidapi? ( dev-libs/hidapi:= ) + !hidapi? ( virtual/libusb:= ) +" + +DEPEND="${RDEPEND}" + +DOCS=("README.md" "sample_profiles" "sample_effects") + +src_compile() { + emake LIB="$(usex hidapi hidapi libusb)" +} + +src_install() { + dolib.so "lib/libg810-led.so.${PV}" + dosym "libg810-led.so.${PV}" "/usr/$(get_libdir)/libg810-led.so" + + dobin bin/g810-led + local boards=(213 410 413 512 513 610 910 pro) + local x + for x in "${boards[@]}"; do + dosym g810-led "/usr/bin/g${x}-led" + done + + systemd_dounit systemd/g810-led.service + systemd_dounit systemd/g810-led-reboot.service + + udev_newrules udev/g810-led.rules 60-g810-led.rules + + einstalldocs +} |