summaryrefslogtreecommitdiff
path: root/virtual/libudev/libudev-251-r1.ebuild
blob: 1183b41786fc87a4235fe77d26f60209971bceff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit multilib-build

DESCRIPTION="Virtual for libudev providers"

SLOT="0/1"
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 sparc x86"
IUSE="eudev +sticky-tags systemd"
REQUIRED_USE="
	?? ( eudev systemd )
	eudev? ( !sticky-tags )
"

# eudev does not provide v251 APIs, see
# https://github.com/eudev-project/eudev/issues/249
RDEPEND="
	!systemd? (
		eudev? ( sys-fs/eudev[${MULTILIB_USEDEP}] )
		!eudev? ( >=sys-apps/systemd-utils-251[udev,${MULTILIB_USEDEP}] )
	)
	systemd? ( >=sys-apps/systemd-251:0/2[${MULTILIB_USEDEP}] )
"