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 51DE6138334 for ; Tue, 5 Feb 2019 06:20:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6F10DE0CB7; Tue, 5 Feb 2019 06:20:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 2D790E0CB7 for ; Tue, 5 Feb 2019 06:20:16 +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 0D3F6335D94 for ; Tue, 5 Feb 2019 00:30:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7C409536 for ; Tue, 5 Feb 2019 00:30:24 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1549326612.09d7e18aaab6cc71179579ee96a55b98c0ed7901.asturm@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.1.ebuild X-VCS-Directories: app-misc/g810-led/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 09d7e18aaab6cc71179579ee96a55b98c0ed7901 X-VCS-Branch: master Date: Tue, 5 Feb 2019 00:30:24 +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: 52072f35-4931-47d2-aa0d-c2a2a15fc6ea X-Archives-Hash: d110191cf5330e2378aa9c12d77e700d commit: 09d7e18aaab6cc71179579ee96a55b98c0ed7901 Author: Haelwenn (lanodan) Monnier hacktivis me> AuthorDate: Tue Jan 8 01:23:07 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 5 00:30:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d7e18a app-misc/g810-led: Bump to 0.3.1 Signed-off-by: Haelwenn (lanodan) Monnier hacktivis.me> Closes: https://github.com/gentoo/gentoo/pull/10773 Signed-off-by: Andreas Sturmlechner gentoo.org> app-misc/g810-led/Manifest | 1 + app-misc/g810-led/g810-led-0.3.1.ebuild | 47 +++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest index 44d9060a363..2cd4d906598 100644 --- a/app-misc/g810-led/Manifest +++ b/app-misc/g810-led/Manifest @@ -1 +1,2 @@ DIST g810-led-0.2.7.tar.gz 33127 BLAKE2B 1ffa28f4e21273afa805ff2ddfeae00cf4b25382f7da617016651283331d7d17faee1e6f68d00ab988c30ba1a7d4b252cf28c021999871a7fbe54c47ae3ccb23 SHA512 f67d44f1c51a29cbdfe9bb5e28f3dea5e9b08aa5e2a08cf875578d6b74e8e77f880378c825efcc3068b400131295e1fd196454b8b10143c4f5d5f77be760512a +DIST g810-led-0.3.1.tar.gz 34069 BLAKE2B ebc83e1f0908e521573f6ea812c1893e8314548dbe30cad4a8f2af171eaf7f73ba905f6e01eafe9bca6c1bf006d626086091c871c6382dcd9a58caa76173ca59 SHA512 62bf73a897f8c1c967ce64f6e352d55b08af764b2aac8ce722906cdc67db28676bc5665d1ba307f0c43360e57d53e75fa39aea29ca7aa6da2e125782ae38446c diff --git a/app-misc/g810-led/g810-led-0.3.1.ebuild b/app-misc/g810-led/g810-led-0.3.1.ebuild new file mode 100644 index 00000000000..2e51fcb5d4f --- /dev/null +++ b/app-misc/g810-led/g810-led-0.3.1.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 +}