Diff libratbag-0.17-r2 with a libratbag-0.18

/usr/portage/dev-libs/libratbag/libratbag-0.18.ebuild 2026-09-28 20:03:05.347111579 +0300
1
# Copyright 1999-2025 Gentoo Authors
1
# Copyright 1999-2026 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
PYTHON_COMPAT=( python3_12 )
6
PYTHON_COMPAT=( python3_{12..14} )
7 7

  
8 8
inherit linux-info meson python-single-r1 systemd udev
9 9

  
......
70 70
CONFIG_CHECK="~HIDRAW"
71 71

  
72 72
PATCHES=(
73
	"${FILESDIR}"/${PN}-0.17-python3.12-imp.patch
74 73
	"${FILESDIR}"/${PN}-0.17-basename.patch
74
	"${FILESDIR}"/${PN}-0.18-swig-4.5.patch
75 75
)
76 76

  
77 77
pkg_setup() {
......
105 105
	meson_src_configure
106 106
}
107 107

  
108
src_test() {
109
	# ratbagctl-test writes a "devel" D-Bus policy to the build host. Note that
110
	# test must be run as root with FEATURES="-userpriv" or it is skipped.
111
	SANDBOX_WRITE+=":${EPREFIX}/etc/dbus-1/system.d" meson_src_test
112
}
113

  
108 114
src_install() {
109 115
	meson_src_install
110 116
	python_fix_shebang "${ED}"/usr/bin/
111
	newinitd "${FILESDIR}"/ratbagd.init ratbagd
117
	newinitd "${FILESDIR}"/ratbagd.init-r1 ratbagd
112 118
}
113 119

  
114 120
pkg_postinst() {
Thank you!