Сравнение spacenavd-0.8 с spacenavd-1.1

/usr/portage/app-misc/spacenavd/spacenavd-1.1.ebuild 2023-10-09 14:52:28.820368333 +0300
1
# Copyright 1999-2021 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 6
inherit flag-o-matic linux-info systemd toolchain-funcs udev
7 7

  
......
11 11
SRC_URI="https://github.com/FreeSpacenav/spacenavd/releases/download/v${PV}/${P}.tar.gz"
12 12
LICENSE="GPL-3"
13 13
SLOT="0"
14
KEYWORDS="amd64 ~arm ~arm64 ppc64 ~riscv x86"
14
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
15 15
IUSE="X"
16 16

  
17 17
RDEPEND="X? (
......
19 19
		x11-base/xorg-proto
20 20
		x11-libs/libX11
21 21
		x11-libs/libXi
22
		x11-libs/libXtst
22 23
	)"
23 24
DEPEND="${RDEPEND}"
24 25

  
25
PATCHES=(
26
	# https://github.com/FreeSpacenav/spacenavd/issues/29
27
	"${FILESDIR}"/${P}-version.patch
28
)
29

  
30 26
pkg_setup() {
31 27
	CONFIG_CHECK="~INPUT_EVDEV"
32 28
	ERROR_CFG="Your kernel needs INPUT_EVDEV for the spacenavd to work properly"
......
50 46
	# Config file
51 47
	insinto /etc
52 48
	newins "${S}/doc/example-spnavrc" spnavrc.sample
49
	newins "${S}/doc/spnavrc_smouse_ent" spnavrc-space-mouse-enterprise.sample
50
	newins "${S}/doc/spnavrc_spilot" spnavrc-space-pilot.sample
53 51

  
54 52
	# Init script
55 53
	newinitd "${FILESDIR}/spnavd" spacenavd
......
65 63
}
66 64

  
67 65
pkg_postinst() {
66
	udev_reload
67

  
68 68
	elog "To start the Spacenav daemon system-wide by default"
69 69
	elog "you should add it to the default runlevel :"
70 70
	elog "\`rc-update add spacenavd default\` (for openRC)"
......
77 77
		elog "\`spnavd_ctl x11 start\`"
78 78
		elog
79 79
	fi
80
	elog
81 80
	elog "If you want to auto-start the daemon when you plug in"
82 81
	elog "a SpaceNavigator device, activate the related udev rule :"
83 82
	elog "\`sudo ln -s $(get_udevdir)/rules.d/99-space-navigator.rules.ignored /etc/udev/rules.d\`"
......
85 84
	ewarn "the new version of the daemon or \`systemctl restart spacenavd\`"
86 85
	ewarn "if using systemd."
87 86
}
87

  
88
pkg_postrm() {
89
	udev_reload
90
}
Спасибо!