summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2021-03-28 13:24:39 +0200
committerConrad Kostecki <conikost@gentoo.org>2021-03-28 13:34:10 +0200
commit04f3bb291a3692445a27b21c084c15c62db5891b (patch)
tree52e7e8bfc978d313fe36b5276ce68239247e302c /app-misc/logiops
parentapp-crypt/gnupg: stable 2.2.27 for sparc, bug #777876 (diff)
downloadgentoo-04f3bb291a3692445a27b21c084c15c62db5891b.tar.gz
gentoo-04f3bb291a3692445a27b21c084c15c62db5891b.tar.bz2
gentoo-04f3bb291a3692445a27b21c084c15c62db5891b.zip
app-misc/logiops: bump to version 0.2.3
Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'app-misc/logiops')
-rw-r--r--app-misc/logiops/Manifest1
-rw-r--r--app-misc/logiops/logiops-0.2.3.ebuild50
2 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/logiops/Manifest b/app-misc/logiops/Manifest
index 44c99f607fd8..8219862aa42f 100644
--- a/app-misc/logiops/Manifest
+++ b/app-misc/logiops/Manifest
@@ -1,2 +1,3 @@
DIST logiops-0.2.2.tar.gz 64350 BLAKE2B 84a8a0a7efd9c1cb87f78ad8bb685f75f34952a95879d93a4db6782dcc1b416a28402cd68affdea25c127013be801a819bbf91a614718ec413374c47c8282c34 SHA512 49803fe383b04a3c6cb6b1d094c73b29dd30534c8faad0ff1a0b3a35cf031c8b2751d1368d6bb2fcb1be84c83a97b70bc31a0fad1e898904b5371a210a6e88f5
DIST logiops-0.2.2_p20200108.tar.gz 69366 BLAKE2B 3a688123c6167ec365c2f538c8f36818662bf63f3b1cd98e26bb4fd32eaa6e026b3e1b9e8dc116a6b6988d7abcd34fe7506329a9453bbd678bbf6b0ec53fd4f5 SHA512 5072f85f7c9c2505a8e3e5e089383a22c6ff659ece35f6761f77c2b3c7bd65a8ace7351cefb387a46c2d9e1a904573c96bf5ef3d11f12300b699c1df2ffae3d1
+DIST logiops-0.2.3.tar.gz 69321 BLAKE2B f188c39bcf4a9d386a34a97612fed45db1bf93858717d4c6fc4ba08a78acd1ae020cef875421d4131cdc3f0219c848c67b7793888ac13e064539ebea293b4afd SHA512 5a7b7e76a89759a30e25da6117992e96d0a1a0db25af3d524d725e753fb5ce5fc67c8a5bdeb8b707a81f99eadfc8f24035a3a5e4544b1153bdedd2373a65173d
diff --git a/app-misc/logiops/logiops-0.2.3.ebuild b/app-misc/logiops/logiops-0.2.3.ebuild
new file mode 100644
index 000000000000..f5d596d792a9
--- /dev/null
+++ b/app-misc/logiops/logiops-0.2.3.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake linux-info
+
+DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices"
+HOMEPAGE="https://github.com/PixlOne/logiops"
+SRC_URI="https://github.com/PixlOne/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+DEPEND="
+ dev-libs/libconfig:=[cxx]
+ dev-libs/libevdev
+ virtual/libudev
+ systemd? ( sys-apps/systemd )
+"
+
+RDEPEND="${DEPEND}"
+
+BDEPEND="virtual/pkgconfig"
+
+DOCS=( "README.md" "TESTED.md" )
+
+pkg_pretend() {
+ local CHECK_CONFIG="~HID_LOGITECH ~HID_LOGITECH_HIDPP"
+
+ check_extra_config
+}
+
+src_install() {
+ default
+
+ cmake_src_install
+
+ insinto /etc
+ newins logid.example.cfg logid.cfg
+
+ newinitd "${FILESDIR}"/logid.initd logid
+}
+
+pkg_postinst() {
+ einfo "An example config file has been installed as /etc/logid.cfg."
+ einfo "See https://github.com/PixlOne/logiops/wiki/Configuration for more information."
+}