Diff msi-keyboard-1.0 with a msi-keyboard-1.0-r1

/usr/portage/app-laptop/msi-keyboard/msi-keyboard-1.0-r1.ebuild 2023-10-09 14:52:28.772368332 +0300
1
# Copyright 1999-2019 Gentoo Authors
1
# Copyright 1999-2022 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit udev
6
inherit toolchain-funcs udev
7 7

  
8 8
DESCRIPTION="Control backlight of MSI laptop keyboards"
9 9
HOMEPAGE="https://github.com/makkarpov/msi-keyboard"
......
14 14
KEYWORDS="~amd64"
15 15

  
16 16
RDEPEND="dev-libs/hidapi"
17
DEPEND="${RDEPEND}"
17 18

  
18 19
PATCHES=(
19
	"${FILESDIR}"/${P}-makefile.patch
20
	"${FILESDIR}"/${P}-r1-makefile.patch
21
	"${FILESDIR}"/${P}-gcc12.patch
20 22
)
21 23

  
24
src_configure() {
25
	tc-export CXX
26
}
27

  
22 28
src_install() {
23 29
	udev_dorules 99-msi-keyboard.rules
24
	udev_reload
25 30
	dobin msi-keyboard
26 31
}
32

  
33
pkg_prerm() {
34
	udev_reload
35
}
36

  
37
pkg_postrm() {
38
	udev_reload
39
}
Thank you!