mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
app-misc/g810-led: drop 0.3.6
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST g810-led-0.3.6.tar.gz 34544 BLAKE2B 142fd54d7721a1deebfb019b644a4c8ab0fd5e1662391075cea67a4c7b7145034101f14c22975bdf079ee5b8e56c4a73e18fe31ce5d7fcf20ff4b9c64ee85502 SHA512 5a1877ee135a662bc5eb15c1afe5370cfe9243b4479823e3492f0da8f407b1438e3d7e35bd9992eea8dcbd4d548c9acdb7e74f4c99efbd4e9e8e6ddae33f8a5b
|
||||
DIST g810-led-0.4.2.tar.gz 36669 BLAKE2B 738ca1849b05ddc35e42c258f67b2fedc2ab207594a32111aeca8cb1cffa99580e0f22e57ea92aff0e49f546e871b5af1c77cd5830349af98c9a977b27a0186b SHA512 03e62265964b6d47d474b57a92beb3a017e8479113750e7d52790d0779b8893eb7e3761f236db94ff1e1ddb0424c711fd1a35c869d0f93ad68104b1ddd2bf1e8
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 2018-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit systemd udev
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user