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 13E6B138334 for ; Sun, 9 Jun 2019 10:13:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 139C4E0839; Sun, 9 Jun 2019 10:13:28 +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 D64B2E0839 for ; Sun, 9 Jun 2019 10:13:27 +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 C724D345AA9 for ; Sun, 9 Jun 2019 10:13:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 398DB57E for ; Sun, 9 Jun 2019 10:13:25 +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: <1560075121.aca10b8080358a55adb2cd59b93840c9ca40453e.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.4.ebuild X-VCS-Directories: app-misc/g810-led/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: aca10b8080358a55adb2cd59b93840c9ca40453e X-VCS-Branch: master Date: Sun, 9 Jun 2019 10:13:25 +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: dee71374-b5b1-419d-b49d-761e15240364 X-Archives-Hash: 6a46fd4396f2ffcb510d78b597907532 commit: aca10b8080358a55adb2cd59b93840c9ca40453e Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Sun May 26 11:52:16 2019 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jun 9 10:12:01 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aca10b80 app-misc/g810-led: Bump to 0.3.4 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.4.ebuild | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest index e822820b6ca..b6cbbbdfd36 100644 --- a/app-misc/g810-led/Manifest +++ b/app-misc/g810-led/Manifest @@ -1 +1,2 @@ DIST g810-led-0.3.1.tar.gz 34069 BLAKE2B ebc83e1f0908e521573f6ea812c1893e8314548dbe30cad4a8f2af171eaf7f73ba905f6e01eafe9bca6c1bf006d626086091c871c6382dcd9a58caa76173ca59 SHA512 62bf73a897f8c1c967ce64f6e352d55b08af764b2aac8ce722906cdc67db28676bc5665d1ba307f0c43360e57d53e75fa39aea29ca7aa6da2e125782ae38446c +DIST g810-led-0.3.4.tar.gz 34549 BLAKE2B 7816fc7d9892f0e7bde5369612c1b251b2b64846b68ddc795b4ca777b6369ef3e8a0a70b797883edb5d220af6a4905e55ceb24c53dbba307cf8589fe7c2cf232 SHA512 3ec460f6994adcf58c2fa024433544c83bac789981f31605ba4e4eeec255864e00fe2bcd485c1867fce9d2df9ab7313f88cbd7bcc1bab8d805dc560955386b59 diff --git a/app-misc/g810-led/g810-led-0.3.4.ebuild b/app-misc/g810-led/g810-led-0.3.4.ebuild new file mode 100644 index 00000000000..2e51fcb5d4f --- /dev/null +++ b/app-misc/g810-led/g810-led-0.3.4.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 +}