logo

overlay

My (experimental) gentoo overlay
commit: 540f726c9bd6c3990e64b8fb43f624d36ae6bd04
parent: 3bce5cde43c24ad787b0922cfe76433e468c4928
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Thu, 14 Feb 2019 20:35:36 +0100

app-misc/g810-led: Upstream maintained by me

Diffstat:

Dapp-misc/g810-led/Manifest1-
Dapp-misc/g810-led/g810-led-0.3.1.ebuild47-----------------------------------------------
Dapp-misc/g810-led/metadata.xml18------------------
3 files changed, 0 insertions(+), 66 deletions(-)

diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest @@ -1 +0,0 @@ -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 @@ -1,47 +0,0 @@ -# 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 -} diff --git a/app-misc/g810-led/metadata.xml b/app-misc/g810-led/metadata.xml @@ -1,18 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>contact@hacktivis.me</email> - <name>Haelwenn (lanodan) Monnier</name> - </maintainer> - <maintainer type="project"> - <email>proxy-maint@gentoo.org</email> - <name>Proxy Maintainers</name> - </maintainer> - <use> - <flag name="hidapi">Use <pkg>dev-libs/hidapi</pkg> instead of <pkg>virtual/libusb</pkg> for talking to the device (advertised to be faster)</flag> - </use> - <upstream> - <remote-id type="github">MatMoul/g810-led</remote-id> - </upstream> -</pkgmetadata>