From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A493A138334 for ; Mon, 22 Jul 2019 03:30:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B613DE0844; Mon, 22 Jul 2019 03:30:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 45B84E0841 for ; Mon, 22 Jul 2019 03:30:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5162F3485FF for ; Mon, 22 Jul 2019 03:30:20 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AF87266 for ; Mon, 22 Jul 2019 03:30:04 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1563765899.a322e604f61c4c5579b0c6241748816570cf7068.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/g810-led/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/g810-led/Manifest app-misc/g810-led/g810-led-0.3.6.ebuild X-VCS-Directories: app-misc/g810-led/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: a322e604f61c4c5579b0c6241748816570cf7068 X-VCS-Branch: master Date: Mon, 22 Jul 2019 03:30:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f6cf9a27-3372-44c1-a8fc-3db4d29d240a X-Archives-Hash: 851cfb636a4c55187782a666751301b1 commit: a322e604f61c4c5579b0c6241748816570cf7068 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sun Jul 21 23:50:24 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 22 03:24:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a322e604 app-misc/g810-led: Version bump, 0.3.6 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Signed-off-by: Michał Górny gentoo.org> app-misc/g810-led/Manifest | 1 + app-misc/g810-led/g810-led-0.3.6.ebuild | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest index 66452dd12a2..ed64b952a54 100644 --- a/app-misc/g810-led/Manifest +++ b/app-misc/g810-led/Manifest @@ -1 +1,2 @@ DIST g810-led-0.3.5.tar.gz 34543 BLAKE2B 6f5a946beea269d684bccaab5102f53b638f5ef66557809e50783fc0ce0ec508f2c8486b1da59347d4fb7099d4fee06bf364cafee2fe74fee88cce7860638a8e SHA512 25ed0a65b6c08de19a86c460a78a4b5a06e6e70e312840f7940317d71a3fbea723ce0926500258afbd4bccc534117228b2e800a54388bb70e00431bf8ae1668c +DIST g810-led-0.3.6.tar.gz 34544 BLAKE2B 142fd54d7721a1deebfb019b644a4c8ab0fd5e1662391075cea67a4c7b7145034101f14c22975bdf079ee5b8e56c4a73e18fe31ce5d7fcf20ff4b9c64ee85502 SHA512 5a1877ee135a662bc5eb15c1afe5370cfe9243b4479823e3492f0da8f407b1438e3d7e35bd9992eea8dcbd4d548c9acdb7e74f4c99efbd4e9e8e6ddae33f8a5b diff --git a/app-misc/g810-led/g810-led-0.3.6.ebuild b/app-misc/g810-led/g810-led-0.3.6.ebuild new file mode 100644 index 00000000000..2e51fcb5d4f --- /dev/null +++ b/app-misc/g810-led/g810-led-0.3.6.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 +}