Install this version:
emerge -a =app-misc/logiops-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-misc/logiops-9999
Or alternatively:
emerge --autounmask-write -a =app-misc/logiops-9999
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake linux-info
DESCRIPTION="An unofficial userspace driver for HID++ Logitech devices"
HOMEPAGE="https://github.com/PixlOne/logiops"
if [[ "${PV}" == 9999 ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/PixlOne/logiops.git"
S="${WORKDIR}/${P}"
else
SRC_URI="https://github.com/PixlOne/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3+"
SLOT="0"
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."
}
Manage flags for this package:
euse -i <flag> -p app-misc/logiops |
euse -E <flag> -p app-misc/logiops |
euse -D <flag> -p app-misc/logiops
dev-libs/libconfig:=[cxx] dev-libs/libevdev virtual/libudev systemd? ( sys-apps/systemd )
dev-libs/libconfig:=[cxx] dev-libs/libevdev virtual/libudev systemd? ( sys-apps/systemd )
virtual/pkgconfig