Сравнение accountsservice-23.13.9 с accountsservice-26.27.3

/usr/portage/sys-apps/accountsservice/accountsservice-26.27.3.ebuild 2026-10-13 20:03:07.305246296 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
PYTHON_COMPAT=( python3_{11..14} )
5

  
6
PYTHON_COMPAT=( python3_{12..15} )
6 7
inherit locale-utils meson python-any-r1 systemd vala
7 8

  
8 9
DESCRIPTION="D-Bus interfaces for querying and manipulating user account information"
9
HOMEPAGE="https://www.freedesktop.org/wiki/Software/AccountsService/ https://gitlab.freedesktop.org/accountsservice/accountsservice"
10
SRC_URI="https://www.freedesktop.org/software/${PN}/${P}.tar.xz"
10
HOMEPAGE="https://gitlab.freedesktop.org/accountsservice/accountsservice"
11
SRC_URI="https://gitlab.freedesktop.org/accountsservice/accountsservice/-/archive/${PV}/${P}.tar.bz2"
11 12

  
12 13
LICENSE="GPL-3+"
13
SLOT="0"
14
SLOT="0/1"
14 15
KEYWORDS="~alpha amd64 arm arm64 ~loong ppc ppc64 ~riscv ~sparc x86"
15 16

  
16
IUSE="doc elogind gtk-doc +introspection selinux systemd test vala"
17
IUSE="doc elogind gtk-doc +introspection selinux systemd test vala xcrypt"
17 18
RESTRICT="!test? ( test )"
18 19
REQUIRED_USE="^^ ( elogind systemd )"
19 20

  
20 21
CDEPEND="
21
	>=dev-libs/glib-2.63.5:2
22
	>=dev-libs/glib-2.70:2
22 23
	sys-auth/polkit
24
	>=dev-libs/json-c-0.15
23 25
	virtual/libcrypt:=
24 26
	elogind? ( >=sys-auth/elogind-229.4 )
25 27
	introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= )
26 28
	systemd? ( >=sys-apps/systemd-186:0= )
29
	xcrypt? ( sys-libs/libxcrypt )
27 30
"
28 31
DEPEND="${CDEPEND}
29 32
	sys-apps/dbus
......
55 58

  
56 59
PATCHES=(
57 60
	"${FILESDIR}"/${PN}-22.04.62-gentoo-system-users.patch
58
	"${FILESDIR}"/${PN}-23.13.9-generate-version.patch #905770
59
	# From Alpine Linux
60
	# https://gitlab.freedesktop.org/accountsservice/accountsservice/-/merge_requests/97
61
	"${FILESDIR}"/${PN}-23.13.9-musl-fixes.patch
62
	"${FILESDIR}"/${PN}-23.13.9-c99-fixes.patch #930715
63
	"${FILESDIR}"/${PN}-23.13.9-test-fix.patch
64 61
)
65 62

  
66 63
python_check_deps() {
......
80 77
}
81 78

  
82 79
src_configure() {
83
	# No option to disable tests
84
	if ! use test; then
85
		sed -e "/subdir('tests')/d" -i meson.build || die
86
	fi
87

  
88 80
	local emesonargs=(
89 81
		--localstatedir="${EPREFIX}/var"
90 82
		-Dsystemdsystemunitdir="$(systemd_get_systemunitdir)"
83
		-Dwtmpfile=/var/log/wtmp
91 84
		-Dadmin_group="wheel"
85
		-Dcreate_homed=false
92 86
		$(meson_use elogind)
93 87
		$(meson_use introspection)
94 88
		$(meson_use doc docbook)
95 89
		$(meson_use gtk-doc gtk_doc)
90
		$(meson_use test tests)
96 91
		$(meson_use vala vapi)
92
		$(meson_use xcrypt libxcrypt)
97 93
	)
98 94
	meson_src_configure
99 95
}
......
115 111

  
116 112
	# This directories are created at runtime when needed
117 113
	rm -r "${ED}"/var/lib || die
114

  
115
	newinitd "${FILESDIR}"/accounts-daemon.initd accounts-daemon
118 116
}
Спасибо!