summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaelwenn (lanodan) Monnier <contact@hacktivis.me>2019-01-08 02:25:14 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-02-05 01:30:12 +0100
commit035bd9316d2b66f6e540ac91fabe5d7db07fa139 (patch)
tree9430e6e54d06ff57c7d070fe16fa4fe05682dd5d /app-misc/g810-led
parentapp-misc/g810-led: Bump to 0.3.1 (diff)
downloadgentoo-035bd9316d2b66f6e540ac91fabe5d7db07fa139.tar.gz
gentoo-035bd9316d2b66f6e540ac91fabe5d7db07fa139.tar.bz2
gentoo-035bd9316d2b66f6e540ac91fabe5d7db07fa139.zip
app-misc/g810-led: Remove old (0.2.7)
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'app-misc/g810-led')
-rw-r--r--app-misc/g810-led/Manifest1
-rw-r--r--app-misc/g810-led/files/g810-led-0.2.7-Have_makefile_use_environment.patch63
-rw-r--r--app-misc/g810-led/g810-led-0.2.7.ebuild52
3 files changed, 0 insertions, 116 deletions
diff --git a/app-misc/g810-led/Manifest b/app-misc/g810-led/Manifest
index 2cd4d9065980..e822820b6ca1 100644
--- a/app-misc/g810-led/Manifest
+++ b/app-misc/g810-led/Manifest
@@ -1,2 +1 @@
-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/files/g810-led-0.2.7-Have_makefile_use_environment.patch b/app-misc/g810-led/files/g810-led-0.2.7-Have_makefile_use_environment.patch
deleted file mode 100644
index 249462bbcf0b..000000000000
--- a/app-misc/g810-led/files/g810-led-0.2.7-Have_makefile_use_environment.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/makefile b/makefile
-index 019636d..707517d 100644
---- a/makefile
-+++ b/makefile
-@@ -1,18 +1,18 @@
--CC=g++
--CFLAGS=-Wall -O2 -std=gnu++11
-+CXX?=g++
-+CXXFLAGS?=-Wall -O2
- LIB?=hidapi
- ifeq ($(LIB),libusb)
- CPPFLAGS=-Dlibusb
-- LDFLAGS=-lusb-1.0
-+ LIBS=-lusb-1.0
- else
- CPPFLAGS=-Dhidapi
-- LDFLAGS=-lhidapi-hidraw
-+ LIBS=-lhidapi-hidraw
- endif
- SYSTEMDDIR?=/usr/lib/systemd
-
--prefix?=$(DESTDIR)/usr
--libdir?=$(prefix)/lib
--includedir?=$(prefix)/include
-+PREFIX?=$(DESTDIR)/usr
-+libdir?=$(PREFIX)/lib
-+includedir?=$(PREFIX)/include
-
- # Program & versioning information
- PROGN=g810-led
-@@ -20,7 +20,7 @@ MAJOR=0
- MINOR=2
- MICRO=7
-
--CFLAGS+=-DVERSION=\"$(MAJOR).$(MINOR).$(MICRO)\"
-+CXXFLAGS+=-std=gnu++11 -DVERSION=\"$(MAJOR).$(MINOR).$(MICRO)\"
- APPSRCS=src/main.cpp src/helpers/*.cpp src/helpers/*.h
- LIBSRCS=src/classes/*.cpp src/classes/*.h
-
-@@ -32,19 +32,19 @@ bin: bin/$(PROGN)
-
- bin/$(PROGN): $(APPSRCS) $(LIBSRCS)
- @mkdir -p bin
-- $(CC) $(CPPFLAGS) $(CFLAGS) $^ -o $@ $(LDFLAGS)
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $^ -o $@ $(LIBS)
-
--debug: CFLAGS += -g -Wextra -pedantic
-+debug: CXXFLAGS += -g -Wextra -pedantic
- debug: bin/$(PROGN)
-
- lib/lib$(PROGN).so: $(LIBSRCS)
- @mkdir -p lib
-- $(CC) $(CPPFLAGS) $(CFLAGS) -fPIC -shared -Wl,-soname,lib$(PROGN).so -o lib/lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $^ $(LDFLAGS)
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) -fPIC -shared -Wl,-soname,lib$(PROGN).so -o lib/lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) $^ $(LIBS)
- @ln -sf lib$(PROGN).so.$(MAJOR).$(MINOR).$(MICRO) lib/lib$(PROGN).so
-
- bin-linked: lib/lib$(PROGN).so
- @mkdir -p bin
-- $(CC) $(CPPFLAGS) $(CFLAGS) $(APPSRCS) -o bin/$(PROGN) $(LDFLAGS) -L./lib -l$(PROGN)
-+ $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(LDFLAGS) $(APPSRCS) -o bin/$(PROGN) $(LIBS) -L./lib -l$(PROGN)
-
- lib: lib/lib$(PROGN).so
-
diff --git a/app-misc/g810-led/g810-led-0.2.7.ebuild b/app-misc/g810-led/g810-led-0.2.7.ebuild
deleted file mode 100644
index 9251fa585b85..000000000000
--- a/app-misc/g810-led/g810-led-0.2.7.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit systemd udev eutils
-
-DESCRIPTION="Led controller for Logitech G- 213, 410, 413, 610, 810, 910 and PRO 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")
-
-src_prepare() {
- eapply "${FILESDIR}/g810-led-0.2.7-Have_makefile_use_environment.patch"
- default
-}
-
-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 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
-}