Diff udisks-2.9.4-r3 with a udisks-2.10.0

/usr/portage/sys-fs/udisks/udisks-2.10.0.ebuild 2023-10-09 14:52:35.524368502 +0300
1 1
# Copyright 1999-2023 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
inherit autotools bash-completion-r1 linux-info systemd tmpfiles udev xdg-utils
6 6

  
7 7
DESCRIPTION="Daemon providing interfaces to work with storage devices"
......
10 10

  
11 11
LICENSE="LGPL-2+ GPL-2+"
12 12
SLOT="2"
13
KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv sparc x86"
14
IUSE="acl +daemon debug elogind +introspection lvm nls selinux systemd vdo zram"
13
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~loong ~mips ~ppc64 ~riscv ~x86"
14
IUSE="acl +daemon debug elogind +introspection lvm nls selinux systemd"
15 15

  
16 16
REQUIRED_USE="
17 17
	?? ( elogind systemd )
18 18
	elogind? ( daemon )
19 19
	systemd? ( daemon )
20
	zram? ( systemd )
21 20
"
22 21

  
23 22
# See configure.ac file for the required min version
24
BLOCKDEV_MIN_VER="2.25"
23
BLOCKDEV_MIN_VER="3.0"
25 24

  
26
# <libblockdev-3 dep for bug #910077, should go away with udisks-2.10
27 25
COMMON_DEPEND="
28
	>=sys-auth/polkit-0.114
29
	>=sys-libs/libblockdev-${BLOCKDEV_MIN_VER}:=[cryptsetup,lvm?,vdo(-)?]
30
	<sys-libs/libblockdev-3[cryptsetup,lvm?,vdo(-)?]
26
	>=sys-auth/polkit-0.114[daemon]
27
	>=sys-libs/libblockdev-${BLOCKDEV_MIN_VER}:=[cryptsetup,lvm?,nvme]
31 28
	virtual/udev
32 29
	acl? ( virtual/acl )
33 30
	daemon? (
34
		>=dev-libs/glib-2.50:2
31
		>=dev-libs/glib-2.68:2
35 32
		>=dev-libs/libatasmart-0.19
36 33
		>=dev-libs/libgudev-165:=
37 34
	)
......
39 36
	introspection? ( >=dev-libs/gobject-introspection-1.30:= )
40 37
	lvm? ( sys-fs/lvm2 )
41 38
	systemd? ( >=sys-apps/systemd-209 )
42
	zram? ( >=sys-libs/libblockdev-${BLOCKDEV_MIN_VER}[kbd(-)] )
43 39
"
44 40
# util-linux -> mount, umount, swapon, swapoff (see also #403073)
45 41
RDEPEND="${COMMON_DEPEND}
......
56 52
	>=dev-util/gtk-doc-am-1.3
57 53
	virtual/pkgconfig
58 54
	nls? ( >=sys-devel/gettext-0.19.8 )
55
	dev-libs/gobject-introspection-common
56
	sys-devel/autoconf-archive
59 57
"
60 58
# If adding a eautoreconf, then these might be needed at buildtime:
61 59
# dev-libs/gobject-introspection-common
......
63 61

  
64 62
DOCS=( AUTHORS HACKING NEWS README.md )
65 63

  
66
PATCHES=(
67
	"${FILESDIR}/${P}-undefined.patch" # 782061
68
)
69

  
70 64
pkg_setup() {
71 65
	# Listing only major arch's here to avoid tracking kernel's defconfig
72 66
	if use amd64 || use arm || use ppc || use ppc64 || use x86; then
......
106 100
		$(use_enable debug)
107 101
		$(use_enable introspection)
108 102
		$(use_enable lvm lvm2)
109
		$(use_enable lvm lvmcache)
110 103
		$(use_enable nls)
111
		$(use_enable vdo)
112
		$(use_enable zram)
113 104
	)
114 105
	econf "${myeconfargs[@]}"
115 106
}
Thank you!