Install this version:
emerge -a =games-util/new-lg4ff-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =games-util/new-lg4ff-9999
Or alternatively:
emerge --autounmask-write -a =games-util/new-lg4ff-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 7 | ~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 | 0 |
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit linux-mod toolchain-funcs
DESCRIPTION="Experimental Logitech force feedback module"
HOMEPAGE="https://github.com/berarma/new-lg4ff"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/berarma/${PN}"
KEYWORDS=""
else
SRC_URI="https://github.com/berarma/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
RESTRICT="mirror"
fi
LICENSE="GPL-2"
SLOT="0"
IUSE="" # dkms
DEPEND=""
RDEPEND="${DEPEND}"
MODULE_NAMES="hid-logitech-new(kernel/drivers/hid:.:.)"
BUILD_TARGETS="default"
CONFIG_CHECK=""
src_prepare() {
eapply_user
sed -i 's!KDIR := .*!KDIR := /lib/modules/'"${KV_FULL}"'/build!g' Makefile
}