Diff xboxdrv-0.8.8_p20190118-r1 with a xboxdrv-0.8.8_p20190118-r2
/usr/portage/games-util/xboxdrv/xboxdrv-0.8.8_p20190118-r2.ebuild 2023-10-09 14:52:31.152368392 +0300 | ||
---|---|---|
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
PYTHON_COMPAT=( python3_{9..10} ) |
|
6 |
PYTHON_COMPAT=( python3_{9..11} ) |
|
7 | 7 | |
8 | 8 |
inherit linux-info python-any-r1 scons-utils toolchain-funcs systemd udev |
9 | 9 | |
10 |
MY_P="${PN}-v$(ver_cut 1-3)" |
|
10 | 11 |
DESCRIPTION="Userspace Xbox 360 Controller driver" |
11 | 12 |
HOMEPAGE="https://xboxdrv.gitlab.io" |
12 |
SRC_URI="https://gitlab.com/xboxdrv/xboxdrv/-/archive/v0.8.8/xboxdrv-v0.8.8.tar.bz2" |
|
13 |
SRC_URI="https://gitlab.com/xboxdrv/${PN}/-/archive/v$(ver_cut 1-3)/${MY_P}.tar.bz2" |
|
14 |
S="${WORKDIR}/${MY_P}" |
|
15 | ||
13 | 16 |
LICENSE="GPL-3" |
14 | 17 |
SLOT="0" |
15 | 18 |
KEYWORDS="~amd64 ~x86" |
... | ... | |
33 | 36 |
virtual/pkgconfig |
34 | 37 |
" |
35 | 38 | |
36 |
S="${WORKDIR}/xboxdrv-v0.8.8" |
|
37 | ||
38 |
PATCHES=( "${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch |
|
39 |
PATCHES=( |
|
40 |
"${FILESDIR}/"xboxdrv-0.8.8-some-boost-fix.patch |
|
39 | 41 |
"${FILESDIR}/"xboxdrv-0.8.8-Update-SConstruct-to-python3.patch |
40 |
"${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch ) |
|
42 |
"${FILESDIR}/"xboxdrv-0.8.8-Updating-python-code-to-python3.patch |
|
43 |
) |
|
41 | 44 | |
42 | 45 |
CONFIG_CHECK="~INPUT_EVDEV ~INPUT_JOYDEV ~INPUT_UINPUT ~!JOYSTICK_XPAD" |
43 | 46 | |
44 | 47 |
pkg_setup() { |
45 | 48 |
linux-info_pkg_setup |
46 |
python_setup |
|
49 |
python-any-r1_pkg_setup |
|
47 | 50 |
} |
48 | 51 | |
49 | 52 |
src_compile() { |
... | ... | |
74 | 77 |
pkg_postinst() { |
75 | 78 |
udev_reload |
76 | 79 |
} |
80 | ||
81 |
pkg_postrm() { |
|
82 |
udev_reload |
|
83 |
} |