mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 06:32:59 -04:00
games-util/hid-nintendo: update EAPI 7 -> 8
Signed-off-by: Florian Albrechtskirchinger <falbrechtskirchinger@gmail.com>
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
EAPI=8
|
||||
|
||||
inherit git-r3 linux-mod
|
||||
inherit git-r3 linux-mod-r1
|
||||
|
||||
DESCRIPTION="A Nintendo HID kernel module"
|
||||
HOMEPAGE="https://github.com/nicman23/dkms-hid-nintendo https://github.com/DanielOgorchock/linux"
|
||||
@@ -12,11 +12,16 @@ EGIT_REPO_URI="https://github.com/nicman23/dkms-hid-nintendo"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
MODULE_NAMES="${PN}(kernel/drivers/hid:${S}/src)"
|
||||
BUILD_TARGETS="-C /usr/src/linux M=${S}/src"
|
||||
CONFIG_CHECK="~HID ~HID_GENERIC ~USB_HID ~HIDRAW ~UHID"
|
||||
|
||||
pkg_setup() {
|
||||
CONFIG_CHECK="~HID ~HID_GENERIC ~USB_HID ~HIDRAW ~UHID"
|
||||
check_extra_config
|
||||
linux-mod_pkg_setup
|
||||
src_prepare() {
|
||||
default
|
||||
sed -i 's|<asm/unaligned.h>|<linux/unaligned.h>|' src/hid-nintendo.c || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local modlist=( src/hid-nintendo="${S}/src" )
|
||||
local modargs=( -C "${KV_DIR}" M="${S}/src" )
|
||||
|
||||
linux-mod-r1_src_compile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user